Background technology
According to national intelligent grid construction plan, the construction and development of intelligent grid divides three phases progressively to carry out, to build up to the year two thousand twenty comprehensively, intelligent power link wherein mainly comprises the aspects such as the applying of intelligent electric energy meter, the application of collecting terminal, the construction of power information acquisition system, finally realizes the target of power information collection " all standing, entirely to gather, control in full ".
All standing is exactly all kinds of power consumers that power information acquisition system will cover in Utilities Electric Co.'s operation region.Full collection will realize remote automatic acquisition to the power information of all kinds of stoichiometric points that power information acquisition system covers exactly.Control in full is exactly the electricity consumption situation of power user power consumption information acquisition system energy continuous acquisition user, calculate the amount of its residue electricity charge and be shown to user, the prompting subscriber payment when remaining the electricity charge and being few, remain the electricity charge lower than setting amount time perform power purchase tripping operation control, user complete payment after system command electric energy meter close a floodgate reply power supply.Realizing above target just must overall application intelligent electric energy meter: for the intelligent electric energy meter that should adopt and possess expense control function that Adds User; The power supply area of expense control function electric energy meter is not possessed to original use or intelligent electric energy meter transformation must be carried out in place, original electric energy meter is replaced by the intelligent electric energy meter with expense control function.
Power information acquisition system is logically divided into main website layer, communication channel layer, collecting device layer.Main website is the administrative center of system, manages system-wide data processing, market demand and sends collection, expense control breaker tripping and closing order; The major way of telecommunication passage has optical fiber communication, 230MHz radio communication, wireless public network communication, medium voltage electricity line carrier communication etc.Current major part adopts wireless public network (GPRS/CDMA) mode, and wireless public network investment is little, and applied range, networking flexibility, adaptability are good, reliability is higher.Collecting device layer is made up of terminal, collector and intelligent electric energy meter.During communication, main website is by remote channel and terminal called, and terminal is again by down going channel and intelligent electric energy meter communication.What down going channel (communication channel of terminal and electric energy meter) was conventional has 2 kinds of modes: one is that acquisition terminal is by power transmission line low-voltage power carrier and intelligent electric energy meter communication; The second be acquisition terminal by power carrier and collector communication, collector carries out communication by RS-485 and electric energy meter again.
The acquisition time that during operation, acquisition layer is arranged according to main website and the time interval gather the information such as the electricity of electric energy meter, and the power information that the order of checking meter receiving main website is measured by each electric energy meter is sent to main website.The electricity collected then is counted as the electricity charge by main website layer, then compares with the situation of paying dues of power consumer, calculates the dump energy of this user.Remain the electricity charge few time prompting user pay the electricity charge, remain the electricity charge lower than setting amount time perform power purchase tripping operation control, user complete payment after system command electric energy meter close a floodgate restore electricity.
Because power information acquisition system relates to the charge calculation of huge numbers of families, relate to and can correctly notify to pay tariff by defaulting subscriber, stop the electric power supply of defaulting subscriber exactly, reliably recovered the electric power supply of payment user in time, each appliances therefore entering the use of power information acquisition system all must carry out the reliability and stability test of function, performance, technical indicator.
Existing power information collecting test device can only complete the test gathering down going channel from concentrator (terminal) to electric energy meter; Because do not test with main website, so cannot carry out from concentrator (terminal) to the performance test of main website.If carry out testing with the main website run, following deficiency can be produced:
1. test process needs to build a hundreds of Virtual User, also will complete the overall process of each operation flow, because test will simulate various operating mode, will produce a large amount of junk data, thus affect the operation of formal system in formal system.
2. under formal environments, carry out simulation expense control breaker tripping and closing test, likely cause normal electricity consumption resident mistakenly stop electricity, affect the normal life of huge numbers of families, and may Social Public Feelings be produced.
For this situation, the present invention proposes a kind of brand-new thinking: design a kind of power information acquisition system simulation test platform, can analog simulation replace the power information acquisition system of the formal production run of existing input to carry out properties, the Function detection of system; The on-the-spot actual condition of various interference source, frequency conversion load and distribution net work structure can be simulated, each alanysis, research, test condition are provided; Emulation platform has test, statistics, analytic function; Emulation platform can not affect the normal electricity consumption of power consumer when testing, can not produce junk data in formal environments.
Summary of the invention
The object of the invention is, according to the deficiency that existing power information acquisition system exists, the present invention proposes a kind of power information gathering simulation test platform.
Power information gathering simulation test platform of the present invention is a power information acquisition system comprising test environment emulation module and test statistics analysis module.It can the power information acquisition system of the formal production run of the existing input of analog simulation, for properties, the Function detection of carrying out system provides platform and tested object.
Power information gathering simulation test platform of the present invention is on the basis of existing power information acquisition system, (the main station system software of emulation platform and the system software of commencement of commercial operation are on all four in main functionality), adopt different runtime servers, the extreme slogan in IP address is different.Original platform adds the controlling functions of test emulation module, adds the analytic function of test statistics result.
Power information gathering simulation test platform of the present invention needs artificial site actual, because the master data of power information acquisition system is from Electric Power Marketing System, therefore just must with Electric Power Marketing System interface; Expense Ore-controlling Role according to gather electricity carry out charge calculation, the control of power consumer energy charge be realized, just must with take Ore-controlling Role interface.Therefore power information gathering simulation test platform of the present invention also establishes power marketing analogue system and expense control analogue system.Interface mode between power information gathering simulation test platform and this two systems is: Real-time data interface is realized by middle database and Webservice mode; Non-real-time data interface is realized by data center's mode.Real time data between system realizes mutual by the Webservice interface mode of data center, and non-real-time data is published to the middle database of data center by ETL mode, is responsible for the data of middle database to send other system to by data center.
The test environment emulation module of power information gathering simulation test platform of the present invention comprises audio signal generator, controllable load case and supplying power allocation model emulation module.By audio signal generator, controllable load case and supplying power allocation model emulation module, the on-the-spot actual condition of various interference source, frequency conversion load and distribution net work structure can be simulated, each alanysis, research, test condition are provided.
Audio signal generator adopts computing method to produce all kinds of harmonic signal, to superposition several times harmonic wave, crest meter then first needed for each harmonic calculates the signal amplitude of each harmonic wave first discrete point in a power frequency period, then the signal amplitude of each harmonic first discrete point is added the signal amplitude that can obtain output waveform first discrete point.The like can obtain the 2nd discrete point, the 3rd discrete point ... the signal amplitude of the n-th discrete point.These discrete points data calculated are sent to D/A successively, through digital-to-analog conversion and the good harmonic wave forms of exportable superposition.The output of harmonic wave, by conputer controlled, can be selected to export at all test cells, also can select only to export at certain several specific test cell.By the harmonic signal of output with need the power frequency component of output unit to carry out superposing and amplify the power supply containing harmonic wave needed for can obtaining testing through power amplifier.
Controllable load case is made up of purely resistive load blocks, inductive load module, capacitive load module.Purely resistive load blocks is in order to energy simulating electric automobile, electric bicycle charging, and added Three-phase high-power half-wave rectification, full-wave rectification current circuit, this partial circuit determines whether access by conputer controlled.The characteristic of load can be set as by conputer controlled: resistive load, inductive load and capacitive load.By the adjustment of these 3 kinds of loads and combination can be formed various required load, the power of load is continuously adjustable, and the fineness adjustment of load is 0.01kW.Resistive load adopts resistance alloys element, and test process can not produce resistance drift because of element heating.Inductance includes resistive parasitic amount and is less than 1%.Electric capacity is 0.01kVar power regulation requirements under 220V/50Hz operating mode, and each branch road of capacitive load is provided with against short-circuit privacy protection module, avoids capacitor element to be short-circuited burning apparatus at test process.The resistive load of three-phase, inductive load, capacitive load phase-splitting independently can control and regulate.
Supplying power allocation model emulation module can emulate networking, the on-the-spot actual condition of emulation distribution net work structure.
Original power information acquisition system collecting device layer is designed with 500 electric energy meter epi-positions altogether, wherein every 10 pieces of table compositions unit, what the inlet wire of each unit adopted is movable binding post, there are 10 groups of wiring stands after each concentrator, collector, control the confession radio area that the terminal box that the binding post of each unit insertion program is formulated can be combined into different distribution net work structure, different user number, different loads characteristic by PLC.For this reason, can networking be emulated for radio area, comprise: (1) star three-bristle cudrania flutters the confession radio area of structure; (2) banded (tree-shaped) three-bristle cudrania flutters the confession radio area of structure; (3) the confession radio area of annular circuitous configuration.All kinds of confession radio areas three-bristle cudrania can be emulated and flutter the impact of structure on communication success ratio.
The function that power information gathering simulation test platform of the present invention can emulate comprises:
(1) acquisition tasks establishment with issue emulation: the particular content determining acquisition tasks, comprises task names, task type, collection point type, collection point title, collection point numbering, image data item, tasks carrying beginning and ending time, collection period, execution priority and normal filling mining number of times etc.Work out and be completely issued to acquisition layer, whether correctly detect overall process.
(2) acquisition quality is detected under simulating each operating mode: under the operating mode of various needs simulation, carry out power information collection, display data acquisition success ratio and data integrity rate, the details such as the failure of record acquisition tasks and image data exception, the implementation status of automatic classification statistics gatherer task, for research, analysis provide material.
(3) monitoring of equipment emulation: emulation various kinds of equipment fault, can detection system correctly find in time, system should be able to provide device exception information, comprise process and the unit exception warning information of data integrity and data reasonalbeness check, comprise the information such as anomalous event, abnormal data, processing procedure and treatment people.
(4) data are called together and are surveyed emulation: simulate the collected by hand to the real time data of single or multiple acquisition target, historical data or event under various operating mode.
(5) batch patrols and surveys emulation: simulate under various operating mode for complete all kinds of events of batch capture point or collecting device, data manually patrol survey.
(6) data publication management: comprise customization distributing data and data publication, customization is issued: according to the business such as management of checking meter, market management, power utility check management, marketing analyses and aid decision making to the different requirements of image data item, customize distributing data.Data publication: provide data sharing service, triggers corresponding flow process, distributing data.
(7) pre-payment drops into emulation: pre-payment power purchase information, drops into or removes forward purchasing electric control, and provide operation note.
(8) pre-payment controling parameters issues: to the client of terminal or ammeter pre-payment, according to client's pre-payment situation according to the tripping operation round pre-set, and is dropped into or forward purchasing electric control is removed order and controlled by forward purchasing electric control.To the client of main website pre-payment, issue remote control tripping operation to terminal or electric energy meter or allow combined floodgate order to control.There is provided operation note simultaneously.
(9) pre-payment control imitation: to the client of main website pre-payment, according to client's pre-payment situation according to the tripping operation round pre-set, drops into or purchases in advance electric control releasing order by forward purchasing electric control and control, provide operation note simultaneously.
(10) expense control imitation is urged: inquire about expense of urging and control SMS notification and stop telegram in reply notice, according to the requirement of underpayment management, expense alarm is urged in input or releasing, expense of urging is rationed the power supply, and provided operation note.
The test statistics analysis module that power information gathering simulation platform of the present invention is arranged adds test statistics analytic function on software.Increase test, statistics, analytic function, can complete and detect from the overall process of the every business functions of each assembly such as main website, data feedback channel, terminal, down going channel, collector, carrier module, small wireless module, 485 modules, electric energy meter, complete the detection of the various functions such as order issues, data call survey together, information acquisition, energy charge control, the present invention also can detect all kinds of concentrator, the collection success ratio of electric energy meter, expense control success ratio, finds Problems existing; Can the various distribution net work structure of statistical study, carrier communication success ratio under electricity consumption loading condition, and provide technical support for the system implementation plan formulated under this operating mode.
Test statistics analysis module has following functions:
(1) task tracking, substep function of statistic analysis
In formal system, certain subtask usual is unsuccessful, but is difficult to task of finding in system in which failure.Power information simulation test platform of the present invention increases task status word field at database, and in emulation platform, software is in the process of executing the task, and often completes its task status word of a step flow process and all can be rewritten to corresponding numerical value.Unsuccessful if executed the task, the task status word of system will rest on back numerically.System also can be pointed out to go out on missions and which walks unsuccessfully at, and for searching, problem analysis provides effective foundation.
(2) can the reason of statistic of classification fault
Power information gathering simulation test platform of the present invention can according to task status word, and statistic of classification go out the to execute the task reason of failure is the factors such as power information acquisition system software itself, manual operation error, acquisition layer equipment or passage.Can clearlyer search quickly, problem analysis.
(3) statistic of classification expense can control success ratio, gather the technical indicators such as success ratio
Power information gathering simulation test platform of the present invention can carry out statistic of classification expense control success ratio, gather the technical indicators such as success ratio, for equipment choosing provides technical basis according to the production firm of collecting device, model, specification.
(4) pre-payment situation, pre-payment work information statistics can be carried out
Power information gathering simulation test platform of the present invention can be added up pre-payment situation, checks prepaid user's quantity, and spending amount, remaining sum sum, and the information such as terminal operating mode, derive or type information; Can inquiring user terminal operating mode, issue user terminal floor data; Call together and survey user terminal residue balances of advance payments or electricity showing.
The present invention compared with the prior art, useful effect is: the present invention can not only complete and gather the various performances of down going channel to power information, function is tested, and the communication quality of power carrier can be detected in all kinds of power supply topological structure situations of emulation, the more important thing is can emulate main website complete power information acquisition system in all directions, the full performance test of business overall process.
Embodiment
The specific embodiment of the present invention is as follows:
1, for power information gathering simulation test platform, need to research and analyse the following all kinds of index under various simulated condition:
(1) success ratio is gathered
Gather success ratio=(gathering the electric energy meter sum that successful electric energy meter number ÷ accesses) × 100%
(2) control success ratio is taken
Take control success ratio=(the electric energy meter sum that the successful electric energy meter number ÷ of expense control accesses) × 100%
(3) platform district line loss
Platform district line loss=(delivery-electricity sales amount) ÷ delivery × 100%
2, the emulation of all kinds of operating mode and realization
(1) structure simulation is flutterred for radio area three-bristle cudrania
Collecting device layer is designed with 500 electric energy meter epi-positions altogether, every 10 pieces of table compositions unit, what the inlet wire of each unit adopted is movable binding post, as shown in Figure 2,10 groups of wiring stands are had after each concentrator, collector, the binding post of certain unit is inserted the wiring that a terminal box can complete this unit, therefore the mode of connection of emulation platform can flexible networking.Confession radio area can emulate networking: (1) star three-bristle cudrania flutters the confession radio area of structure; (2) banded (tree-shaped) three-bristle cudrania flutters the confession radio area of structure; (3) the confession radio area of annular circuitous configuration.All kinds of confession radio areas three-bristle cudrania can be emulated and flutter the impact of structure on communication success ratio.
(2) for the emulation of radio area number of users
Emulate the number of users in certain district, just must can access after a concentrator and be no more than 500 electric energy meters.Owing to there being 10 groups of wiring stands after each concentrator, collector, therefore in access wiring expansion board, 1 wiring stand need can be extended to 10.Such section Research statistics platform district number of users is on the impact of communication success ratio.
(3) for the emulation of radio area power load
When power load is electric automobile charging pile, electric bicycle charging box, convertible frequency air-conditioner, by electric loading because rectification can produce each harmonic, harmonic wave can affect the power carrier communication of down going channel, therefore emulation platform can simulate the interference of all kinds of electric loading, can research and analyse with the impact of electric loading on communication success ratio.
(4) for radio area concentrator, collector, the emulation of electric energy meter position distribution
Can emulate distance between concentrator to collector, emulation collector to the distance of electric energy meter by accessing elongated line between wiring stand and connection terminal, research concentrator, collector, electric energy meter distribute, and radius of electricity supply is on the impact of communication success ratio.