CN102570598A - Working method of comprehensive automatic device architected on virtual instrument technology - Google Patents

Working method of comprehensive automatic device architected on virtual instrument technology Download PDF

Info

Publication number
CN102570598A
CN102570598A CN2010106085128A CN201010608512A CN102570598A CN 102570598 A CN102570598 A CN 102570598A CN 2010106085128 A CN2010106085128 A CN 2010106085128A CN 201010608512 A CN201010608512 A CN 201010608512A CN 102570598 A CN102570598 A CN 102570598A
Authority
CN
China
Prior art keywords
program
real
time
computer
time program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010106085128A
Other languages
Chinese (zh)
Inventor
许奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
YANGZHOU ORIN POWER TEST SYSTEM CO Ltd
Original Assignee
YANGZHOU ORIN POWER TEST SYSTEM CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by YANGZHOU ORIN POWER TEST SYSTEM CO Ltd filed Critical YANGZHOU ORIN POWER TEST SYSTEM CO Ltd
Priority to CN2010106085128A priority Critical patent/CN102570598A/en
Publication of CN102570598A publication Critical patent/CN102570598A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a working method of a comprehensive automatic device architected on a virtual instrument technology. The comprehensive automatic device can make full use of limited lower computer resources to be architected on the virtual instrument technology. The comprehensive automatic device comprises an upper computer and a lower computer architected by the virtual instrument technology. A test method is carried out by the following steps of: selecting a test software module according to the project requirements in the upper computer; dividing programs in the upper computer into a real-time program, a near real-time program and a non real-time program by the upper computer according to a dividing program; transmitting the real-time program to the lower computer by the upper computer, receiving the real-time program by the lower computer, and taking over a DSP (digital signal processor) microprocessor and controlling the DSP microprocessor to run by the real-time program; aligning the real-time program and the non real-time program with the upper computer for calculating; processing various real-time information outside and calculating the real-time program by the lower computer; transmitting a calculation result to the lower computer according to an instruction of transmitting an instruction program, and exchanging data with the lower computer by the upper computer; and responding and performing the instruction of the upper computer by the lower computer. Strong recorded wave analysis and online display detection functions are realized.

Description

The method of work of the comprehensive automation device of a kind of framework on virtual instrument technique
Technical field
The present invention relates to a kind of method of testing, relate in particular to the method for work of comprehensive automation device for the electric power system tester that contains virtual instrument technique.
Background technology
Virtual instrument (Vis μ al Instr μ ctions) technology is the product that modem computer systems and instrument system technology combine, and is an important technology in computer nowadays subtest (CAT) field.It is promoting traditional instrument and is developing towards intellectuality, modularization, virtual, networked direction.Along with the develop rapidly of the scale and the technical merit of electric power system, be to ensure power system security operation reliably and obtain higher economic benefit, the parameter kind and the project that in production divisions such as power plant, electric substation, require to monitor also get more and more.And traditional measuring instrument is in analysis-by-synthesis, assessment to measured parameter, information exchange with the aspect such as share and exist serious defective.Virtual measurement instrument based on the microcomputer hardware platform obtains application more and more widely in many departments at present.
At present, utilize the LabView platform of the main employing NI company of virtual instrument technique development and testing equipment in the electric power system.The LabView platform has good graphical interfaces, powerful function library etc.But it also has some shortcomings, and most importantly real-time is not high, though the user can be optimized the exigent subprogram code of real-time, its efficient is because the non real-time property of Windows operating system can not reach real-time requirement fully.And a lot of requirements have Transient-State Analysis of Power System in the electric power system testing equipment, and this requires very high to real-time.
For satisfying the requirement of this high real-time, a lot of power test equipment have adopted special hardware to add some real time operating systems modes such as (like VxWorks).But this has deviated from the original intention of virtual instrument (Vis μ al Instr μ ctions) technology again; Make that the upgrade maintenance of instrumentation is very inconvenient; And function singleness and defectiveness; For example do not have enough spaces to come reservoir data, can not show result in real time, because the defective of specialised hardware circuit aspect multiplication and division has to reduce computational accuracy etc.
Summary of the invention
The present invention is directed to above problem; Provide a kind of in upper and lower machine structural system; Give full play to both service behaviours, and then help the function expansion, and can make full use of the method for work of the comprehensive automation device of framework on virtual instrument technique of limited slave computer resource.
Method of testing of the present invention is: said comprehensive automation device comprises host computer and the slave computer through the virtual instrument technique framework;
Said host computer adopts PC, contains the memory that stores some comprehensive automation test event software modules among the said PC;
Said slave computer comprises DSP microprocessor, twoport internal memory and interface circuit;
Adopt pci bus to link to each other between said host computer and the slave computer;
Also include the transfer instruction program of judging each program, data-transmission mode by the partition program of each program property of time characteristic division with by the result of partition program in the memory of said host computer PC;
The twoport internal memory and the slave computer DSP microprocessor of said slave computer are vacant in initial condition;
All working procedures of DSP microprocessor all are that PC downloads in test process in the internal memory of said DSP microprocessor, and the internal memory of said DSP microprocessor returns to initial vacant state after the test completion;
Said method of testing is carried out as follows:
1), in host computer, selects the testing software module according to project demands;
2), host computer is real-time program, quasi real time program and non real-time program according to partition program with the procedure division in the host computer;
Said real-time program is: system makes the program of response to specific incident in less than 1ms;
Said quasi real time program is: system makes the program of response to specific incident at 1ms to 10s;
Said non real-time program is: the program of not having corresponding time requirement;
3-1), host computer is transferred to slave computer with real-time program, after slave computer received real-time program, this real-time program was taken over the DSP microprocessor, controls its operation;
3-2), host computer is aimed at real-time program, the non real-time program is calculated;
3-3), slave computer is handled outside various real time information and real-time program calculating.
4), host computer is transferred to slave computer with result of calculation by the instruction of transfer instruction program, and with the slave computer swap data;
5), slave computer responds the instruction of host computer, and carries out.
Described comprehensive automation device also comprises the GPS communication device that is used between host computer and slave computer, carrying out telecommunication.
Said some comprehensive automation test event software modules comprise the device communication; Remote control; Remote measurement; Action event; The incident snowslide; The remote signalling response time; Pulsed quantity; Alternating current-direct current six tunnel outputs; Status switch; Three-phase and six phase are differential; Alternation output; Voltage protection; Current protection; Press off lock and power direction again; Lock-on relay; Direct current and auxiliary relay; The fault playback; Frequency test; The UFLS definite value; The UFLS time-delay; Low all slippage locking values; The low-voltage lockout definite value; Time response; The test same period; System oscillation; Route protection; Harmonic test; The harmonic wave stack; Total group test; Impedance operator; The failure wave-recording appearance; The high accuracy number multimeter; Harmonic analyzer and dual channel oscilloscope test module.
The present invention divides between treatment region according to time response, calculates in conjunction with the layering of upper and lower computer, and then solves the not high method of testing of real-time.It has adopted the thorough isolation technics of system's slave computer software and hardware, helps function expansion, makes full use of limited slave computer resource, makes that the response of system is more timely, and data-handling efficiency is higher.At last, the present invention also utilizes mechanics of communication and tested device to carry out data communication, controls tested device and obtains test result, has realized automatic test, has avoided the human operational error, improves testing efficiency.The present invention has realized the characteristics of the high-speed real-time of proprietary instrument, and the intellectuality of general virtual instrument is also arranged, powerful, easy to maintenance characteristics.Analysis-by-synthesis, assessment have been solved, the problem of information exchange and aspects such as sharing to measured parameter.Powerful record wave analysis and online demonstration measuring ability are for example arranged.
Description of drawings
Fig. 1 is a fundamental diagram of the present invention
Fig. 2 is the flow chart of method of testing of the present invention
Fig. 3 is an operation principle block diagram of the present invention
Fig. 4 is the sketch map of the present invention's functional software framework form when working
Fig. 5 is the sketch map of functional software framework form in the background technology of the present invention
Embodiment
The present invention is like Fig. 1,2, shown in 3, and said comprehensive automation device comprises host computer and the slave computer through the virtual instrument technique framework;
Said host computer adopts PC, contains the memory that stores some comprehensive automation test event software modules among the said PC;
Said slave computer comprises DSP microprocessor, twoport internal memory and interface circuit;
Adopt pci bus to link to each other between said host computer and the slave computer;
Also include the transfer instruction program of judging each program, data-transmission mode by the partition program of each program property of time characteristic division with by the result of partition program in the memory of said host computer PC;
The twoport internal memory and the slave computer DSP microprocessor of said slave computer are vacant in initial condition;
All working procedures of DSP microprocessor all are that PC downloads in test process in the internal memory of said DSP microprocessor, and the internal memory of said DSP microprocessor returns to initial vacant state after the test completion;
Said method of testing is carried out as follows:
1), in host computer, selects the testing software module according to project demands;
2), host computer is real-time program, quasi real time program and non real-time program according to partition program with the procedure division in the host computer;
Said real-time program is: system makes the program of response to specific incident in less than 1ms; The program that promptly must in less than 1ms, respond to specific incident (timer, external interrupt, pulse etc.).For example in the D/A output waveform program, require every 20ms to export 2000 points, timer is set to 10 μ s, and this program must can not be missed one at timer of per 10 μ s response, and the time error maximum can not 10 μ s; If timer sends 10 μ s behind the signal, not response or do not handle of program will influence output, and it is irregular that output waveform becomes.
Said quasi real time program is: system makes the program of response to specific incident at 1ms to 10s; Consistent with top real-time program definition in fact, unique difference is that time restriction is 1ms to 10s, and this program is harsh unlike real-time program to the time response of incident.But quasi real time also have time restriction, if quasi real time program do not respond also can be influential to system.For example slave computer sends data to host computer, and the time restriction of host computer is 1ms, and slave computer is that regularly 100 μ s (very accurate) send interrupt requests to host computer; Host computer can be missed or delayed response; As long as at 1ms with interior just passable, ten interruptions (0 μ s, the 100 μ s that send continuously of slave computer just; 200 μ s ...) in, one of them is just passable as long as host computer can respond; If host computer postpones to respond one of them again behind the 1ms, the data in its slave computer twoport internal memory are not the data that this interruption is sent, but the data that next group (ten) interrupts, will produce data error.
Said non real-time program is: the program of not having corresponding time requirement; This program is exactly that its operation and operating lag have produced not influence to system.Print routine for example, the speed of its speed even printer fault can not produce test result and disturb.
3-1), host computer is transferred to slave computer with real-time program, after slave computer received real-time program, this real-time program was taken over the DSP microprocessor, controls its operation;
3-2), host computer is aimed at real-time program, the non real-time program is calculated;
3-3), slave computer is handled outside various real time information and real-time program calculating.
4), host computer is transferred to slave computer with result of calculation by the instruction of transfer instruction program, and with the slave computer swap data;
5), slave computer responds the instruction of host computer, and carries out.
Described comprehensive automation device also comprises the GPS communication device that is used between host computer and slave computer, carrying out telecommunication.
Said some comprehensive automation test event software modules comprise the device communication; Remote control; Remote measurement; Action event; The incident snowslide; The remote signalling response time; Pulsed quantity; Alternating current-direct current six tunnel outputs; Status switch; Three-phase and six phase are differential; Alternation output; Voltage protection; Current protection; Press off lock and power direction again; Lock-on relay; Direct current and auxiliary relay; The fault playback; Frequency test; The UFLS definite value; The UFLS time-delay; Low all slippage locking values; The low-voltage lockout definite value; Time response; The test same period; System oscillation; Route protection; Harmonic test; The harmonic wave stack; Total group test; Impedance operator; The failure wave-recording appearance; The high accuracy number multimeter; Harmonic analyzer and dual channel oscilloscope test module.
During application, because the optimization of system, computing capability is strong, and output is counted close, and real-time is good, can satisfy the transient characterisitics output of protection test and the stable state accuracy requirement of supervising device simultaneously; Owing to adopted virtual instrument technique based on PC, can conveniently use serial ports or network and tested device communication, realized combining autorun certainly.

Claims (3)

1. the method for work of the comprehensive automation device of a framework on virtual instrument technique,
Said comprehensive automation device comprises host computer and the slave computer through the virtual instrument technique framework;
Said host computer adopts PC, contains the memory that stores some comprehensive automation test event software modules among the said PC;
Said slave computer comprises DSP microprocessor, twoport internal memory and interface circuit;
Adopt pci bus to link to each other between said host computer and the slave computer;
It is characterized in that: also include the transfer instruction program of judging each program, data-transmission mode by the partition program of each program property of time characteristic division with by the result of partition program in the memory of said host computer PC;
The twoport internal memory and the slave computer DSP microprocessor of said slave computer are vacant in initial condition;
All working procedures of DSP microprocessor all are that PC downloads in test process in the internal memory of said DSP microprocessor, and the internal memory of said DSP microprocessor returns to initial vacant state after the test completion;
Said method of testing is carried out as follows:
1), in host computer, selects the testing software module according to project demands;
2), host computer is real-time program, quasi real time program and non real-time program according to partition program with the procedure division in the host computer;
Said real-time program is: system makes the program of response to specific incident in less than 1ms;
Said quasi real time program is: system makes the program of response to specific incident at 1ms to 10s;
Said non real-time program is: the program of not having corresponding time requirement;
3-1), host computer is transferred to slave computer with real-time program, after slave computer received real-time program, this real-time program was taken over the DSP microprocessor, controls its operation;
3-2), host computer is aimed at real-time program, the non real-time program is calculated;
3-3), slave computer is handled outside various real time information and real-time program calculating.
4), host computer is transferred to slave computer with result of calculation by the instruction of transfer instruction program, and with the slave computer swap data;
5), slave computer responds the instruction of host computer, and carries out.
2. the method for work of the comprehensive automation device of a kind of framework according to claim 1 on virtual instrument technique; It is characterized in that described comprehensive automation device also comprises the GPS communication device that is used between host computer and slave computer, carrying out telecommunication.
3. the method for work of the comprehensive automation device of a kind of framework according to claim 1 on virtual instrument technique; It is characterized in that said some comprehensive automation test event software modules comprise device communication, remote control, remote measurement, action event, incident snowslide, remote signalling response time, pulsed quantity, alternating current-direct current six tunnel outputs, status switch, three-phase and six phase is differential, alternation output, voltage protection, current protection, press off lock and power direction, lock-on relay, direct current and auxiliary relay, fault playback, frequency test, UFLS definite value, UFLS time-delay, low all slippage locking values, low-voltage lockout definite value, time response, the test same period, system oscillation, route protection, harmonic test, harmonic wave stack, total group test, impedance operator, failure wave-recording appearance, high accuracy number multimeter, harmonic analyzer and dual channel oscilloscope test module again.
CN2010106085128A 2010-12-28 2010-12-28 Working method of comprehensive automatic device architected on virtual instrument technology Pending CN102570598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106085128A CN102570598A (en) 2010-12-28 2010-12-28 Working method of comprehensive automatic device architected on virtual instrument technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106085128A CN102570598A (en) 2010-12-28 2010-12-28 Working method of comprehensive automatic device architected on virtual instrument technology

Publications (1)

Publication Number Publication Date
CN102570598A true CN102570598A (en) 2012-07-11

Family

ID=46415305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106085128A Pending CN102570598A (en) 2010-12-28 2010-12-28 Working method of comprehensive automatic device architected on virtual instrument technology

Country Status (1)

Country Link
CN (1) CN102570598A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102967840A (en) * 2012-11-22 2013-03-13 辽宁省电力有限公司电力科学研究院 Digital multimeter automatic verification system based on virtual instrument technology and control method
CN108804298A (en) * 2018-06-15 2018-11-13 深圳库博能源科技有限公司 A kind of device for the test of SCADA system response time
CN109714212A (en) * 2018-12-29 2019-05-03 上海仪电物联技术股份有限公司 A kind of method and system of dynamic construction visual instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102967840A (en) * 2012-11-22 2013-03-13 辽宁省电力有限公司电力科学研究院 Digital multimeter automatic verification system based on virtual instrument technology and control method
CN108804298A (en) * 2018-06-15 2018-11-13 深圳库博能源科技有限公司 A kind of device for the test of SCADA system response time
CN109714212A (en) * 2018-12-29 2019-05-03 上海仪电物联技术股份有限公司 A kind of method and system of dynamic construction visual instrument

Similar Documents

Publication Publication Date Title
CN201886095U (en) Test device of merging unit
CN102073609B (en) Virtual instrument technology-based test method of power system test instrument and application thereof to integrated automatic device and synchronous detection device
CN101900777B (en) Monitoring method and device of power system
CN201373911Y (en) Integrated test system for switch power source
CN105403788A (en) Automatic ground testing system of spaceborne electronic equipment
CN103076520A (en) Dynamic analogue simulation detection platform and analogue simulation method for secondary system of intelligent substation
CN101533052B (en) Testing system and method for PWM fan electrical performance
CN201839095U (en) Intelligent transformer substation testing and simulation system
CN103885438A (en) Automatic test system and method for transformer substation measurement and control device
Biswas et al. Development of a smart grid test bed and applications in PMU and PDC testing
CN110008647A (en) The twin simulator of number and the twin analogue system of number
CN107741549A (en) The intelligent substation synchronism tester synchronously occurred based on analog quantity and digital quantity
CN101710153A (en) Embedded electric energy meter with harmonic measurement function and measurement method thereof
CN103926462A (en) Rapid harmonic wave analyzing method and device of power system
CN106646333A (en) Intelligent electric energy meter on-line monitoring and remote control system
CN104062617B (en) Combining unit meter characteristic filed detection system and method thereof
CN103901391A (en) Novel analog standard meter with digital electric energy meter detection function and detection method
CN102570598A (en) Working method of comprehensive automatic device architected on virtual instrument technology
CN201017016Y (en) Electric power apparatus integrated automation testing apparatus
CN110018437A (en) A kind of the Electric Energy Tariff Point Metering Device on-line monitoring method and system of branch inspection
CN105866576A (en) Simulation detection system of intelligent transformer station secondary-side electric energy metering error influence, and detection analysis method
CN201413572Y (en) Electric power system monitoring device
CN105353331A (en) Electronic transformer metering performance detection system and method
CN110703180A (en) Multi-mode intelligent substation simulation system and method
CN205427070U (en) Based on many converters of labVIEW aging testing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120711