Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention provides a kind of electric energy meter detection method and system, the embodiment of the invention is elaborated below in conjunction with accompanying drawing.
The invention provides a kind of electric energy meter detection system, as shown in Figure 3, described system comprises: instruction sending unit 301, count command sending unit 302, reply data receiving element 303 and data analysis unit 304.
Instruction sending unit 301 is used for sending the time parameter that comprises electric weight clearing frequency n, electric weight name day, electric energy meter time to described electric energy meter instruction and/or load simulation instruction is set, so that described electric energy meter generates name day information about power and load simulation recorded information.
Preferably, the name day number of times can be made as 3 times, and the name day was made as 28.Its implication is exactly 28 days every month 0 points, carries out lump-sum settlement, freezes the electric quantity data of electric energy meter at that time and is kept in the electric energy meter, and frozen electric quantity data can be read by the freeze command in the electric energy meter.If the clearing number of times is made as 3 times, such electric quantity data that freezes is saved 3.
The time of electric energy meter time can be located at a certain moment before the name day, the for example a certain name day is on September 28th, 2009, can be made as 23: 58 on the 27th September in 2009 time of electric energy meter, electric energy meter was made as 4 minutes working time, and chill point 0 electric quantity data on September 28th, 2009 is with frozen like this.The embodiment of the invention can be set the time of electric energy meter before each name day.
The load simulation instruction comprises power supply decompression, the phase failure and/or three-phase imbalance instruction etc., change output three-phase voltage and electric current according to instruction, the simulated field actual conditions are made variety of event, make electric energy meter possess decompression, the phase failure and/or imbalance situations such as (referring to voltage, current imbalance).
Count command sending unit 302 and be used for to count order, to obtain described name day information about power and load simulation recorded information to described electric energy meter transmission.
Described electric energy meter is provided with instruction and load simulation instruction according to time parameter, generate name day information about power and load simulation recorded information, electric quantity data and decompression, the phase failure and/or the three-phase imbalance information of record name day, for example write down chill point 0 electric quantity data on September 28th, 2009 and be 52 degree, the A in 0: 5: 23 on the 28th September in 2009 the ABC three-phase disconnects mutually.
Count command sending unit 302 and will count order, inform that described electric energy meter sends electric quantity data and the information such as decompression, the phase failure and/or three-phase imbalance of the name day of record to described electric energy meter transmission.
Reply data receiving element 303 is used to receive described electric energy meter will count the reply data that comprises name day information about power and load simulation recorded information that order sends according to described.Reply data is electric quantity data and the information such as decompression, the phase failure and/or three-phase imbalance of the name day of record.
Reply data receiving element 303 receives after the reply data, name day information about power and load simulation recorded information that data analysis unit 304 is analyzed in the described reply data, and generate analysis result.
Data analysis unit 304 specifically is used for the name day electric weight of more described name day information about power whether in the power threshold scope that allows; Whether the load simulation in the more described load simulation recorded information is consistent with the load simulation time in the load simulation instruction writing time.
Fig. 4 is an embodiment of the invention electric energy meter detection platform synoptic diagram.As shown in Figure 4, test computer 401 comprises data detection module 402, is used for sending load simulation instruction and time parameter setting instruction to electric energy meter.Instruction is set time parameter and the load simulation instruction sends to HUB by network interface and serial line interface respectively, terminal server 407 is converted to serial ports with network interface, through the RS485 converter time parameter is provided with instruction then and sends to electric energy meter 406, electric energy meter 406 can have a plurality of.The load simulation instruction also can send to program control three-phase supply 405 by serial line interface, and control three-phase programmable power supply carries out operations such as the phase failure, decompression, operations such as the phase failure of control electric energy meter, decompression.Data detection module 402 is also controlled simulation main website (data collection station) 404 of test computer 401 will count order to electric energy meter 406 transmissions, and electric energy meter 406 is according to counting order echo reply data.Simulation main website 404 receives the reply data that electric energy meters 406 return, and sends to 402 pairs of data of data detection module and analyze, and then analysis result and reply data is stored in the database 403.
Fig. 5 is the test philosophy figure of the embodiment of the invention; The difference of Fig. 5 and Fig. 2 is that Fig. 5 instructs to instruction of electric energy meter transmitting time parameter modification and load simulation by the data detection module 402 of test computer.The dotted line top is a data Layer among Fig. 5, and the below is a Physical layer.
Fig. 6 is an embodiment of the invention electric energy meter detection method process flow diagram; Specify the electric energy meter detection method below in conjunction with Fig. 5 and Fig. 6.As shown in Figure 6, described method comprises:
Step S601: send the time parameter that comprises electric weight clearing frequency n, electric weight name day, electric energy meter time to described electric energy meter instruction and/or load simulation instruction are set, so that described electric energy meter generates name day information about power and load simulation recorded information.
Preferably, the name day number of times can be made as 3 times, and the name day was made as 28.Its implication is exactly 28 days every month 0 points, carries out lump-sum settlement, freezes the electric quantity data of electric energy meter at that time and is kept in the electric energy meter, and frozen electric quantity data can be read by the freeze command in the electric energy meter.If the clearing number of times is made as 3 times, such electric quantity data that freezes is saved 3.
The time of electric energy meter time can be located at a certain moment before the name day, the for example a certain name day is on September 28th, 2009, can be made as 23: 58 on the 27th September in 2009 time of electric energy meter, electric energy meter was made as 4 minutes working time, and chill point 0 electric quantity data on September 28th, 2009 is with frozen like this.The embodiment of the invention can be set the time of electric energy meter before each name day.
The time of electric energy meter has crossed over point in 28 days 0 September (name day chill point) in 4 minutes of operation, move to 0: 2 on the 28th September, and when crossing over the name day chill point, system has freezed the data of this point.According to this kind method, point in 28 days 0 October is crossed in simulation successively, on November 28 0 point, thereby formed the data that 3 name days freeze.Such data are commonly referred to as " historical data ", because these class data are classified often and deposited continuously, therefore also can become " historical record ".By artificial time setting, " historical record " of generation can provide original test data for test.
The load simulation instruction comprises the power supply decompression, the phase failure and/or three-phase imbalance instruction etc., change output three-phase voltage and electric current according to instruction, the simulated field actual conditions, make variety of event, make electric energy meter possess decompression and (voltage is dropped to below 78% of rated voltage, continue 1 minute), the phase failure (cutting off any output in the ABC three-phase), (any one in the ABC three-phase current that will break drops to below 50% of rated current to electric current, continue 1 minute) and incident such as voltage (any one in the ABC three-phase voltage that will break drops to below 50% of rated voltage, lasting 1 minute) imbalance.The appearance of these class data often means unusual generation, needs to propose alarm, thereby is commonly referred to as " alarm event data ",, therefore also can become " alarm record " because these class data are to deposit continuously according to the order of time.
Step S602: will count order to described electric energy meter transmission, to obtain described name day information about power and load simulation recorded information.
Described electric energy meter is provided with instruction and load simulation instruction according to time parameter, generate name day information about power and load simulation recorded information, electric quantity data and decompression, the phase failure and/or the three-phase imbalance information of record name day, for example write down chill point 0 electric quantity data on September 28th, 2009 and be 52 degree, the A in 0: 5: 23 on the 28th September in 2009 the ABC three-phase disconnects mutually.Described electric energy meter is received and will be counted after the order, will send electric quantity data and the information such as decompression, the phase failure and/or three-phase imbalance of the name day of record.
Step S603: receive described electric energy meter and will count the reply data that comprises name day information about power and load simulation recorded information that order sends according to described;
Reply data is electric quantity data and the information such as decompression, the phase failure and/or three-phase imbalance of the name day of record.
Step S604: analyze described name day information about power and load simulation recorded information, and generate analysis result.
Analyzing described name day information about power and load simulation recorded information comprises: whether more described name day information about power and described time parameter are provided with instruction consistent; And whether more described load simulation recorded information is consistent with described load simulation instruction.
More described name day information about power and described time parameter are provided with instruction consistent comprising whether: whether the name day electric weight in the more described name day information about power is in the power threshold scope that allows; More described load simulation recorded information is instructed whether consistent comprising with described load simulation: whether the load simulation time in load simulation writing time in the more described load simulation recorded information and the load simulation instruction is consistent.
For example, the electric energy meter detection system can be set 1 minute electric quantity change of electric energy meter less than 10 degree, the electric weight of supposing 23 o'clock 58 fens electric energy meters on the 27th September in 2009 is 50 degree, chill point 0 electric quantity data on September 28th, 2009 is 52 degree in the reply data, 2 minutes electric quantity change of electric energy meter operation is 2 degree, average per minute changes 1 degree, less than 10 degree, so in the electric energy meter reply data chill point 0 electric quantity data on September 28th, 2009 in the power threshold scope that allows.
With the voltage circuit parallel connection with tested electric energy meter of the voltage input circuit of electric energy meter detection platform among Fig. 4, this device current return is connected with its current return, and 485 communication lines are connected (not shown among Fig. 4) with it.Test computer 401 issues the order that starts power supply, by the serial line interface of special use, is sent to the three-phase programmable power supply, and power supply provides working power for tested electric energy meter, and the alternating voltage current signal that supplies electric energy meter collection input.Instruction is set the time parameter that test computer 401 issues and the load simulation instruction is sent in serial 485 interfaces of tested electric energy meter, the electric energy meter that receives data is to passing the reply data of order down, through above-mentioned channel, oppositely be sent in the master station computer, once reply flow process thereby finish.Test computer 401 is by the control programmable power supply, change voltage, the current signal of its output, the various actual conditions that may occur of simulated field, for example: decompression, overvoltage, the phase failure, three-phase imbalance etc., the various situations that tested electric energy meter is gathered accurately, analytic record occurs, after corresponding data are preserved in arrangement categorizedly, electric energy meter will be waited for the request msg order that main website issues.After simulation main website 201 receives correct order, the data detection module 402 of data from the physical layer transmission to the data Layer that tested electric energy meter is replied carried out analyzing and processing data, produce corresponding analysis result; Finally generate survey report according to these analysis results at last.
The useful technique effect of the embodiment of the invention: the present invention can issue time parameter from the trend electric energy meter instruction and/or load simulation instruction are set, and electric energy meter is detected, and has solved the low and establishment testing process complicated problems of efficient hand-manipulated.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, can instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-OnlyMemory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.