Obtain the system and the method thereof of power quality data from the intelligent electric meter management system
Technical field
The present invention relates to a kind of system and method that obtains power quality data, relate in particular to a kind of system and method thereof that obtains power quality data from the intelligent electric meter management system.
Background technology
The quality of power supply (Power Quality) is meant quality supply from universal significance, comprises quality of voltage, electric current quality, power supply quality and uses electricity quality.It can be defined as: cause the deviation of voltage, electric current or the frequency of power consumption equipment fault or cisco unity malfunction, its content comprises frequency departure, voltage deviation, voltage fluctuation and flicker, three-phase imbalance, temporary transient or transient overvoltage, wave distortion (harmonic wave), voltage dip, interruption, rises and power supply continuity etc. temporarily.
In recent years along with rapid development of economy, electric load increases swift and violent, increasingly sophisticatedization of power load and variation, the abundant application apparatus of more and more non-linear, impact, imbalance and harmonic wave inserts electrical network in succession, all can have influence on the quality of power supply of power supply grid to some extent.Monitoring means imperfection and operation, external interference and various failure and other reasons in addition, power quality problem becomes increasingly conspicuous.
In order to improve the quality of power supply, what mainly adopt at present is electric energy quality monitoring system (being called for short PQMS), this system needs to monitor a large amount of supplemental characteristics in process of construction, electric energy quality monitoring system obtains each supplemental characteristic at present all needs by special energy monitor equipment for this supplemental characteristic installation, supplemental characteristics such as the fundamental voltage on for example a large amount of circuits, electric current, harmonic wave, phase place, frequency, power, incident, each supplemental characteristic all needs to install special monitoring equipment, and the software of the special use that carries by energy monitor equipment obtains data.Cause a large amount of monitoring equipment of needs to obtain the required supplemental characteristic of electric energy quality monitoring system like this, because the quantity of monitoring equipment is many, caused cost higher, therefore only be that a spot of circuit has been installed the required special-purpose energy monitor equipment of these parameters at present, the power quality parameter information of other circuit that special-purpose energy monitor equipment is not installed can't directly be obtained, thereby the accuracy of electric energy quality monitoring system analysis-by-synthesis, integrality can't be guaranteed.
Summary of the invention
The objective of the invention is to overcome the defective of prior art, and provide a kind of system and method thereof of obtaining power quality data from the intelligent electric meter management system, the present invention can obtain data on the circuit that power quality monitoring device is not installed, thereby reduce cost, guarantee that the power quality data collection is complete fully, satisfy the requirement of electrical network quality of power supply supervision and management.
The technical scheme that realizes above-mentioned purpose is:
A kind of system that obtains power quality data from the intelligent electric meter management system of one of the present invention, comprise electric energy quality monitoring system, wherein, also comprise one by the first continuous successively network, first fire compartment wall, the intelligent electric meter management system that second fire compartment wall and second network link to each other with described electric energy quality monitoring system, also be connected with a client computer on described second network, described electric energy quality monitoring system comprises an electric energy quality monitoring system database server and an electric energy quality monitoring system application server, described intelligent electric meter management system comprises an intelligent electric meter Management System Data storehouse server and an intelligent electric meter management system application server, wherein:
Described intelligent electric meter Management System Data storehouse server links to each other with described first network, and it is used to store the data of intelligent electric meter management system, and it comprises an intelligent electric meter Management System Data storehouse;
Described intelligent electric meter management system application server is connected with intelligent electric meter Management System Data storehouse server by described first network, and data-interface externally is provided, the data in intelligent electric meter Management System Data storehouse are provided to other peripheral systems by the data-interface that provides;
Described electric energy quality monitoring system database server links to each other with described second network, and it is used for the data of storage of electrical energy mass monitoring system, and it comprises an electric energy quality monitoring system database;
Described electric energy quality monitoring system application server obtains the data of the required quality of power supply in the intelligent electric meter Management System Data storehouse by second network, and with this storage in described electric energy quality monitoring system database server;
Described client computer links to each other with described second network, shows the data in the described electric energy quality monitoring system database server.
Above-mentioned obtain the system of power quality data from the intelligent electric meter management system, wherein, described electric energy quality monitoring system application server comprises data interface module, data management module, data writing module and the data disaply moudle that links to each other successively, wherein:
Described data interface module is used to connect and registers the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Described data management module reads the information of management equipment needed thereby, successfully after the registration, utilizes the initialization of context initialization function to read required system environments, obtains data with interface function;
Described data writing module connects, registration electric energy quality monitoring system database, and the data message that obtains from intelligent electric meter Management System Data storehouse is deposited in the electric energy quality monitoring system database;
Described data disaply moudle is obtained data according to the condition that the user sets from the electric energy quality monitoring system database, and the data that obtain show in client computer through preliminary treatment.
The present invention two a kind of based on claim 1 obtain the method for power quality data from the intelligent electric meter management system, wherein, it may further comprise the steps:
At first, the com interface in the outbound data service that electric energy quality monitoring system is provided by the intelligent electric meter management system is set up the interface between electric energy quality monitoring system and the intelligent electric meter management system;
Then, obtain the power station of intelligent electric meter management system and the information of bus by the interface of setting up;
At last, obtain Monitoring Data from the intelligent electric meter management system by power station and bus information, and with in the database in the data importing electric energy quality monitoring system.
Above-mentioned obtain the method for power quality data, wherein, obtain by the interface of setting up to may further comprise the steps in the information step of the power station of intelligent electric meter management system and bus from the intelligent electric meter management system:
Step S11, initialization step, promptly initialization system obtains the predetermined system parameter information;
Step S12, waiting step, waiting system enter step S13;
Step S13 judges whether update date, i.e. whether the regular inquiry of system arrives update date,
If then enter S14;
If not then continuing to return step S12, continue to wait for;
Step S14, step connects, connect and register the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Step S15, obtain intelligent electric meter management system power station, bus information step, read the information of management equipment needed thereby, after success is registered, utilize the initialization of context initialization function to read required system environments, obtain data with interface function, promptly send request, obtain power station, bus information to the intelligent electric meter management system;
Step S16 judges whether successfully to obtain data,
If then the information that reads is recombinated, be organized into the data that conform with the electric energy quality monitoring system requirement, enter step S17 then;
If otherwise turn back to step S12;
Step S17, step of updating connects, registers the electric energy quality monitoring system database, and the data message that obtains is deposited in the electric energy quality monitoring system database, returns step S12 then.
Above-mentioned obtain the method for power quality data, wherein, obtain the Monitoring Data step from the intelligent electric meter management system, may further comprise the steps by power station and bus information from the intelligent electric meter management system:
Step S20, initialization step, promptly initialization system obtains the predetermined system parameter information;
Step S21, waiting step, waiting system enter step S22;
Step S22 judges whether update date, i.e. whether the regular inquiry of system arrives update date,
If then enter S23;
If not then continuing to return step S21, continue to wait for;
Step S23 connects database steps, promptly connects the electric energy quality monitoring system database;
Step S24 obtains the id information step of equipment needed thereby, promptly obtains the id information of the equipment of the required monitoring of electric energy quality monitoring system;
Step S25, step connects, connect and register the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Step S26, forwarding step is to the id information of intelligent electric meter management system transmitting apparatus;
Step S27, obtain intelligent electric meter management system monitors data message step, read the information of management equipment needed thereby, utilize the initialization of context initialization function to read required system environments, send power station, bus solicited message to the intelligent electric meter management system, obtain the monitoring of equipment data message with interface function;
Step S28 judges whether successfully to obtain data,
If then the information that reads is recombinated, be organized into the data that conform with the electric energy quality monitoring system requirement, enter step S29 then;
If otherwise turn back to step S21;
Step S29, step of updating connects, registers the electric energy quality monitoring system database, and the data message that obtains is deposited in the electric energy quality monitoring system database, and more the power station of new database, bus data are returned step S21 then.
The invention has the beneficial effects as follows: because the intelligent electric meter management system of existing intelligent electric meter management system such as Shanghai Power Company is the fundamental voltage electric current of required a large amount of circuits, phase place, frequency, power, incidents etc. have been equipped with monitoring equipment, therefore the present invention adopts electric energy quality monitoring system (PQMS) directly to obtain these power quality datas from the method for intelligent electric meter management system acquisition information needed, this method can reduce cost, guarantee that the power quality data collection is complete fully, data statistic analysis is scientific and reasonable, data are issued promptly and accurately, thereby satisfy the requirement of electrical network quality of power supply supervision and management.
Description of drawings
Fig. 1 is obtaining from the structural representation of the system of intelligent electric meter management system power quality data of one of the present invention;
Fig. 2 be one of the present invention obtain the structural representation of the quality of power supply management system application server the system of power quality data from the intelligent electric meter management system;
Fig. 3 be the present invention two obtain the flow chart that interface that passing through the method for power quality data set up obtains the information step of the power station of intelligent electric meter management system and bus from the intelligent electric meter management system;
Fig. 4 be the present invention two pass through power station and bus information are obtained the Monitoring Data step from the intelligent electric meter management system flow chart.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
See also Fig. 1, there is shown a kind of system that obtains power quality data from the intelligent electric meter management system of one of the present invention, comprise electric energy quality monitoring system, also comprise one by the first continuous successively network 3, first fire compartment wall 4, the intelligent electric meter management system that second fire compartment wall 5 and second network 6 link to each other with electric energy quality monitoring system, also be connected with a client computer on second network 6, electric energy quality monitoring system comprises an electric energy quality monitoring system database server 7 and an electric energy quality monitoring system application server 8, the intelligent electric meter management system comprises an intelligent electric meter Management System Data storehouse server 1 and an intelligent electric meter management system application server 2, wherein:
Intelligent electric meter Management System Data storehouse server 1 links to each other with first network 3, and it is used to store the data of intelligent electric meter management system, and it comprises an intelligent electric meter Management System Data storehouse (not shown);
Intelligent electric meter management system application server 2 is connected with intelligent electric meter Management System Data storehouse server 1 by first network 3, and data-interface externally is provided, the data in intelligent electric meter Management System Data storehouse are provided to other peripheral system's (not shown)s by the data-interface that provides;
Electric energy quality monitoring system database server 7 links to each other with second network 6, and it is used for the data of storage of electrical energy mass monitoring system, and it comprises an electric energy quality monitoring system database (not shown);
Electric energy quality monitoring system application server 8 obtains the data of the required electric energy quality monitoring system in intelligent electric meter Management System Data storehouses by second network 6, and with this storage in electric energy quality monitoring system database server 7;
Client computer 9 links to each other with second network 6, shows the data in the electric energy quality monitoring system database server 7.
See also Fig. 2, what there is shown one of the present invention obtains the electric energy quality monitoring system application server 8 of power quality data from the intelligent electric meter management system, it comprises data interface module 81, data management module 82, data writing module 83 and the data disaply moudle 84 that links to each other successively, wherein:
Data interface module 81 is used to connect and registers the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Data management module 82 reads the information of management equipment needed thereby, successfully after the registration, utilizes the initialization of context initialization function to read required system environments, obtains data with interface function, and this context initialization function and interface function are disclosed function;
Data writing module 83 connects, registration electric energy quality monitoring system database, and the data message that obtains from intelligent electric meter Management System Data storehouse is deposited in the electric energy quality monitoring system database;
Data disaply moudle 84 is obtained data according to the condition that the user sets from the electric energy quality monitoring system database, and the data that obtain show in client through preliminary treatment, and this pretreatment operation is meant analyzes data and add up.
A kind of method of obtaining power quality data of two of the present invention based on claim 1, it may further comprise the steps:
At first, the com interface in the outbound data service that electric energy quality monitoring system is provided by the intelligent electric meter management system is set up the interface between electric energy quality monitoring system and the intelligent electric meter management system;
Then, obtain the power station of intelligent electric meter management system and the information of bus by the interface of setting up;
At last, obtain Monitoring Data from the intelligent electric meter management system by power station and bus information, and with in the database in the data importing electric energy quality monitoring system.
See also Fig. 3, there is shown the flow chart that obtains the information step of the power station of intelligent electric meter management system and bus by the interface of setting up, may further comprise the steps:
Step S11, initialization step, promptly initialization system obtains the predetermined system parameter information;
Step S12, waiting step, waiting system enter step S13;
Step S13 judges whether update date, i.e. whether the regular inquiry of system arrives update date,
If then enter S14;
If not then continuing to return step S12, continue to wait for;
Step S14, step connects, connect and register the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Step S15, obtain intelligent electric meter management system power station, bus information step, read the information of management equipment needed thereby, after success is registered, utilize the initialization of context initialization function to read required system environments, obtain data with interface function, promptly send request, obtain power station, bus information to the intelligent electric meter management system;
Step S16 judges whether successfully to obtain data,
If then the information that reads is recombinated, be organized into the data that conform with the electric energy quality monitoring system requirement, enter step S17 then;
If otherwise turn back to step S12;
Step S17, step of updating connects, registers the electric energy quality monitoring system database, and the data message that obtains is deposited in the electric energy quality monitoring system database, returns step S12 then.
See also Fig. 4, there is shown by power station and bus information and obtain the flow chart of Monitoring Data step, may further comprise the steps from the intelligent electric meter management system:
Step S20, initialization step, promptly initialization system obtains the predetermined system parameter information;
Step S21, waiting step, waiting system enter step S22;
Step S22 judges whether update date, i.e. whether the regular inquiry of system arrives update date,
If then enter S23;
If not then continuing to return step S21, continue to wait for;
Step S23 connects database steps, promptly connects the electric energy quality monitoring system database;
Step S24 obtains the I D information step of equipment needed thereby, promptly obtains the id information of the equipment of the required monitoring of electric energy quality monitoring system;
Step S25, step connects, connect and register the intelligent electric meter management system, com interface in the outbound data service that provides according to the intelligent electric meter management system is set up and being connected of intelligent electric meter management system, provide log-on message to the intelligent electric meter management system, the user profile of setting operation;
Step S26, forwarding step is to the id information of intelligent electric meter management system transmitting apparatus;
Step S27, obtain intelligent electric meter management system monitors data message step, read the information of management equipment needed thereby, utilize the initialization of context initialization function to read required system environments, send power station, bus solicited message to the intelligent electric meter management system, obtain the monitoring of equipment data message with interface function;
Step S28 judges whether successfully to obtain data,
If then the information that reads is recombinated, be organized into the data that conform with the electric energy quality monitoring system requirement, enter step S29 then;
If otherwise turn back to step S21;
Step S29, step of updating connects, registers the electric energy quality monitoring system database, and the data message that obtains is deposited in the electric energy quality monitoring system database, and more the power station of new database, bus data are returned step S21 then.
Below embodiment has been described in detail the present invention in conjunction with the accompanying drawings, and those skilled in the art can make the many variations example to the present invention according to the above description.Thereby some details among the embodiment should not constitute limitation of the invention, and the scope that the present invention will define with appended claims is as protection scope of the present invention.