Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Distribution automation terminal detection system can realize Function detection to distribution automation terminal (FTU, DTU and TTU), accuracy detection, communication protocol detect, and carries out auxiliary detection to the performance of terminal.Testing process is reasonable, and test item is comprehensive, precision and efficiency of detecting is high.
Fig. 1 is the structural representation of the distribution automation detection system of the embodiment of the present invention.As shown in the figure, the distribution automation detection system of the present embodiment comprises programmable power supply 1, standard scale 2 and pick-up unit 3, wherein, programmable power supply 1 is for providing power supply supply, and according to the signal command that outside inputs, provide the test signal comprising test voltage and measuring current to tested terminal; Standard scale 2 for calculate and show described programmable power supply generate the test signal comprising test voltage and measuring current; Pick-up unit 3 is for sending described signal command to described programmable power supply or described tested terminal, and the response result that signal command generates according to described tested terminal response, generate testing result and store.
In the present embodiment, as shown in Figure 2, programmable power supply 1 and pick-up unit 3 are connected with tested terminal 10 respectively.Pick-up unit 3 can send signal command directly to tested terminal 10, and tested terminal 10 generates response result according to described signal command, and is sent to pick-up unit 3 and stores; Or pick-up unit 3 sends signal command to programmable power supply 1, programmable power supply 1 generates test signal according to described signal command and is sent to tested terminal 10, and tested terminal 10 generates response result according to described test signal, and is sent to pick-up unit 3 and stores.
In the present embodiment, as shown in Figure 3, pick-up unit 3 comprises functional simulation module 301, accuracy test module 302, communication protocol detection module 303 and database 304.Wherein,
Functional simulation module 301, for sending the signal command comprising voltage, electric current, frequency, phase angle to described programmable power supply, carry out simulated field operating condition to carry out the Function detection comprising abnormal accident, optimum configurations, data acquisition, data statistics, alarm event to described tested terminal.That is: functional simulation module can detect described tested terminal to the function of anomalous event process, also can send normal signal order to described programmable power supply, detect the various functions such as optimum configurations, data statistics of described tested terminal;
Accuracy test module 302, for sending standard signal order to described programmable power supply, and the measured data that the normal data of more described standard scale display and described tested terminal generate, to detect AC sampling accuracy and the accuracy of measuring of described tested terminal;
Communication protocol detection module 303, for sending command frame to described tested terminal, and judges whether the acknowledgement frame of described tested terminal meets the requirement of verification frame format, to detect the communication protocol of described measured terminal;
Database 304, for storing described testing result.
Fig. 4 is the another kind of structural representation of the pick-up unit 3 in the distribution automation detection system of the embodiment of the present invention.In this constructive embodiment, pick-up unit 3 comprises data transmission port 305, using the interface as pick-up unit 3 and the tested terminal 10 in outside, standard scale 2 and programmable power supply 1.Data transmission port 305 can comprise RS232 communication, standard scale protocol analysis, direct current signal control module protocol analysis port and network service, the up protocol analysis port of tested equipment etc.
Detection system and tested terminal adopt RS232 mouth, port or USB port when carrying out communicating, mainly see tested terminal reserved be which kind of interface.It is at present main that what adopt is the terminal of port and RS232 mouth.Detect in the process of tested terminal, tested terminal network mouth or RS232 mouth must be connected with detection system.
Fig. 5 is the structural representation of the programmable power supply in the distribution automation detection system of the embodiment of the present invention. as shown in the figure, the programmable power supply in the present embodiment comprises voltage and current signal control module 101, D/A change-over circuit 102 and output module 103.Wherein, voltage and current signal control module 101, for according to described signal command, generates digital voltage current signal; D/A change-over circuit 102, for generating analog voltage current signal by described digital voltage current signal; Output module 103, for exporting to described standard scale and described tested terminal by described analog voltage current signal.
Fig. 6 is the structural representation of another embodiment of distribution automation detection system of the present invention.In this embodiment, distribution automation detection system also comprises pulse module 4 and direct current signal control module 5, is connected to tested terminal 10 and pick-up unit 3.Wherein, pulse module 4 is for producing pulse signal, to detect the pulse collection function of described tested terminal according to described command signal.Direct current signal control module 5 for generation of DC analogue quantity, to detect the direct current analog quantity acquisition function of described tested terminal.In the present embodiment, pulse module 4 and direct current signal control module 5 can be the controlled module of pick-up unit 3, also can be the equipment independent of pick-up unit 3.
Fig. 7 is the method flow diagram of an embodiment of distribution automation detection method of the present invention.As shown in the figure, distribution automation terminal detection method comprises:
Step S101, programmable power supply externally sends signal command.In the present embodiment, the signal command sent comprises: send the signal command comprising voltage, electric current, frequency, phase angle to described programmable power supply, carry out simulated field operating condition to carry out the Function detection comprising abnormal accident, optimum configurations, data acquisition, data statistics, alarm event to described tested terminal; Or send standard signal order to described programmable power supply, and the measured data that the normal data of more described standard scale display and described tested terminal generate, to detect AC sampling accuracy and the accuracy of measuring of described tested terminal.
Step S102, described programmable power supply generates the test signal comprising test voltage and measuring current according to described signal command.If in step S101, transmission be abnormal signal order, as being abnormal voltage signal command, then programmable power supply can generate abnormal voltage signal according to abnormal voltage signal command, and send to tested terminal 10.
Step S103, tested terminal generates response result according to described test signal.In the present embodiment, the test signal that tested terminal is sent according to programmable power supply, as the abnormal signal sent according to programmable power supply, terminal should be able to monitor abnormal information, and passes through the formal report pick-up unit of alarm or event.
Step S104, compares described response result and described test signal, generates testing result and stores.The test result that the response result of tested terminal and test signal are expected is compared, if consistent, proves that detection is passed through, inconsistent, detect and do not pass through.
In this embodiment, distribution automation terminal detection method also comprises:
Command frame is sent, to detect the communication protocol of described measured terminal to described tested terminal; Or
Produce pulse signal and send described tested terminal to, and the pulse collection information of the pulse signal of generation and described tested terminal is made comparisons, in order to detect the pulse collection function of described tested terminal; Or
Produce DC analogue quantity and send described tested terminal to, in order to detect the direct current analog quantity acquisition function of described tested terminal.
Fig. 8 is that the distribution automation detection system of the embodiment of the present invention structural representation that carries out detecting and signal move towards schematic diagram.Checkout equipment is arranged in main control computer, comprises functional simulation module, accuracy test module, communication protocol test module, communication protocol parsing module and database.Wherein:
The function of functional simulation module is:
One, (1) sends abnormal signal order to described programmable power supply, receives the event information that tested terminal uploads; (2) judge that whether the reaction of tested terminal is normal; (3) abnormal accident test result write into Databasce;
Two, (1) sends normal signal order to described programmable power supply; (2) judge that whether optimum configurations, the data statistics of tested terminal be normal; (3) normal function event test result write into Databasce.
Accuracy test module function is: (1) sends outputting standard signal command to " the current/voltage control module " of programmable power supply; Measured data is read from tested terminal; Normal data is read from standard scale; (2) measured data compares with normal data, judges whether its error meets the requirements; (3) measured data, normal data and error testing result write into Databasce.
The function of communication protocol detection module is: (1) sends command frame to tested terminal, then accepts the acknowledgement frame that tested terminal returns; (2) judge whether the acknowledgement frame of tested terminal meets the requirement of verification, frame format, whether the data of parsing meet logic; (3) communication protocol test result write into Databasce.
Main control computer (pick-up unit) controls programmable power supply and exports different voltage, electric current, frequency and phase place, and simulated field operating condition is supplied to tested terminal.Programmable power supply comprises voltage and current signal control module, D/A change-over circuit, DSP circuit and output display window etc.
Fig. 9 be embodiment illustrated in fig. 8 in the structural representation of Function detection is carried out to tested terminal and signal moves towards schematic diagram.As shown in the figure, tested terminal is connected with programmable power supply, functional simulation module.Pick-up unit can simulate main website, " three is distant " Function detection is realized to tested terminal, programmable power supply can also be passed through, the field working conditions such as analog voltage is out-of-limit, electric current is out-of-limit, uneven, power is out-of-limit, harmonic wave is out-of-limit, detect the various functions of tested terminal, ensure that the function of tested terminal meets the functional specification of relevant criterion.Figure 9 shows that the structural representation carrying out abnormal incident detection, as shown in the figure, functional simulation module sends output abnormality signal command to programmable power supply, programmable power supply generates abnormal test signal according to abnormal signal order, as abnormal voltage signal, abnormal current signal etc., are sent to tested terminal by the abnormality test signal of generation, tested terminal generates abnormal response result according to the test signal of exception, and is back to pick-up unit and abnormal incident data is written in database.
In other embodiments, the Function detection utilizing functional simulation module to carry out tested terminal also comprises: functional simulation module sends normal signal order to described programmable power supply; Judge that whether the functions such as the optimum configurations of tested terminal, data statistics, alarm event, data acquisition are normal; Normal function event test result write into Databasce.
(1) alarm event function: main control computer controls programmable power supply simulated field operating condition, and produce abnormal electric current and voltage, terminal should be able to monitor abnormal information, and reports main control computer by the form of alarm or event.
Such as: have a power failure to tested terminal, then power on, 5 times repeatedly, pick-up unit calls the frequency of power cut logout surveying terminal record together, should be 5 times; Arranging terminal, to surpass upper voltage limit be 242V, and control programmable power supply output voltage 3 × 260V, terminal should report voltage to surpass superior limit event.
(2) parameter setting function: issue parameter information to tested terminal by main control computer, after terminal check, main control computer is called together and is surveyed terminal parameter information, automatically compares with the information issued, and completely the same then judgement terminal parameter setting function is qualified.
Such as: main website issues " main website IP address and port: primary IP and port: 218.249.168.122:7107 ", terminal replies confirmation message, main website calls survey " main website IP address and port " parameter together, and terminal should be replied " 218.249.168.122:7107 ", and function is qualified.
(3) data acquisition function: tested terminal is by the external one piece of electric energy meter of RS485 mouth, main control computer control programmable power supply exports certain voltage and is supplied to terminal and electric energy meter, main website calls the amr message surveying terminal together should be consistent with the information about power in electric energy meter, programmable power supply provides certain electric current to electric energy meter, run after several hours, have a power failure stream, at this moment the amr message surveying terminal is called again together, should be consistent with the information of electric energy meter, give electric energy meter current again, run several hours, then call survey together ..., loop test 24 hours.
Such as: terminal is by the external one piece of electric energy meter of RS485 mouth, computer controlled programmable power supply processed provides 3 × 220V voltage to terminal, to electric energy meter 3 × 220V voltage, call together and survey terminal meter reading data: total 20.66kWh point 0.33kWh peak 0.22kWh flat 20.11kWh paddy 0.00kWh, now electric energy meter display information is also total 20.66kWh point 0.33kWh peak 0.22kWh flat 20.11kWh paddy 0.00kWh; There is provided 3 × 1A electric current to electric energy meter, run 5 hours, now electric energy meter shows total 23.96kWh point 0.33kWh peak 0.22kWh flat 23.41kWh paddy 0.00kWh...... until run full 24 hours.The information of checking meter as tested terminal in process is consistent with electric energy meter information, then it is qualified to judge.
(4) data statistics function: main control computer control programmable power supply keep burning voltage electric current a period of time, the data statistics function of sense terminals, with programmable power supply export consistent then qualified; Amendment terminal time, sense terminals day statistical function and the moon statistical function whether qualified.
Such as: computer controlled programmable power supply processed provides 3 × 220V voltage to terminal, 3 × 1.5A electric current, run 1 hour, change two-phase into and power, run one hour, falling electric current is 0, run one hour, calling the active power curves surveying terminal record together, should be 990W mono-hour, 660W mono-hour, and time and power supply change time consistency.
Figure 10 be embodiment illustrated in fig. 8 in the structural representation carrying out accuracy detection and signal move towards schematic diagram.As shown in the figure, tested terminal is connected with programmable power supply, standard scale, accuracy test module, tests AC sampling accuracy and the accuracy of measuring of tested terminal.Detection system can to electrical specifications such as the voltage of tested terminal, electric current, power, frequencies, the power quality indexs such as harmonic wave, degree of unbalancedness, change in voltage, power consumption of terminal index and electric flux index etc. are measured and are carried out accuracy detection, ensure that the accuracy of terminal meets relevant standard.
In the present embodiment, accuracy test module sends outputting standard signal command to described programmable power supply, programmable power supply can keep certain electric current and voltage according to standard signal order, electric current and voltage information can calculate display in standard scale, the friendship that tested terminal generates terminal according to electric current and voltage information is accepted and believed breath and sends to the accuracy test module of pick-up unit, breath is accepted and believed in terminal friendship calculate with the electric current and voltage data being presented at standard scale, to obtain handing over the accuracy of adopting loop.
Detect AC sampling accuracy, comprise and detect voltage accuracy, electric current accuracy, power accuracy etc.Example below detects voltage accuracy.
In the present embodiment, the error amount in table is between ± 0.5, then accuracy of judgement degree is qualified.
Figure 11 be embodiment illustrated in fig. 8 in the structural representation carrying out communication protocol detection and signal move towards schematic diagram.As shown in the figure, tested terminal is connected with programmable power supply, communication protocol test module, the communication protocol of test terminal.In this embodiment, programmable power supply and functional simulation module are respectively as the use of the Energy control of tested equipment and pick-up unit.Detection system can from several aspects such as data link layer, application layer and communication flows, uniformity test is carried out to the communication protocol of tested terminal, the various problems that may can also occur in analogue communications protocols, with the form of erroneous frame, negativity test is done to terminal, finally ensure that terminal meets communication protocol requirement.
In the present embodiment, main control computer is communicated by correct message and error message with tested terminal by communication protocol detection module, and sense terminals is at the communication protocol of link layer and application layer.
Such as: message is binary mode, communication protocol detection module sends correct message to tested terminal, and tested terminal receives message and should correctly respond.Communication protocol detection module sends error message to terminal, and tested terminal should not be responded, or replys FF.
Figure 12 be embodiment illustrated in fig. 8 in the structural representation carrying out the detection of direct current acquisition function and signal move towards schematic diagram.As shown in the figure, tested terminal is connected with programmable power supply, direct current signal control module, the direct current analog quantity acquisition function of test terminal.Functional simulation model calling programmable power supply in the present embodiment, does the use of the Energy control of whole pick-up unit.
Figure 13 be embodiment illustrated in fig. 8 in the structural representation carrying out pulse collection Function detection and signal move towards schematic diagram.Tested terminal is connected with programmable power supply, pulse module, accuracy test module, the pulse collection function of measuring terminals.In this embodiment, programmable power supply and functional simulation module are respectively as the use of the Energy control of tested equipment and pick-up unit.
In the present embodiment, main control computer gating pulse module produces the electric pulse of certain frequency some, calls the pulse collection information surveying terminal together, calculates the accuracy that pulse circuit gathers.
As set measurement point meter constant as 4800imp/kWh, pulse collection error range ± 2%.It is 12/point that clamp-pulse generator sends pulsed frequency, and under this frequency, terminal answers recording power to be 0.15kW, and qualified between 0.147kW to 0.153kW.
The distribution automation terminal detection system of the embodiment of the present invention and method, the functional test to distribution automation terminal (DTU, TTU, FTU) and electricity load management terminal, accuracy test and communication protocol test can be realized, and subtest can be carried out to the performance of the said equipment; Test process realizes computer controlled automatic, and testing efficiency is high and ensure that test result accuracy; Adopt the abnormity of power supply situation in practical power simulated field operating mode, ensure that Terminal Alert Event Function detects validity; Testing scheme, test result can automatically preserve and generate, and ensure that the reliability of test data.The distribution automation terminal detection system of the embodiment of the present invention and method, fill up the blank at present on distribution automation terminal detects, the construction of distribution automation system can be widely used in, can specification distribution automation terminal performance, function, improve its product quality, effectively can reduce the potential safety hazard that distribution network systems faces, improve power distribution network safe and stable operation level, improve the reliability of distribution system, for advancing electrical power distribution automatization system construction and application establish a firm foundation.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only specific embodiments of the invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.