Mains by harmonics on-line monitoring circuit and method of work thereof based on virtual instrument
(1) technical field:
The present invention relates to a kind of mains by harmonics on-line monitoring circuit, particularly a kind of mains by harmonics on-line monitoring circuit and method of work thereof based on virtual instrument.
(2) background technology:
Safety, high-quality are the most basic requirements to Operation of Electric Systems, on the basis of electric system reliable power supply guaranteeing to continue, must guarantee the qualified quality of power supply.But in recent years,, produced harmonic wave because the adding of a large amount of nonlinear-loads makes the electrical network waveform distort; When harmonic component contained in the electrical network acquires a certain degree, will cause harmonic pollution, power equipment is brought serious harm, influence the normal operation of electric system, therefore, mains by harmonics administered paid much attention to, and the accurate detection of harmonic wave is the condition precedent of carrying out harmonic wave control.
Traditional harmonics detection circuit is core, function singleness with hardware mainly, do not possess data storage and analytic function, harmonic measure for various objectives, usually adopt different Measurement and analysis instrument, testing cost height so not only, and bring a lot of inconvenience for test and analysis.
Virtual instrument technique is the new technology of being born in the U.S. nineties in 20th century, its appearance is described as " revolution of observation and control technology " and " technology of 21 century ", its major technique characteristics are to make various instruments or equipment with software replacement hardware, to finish various measurements and control function, saying of " software being exactly instrument " arranged.Virtual instrument has become a kind of " Microcomputerized Instrument " fully, its hardware components has only a data capture card, realize that measured signal is by the conversion of analog quantity to digital quantity, whole instrument is based upon on the basis of a computing machine fully, other functions of instrument, as data processing, calculating, analysis, storage and Presentation Function etc., become by software fully and finish.At present, virtual instrument technique has had a lot of successful application cases in fields such as military affairs, aviations, but also not overripened in application on power system.
(3) summary of the invention:
The object of the present invention is to provide a kind of mains by harmonics on-line monitoring circuit and method of work thereof based on virtual instrument, this circuit with up-to-date Application of Virtual in the harmonic wave test macro, this test circuit that testing tool is embedded in computing machine can be caught fast measured signal in moment, can the great data processing task of the amount of finishing the work in the extremely short time, go forward side by side line item with show measurement result.
Technical scheme of the present invention: a kind of mains by harmonics on-line monitoring circuit based on virtual instrument is characterized in that it is made up of signal condition part, data collecting card and the computing machine that contains virtual instrument; Wherein, signal condition is partly imported the termination measured signal, and signal condition part output terminal links to each other with the input end of data collecting card; The output terminal of data collecting card links to each other with the computing machine that contains virtual instrument.
Above-mentioned said signal condition part is made up of sensor and peaking circuit; Said sensor comprises voltage sensor and current sensor, and wherein voltage sensor is that the voltage of 100V becomes 10V with interior voltage with the ratings on the circuit; Current sensor is that the electric current of 5A becomes 10V with interior voltage signal with the ratings in the system; Wherein, one the input end B of two peaking circuits that is used for overcoming the transformed error that individual difference brought of sensor connects voltage sensor, and the input end B of another in two peaking circuits connects current sensor; The output terminal C of peaking circuit connects data collecting card; Ratings is the electric current and voltage simulating signal of 100V and 5A in the system, the sensor of the zero magnetic flux by signal condition part, become ± 10V is connected to data collecting card with interior voltage signal.
The Hall type HYH-SB-13-U voltage sensor that the voltage sensor of above-mentioned said signal condition part adopts Wuhan Hua Yi Electronics Co., Ltd. to produce, the Hall type HYH-SB-13-I current sensor that the current sensor of said signal condition part adopts Wuhan Hua Yi Electronics Co., Ltd. to produce;
Above-mentioned said data collecting card adopts the data collecting card of the PCI-6220 model of America NI company; The way of acquired signal is below 16 the tunnel; Picking rate is 250ks/s; Acquisition precision is 16; Analog input channel is 16 the tunnel.
The above-mentioned said computing machine that contains virtual instrument, be various types of computing machines, notebook, laptop computer, industrial computer one of them.
A kind of method of work of above-mentioned mains by harmonics on-line monitoring circuit based on virtual instrument is characterized in that described method of work comprised with the next stage:
(1) the signal condition stage: with the mutual inductor of current analog signal to be measured by zero magnetic flux, become ± 10V sends into data collecting card with interior voltage signal;
(2) data acquisition phase: by wave filter and A/D converter, contained noise signal in the filtered signal, the signal after will purifying then carries out the mutual conversion between digital quantity and the analog quantity;
(3) the data analysis stage: the current signal that collects is handled by analysis, calculated its harmonic content and correlation parameter;
(4) result shows the stage: the result after the analytical calculation is shown on calculating, intuitively show the content of harmonic wave in the electric current.
The mutual inductor of the zero magnetic flux in the above-mentioned said step (1), such mutual inductor can guarantee the accuracy of signals collecting, also can guarantee the bandwidth of signals collecting, its ultimate principle is a Hall magnetic balance principle, is also referred to as " zero magnetic flux " principle.
Principle of work of the present invention is: the G Programming with Pascal Language that the present invention adopts the LabVIEW Software Development Platform to provide, functions such as the data processing of circuit, analysis, calculating, data storage, demonstration and communication all realize by software.The main process module of software is as shown in Figure 3: the virtual instrument program is at first read in digital signal from data collecting card, then the digital signal of gathering is carried out data processing such as digital filtering and windowing, again these signals are carried out fourier-transform and spectrum analysis, analysis result is shown and storage by variety of way.
The software of circuit has two parts, and one is on-line monitoring, and it mainly realizes some top functions, another is a monitoring analysis, it is an off-line analysis program, mainly is by reading the data of circuit on-line monitoring storage, the index of every quality of power supply being analyzed.The data storage of device adopts text formatting, and per minute writes down once, stores a file every day, and a table apparatus can move more than 5 years continuously.
The data of circuit can realize distant place transmission, can select multiple mode arbitrarily according to the network condition of system, if there is LAN (Local Area Network) at the scene, can adopt network interface card to carry out the data sharing mode, obtain field data by distant place computing machine; If telephone wire is arranged, can connect by modem dialup, carry out the data periodic transmission; Adopt the mains by harmonics on-line monitoring circuit of Virtual Instrument Technology, can detect the harmonic content on electrical network or the power equipment line rapidly and accurately, and calculate, analyze, show during at last with fructufy; Therefore, be a important directions in the mains by harmonics on-line monitoring field with Application of Virtual in mains by harmonics on-line monitoring circuit.
The present invention is installed in the master-control room of the transformer station of electric power system usually, harmonic wave in certain specific feed line or large user's the outlet is carried out long-term on-line monitoring, the quality of power supply of bus in can the monitoring station also can be monitored the quality of power supply of certain measurement loop; The data of its continuous monitoring can be handled and store automatically, can also analyze and provide analysis report to the control center in a distant place by Network Transmission; The present invention adopts wide voltage source to power can self-adaptation from 100V to 250V.
Superiority of the present invention is: 1. can finish tested current signals automatically, and carry out real time data processing and calculation of parameter; 2. whole test process can be by the programmed control of computing machine, so as long as change the program of computing machine, just can change the test function of projects of test, the test circuit update cycle is short; 3. acquisition speed is fast, guarantees the simultaneity of tested data sampling; 4. measuring accuracy height, good reproducibility can be saved a large amount of time and manpower, has improved testing efficiency greatly, and the reliability height; 5. the user can compare powerful reliable according to the needs change of oneself or the function of extension circuit with product of the same type.
(4) description of drawings
Accompanying drawing 1 is the system chart of the related a kind of mains by harmonics on-line monitoring circuit based on virtual instrument of the present invention.
Accompanying drawing 2 partly connects block diagram for the signal condition of the related a kind of mains by harmonics on-line monitoring circuit based on virtual instrument of the present invention.
Accompanying drawing 3 is the circuit connection diagram of peaking circuit in the signal condition part of the related a kind of mains by harmonics on-line monitoring circuit based on virtual instrument of the present invention.
Accompanying drawing 4 is the software flow pattern of the related a kind of mains by harmonics on-line monitoring circuit based on virtual instrument of the present invention.
(5) embodiment:
Embodiment: a kind of mains by harmonics on-line monitoring circuit (seeing accompanying drawing 1) based on virtual instrument is characterized in that it is made up of signal condition part, data collecting card and the computing machine that contains virtual instrument; Wherein, signal condition is partly imported the termination measured signal, and signal condition part output terminal links to each other with the input end of data collecting card; The output terminal of data collecting card links to each other with the computing machine that contains virtual instrument.
Above-mentioned said signal condition part (seeing accompanying drawing 1,2) is made up of sensor and peaking circuit; Said sensor comprises voltage sensor and current sensor, and wherein voltage sensor is that the voltage of 100V becomes 10V with interior voltage with the ratings on the circuit; Current sensor is that the electric current of 5A becomes 10V with interior voltage signal with the ratings in the system; Wherein, one the input end B of two peaking circuits that is used for overcoming the transformed error that individual difference brought of sensor connects voltage sensor, and the input end B of another in two peaking circuits connects current sensor; The output terminal C of peaking circuit connects data collecting card; Ratings is the electric current and voltage simulating signal of 100V and 5A in the system, the sensor of the zero magnetic flux by signal condition part, become ± 10V is connected to data collecting card with interior voltage signal.
The Hall type HYH-SB-13-U voltage sensor that the voltage sensor of above-mentioned said signal condition part (seeing accompanying drawing 2) adopts Wuhan Hua Yi Electronics Co., Ltd. to produce, the Hall type HYH-SB-13-I current sensor that the current sensor of said signal condition part adopts Wuhan Hua Yi Electronics Co., Ltd. to produce;
Above-mentioned said data collecting card (seeing accompanying drawing 1) adopts the data collecting card of the PCI-6220 model of America NI company; The way of acquired signal is below 16 the tunnel; Picking rate is 250ks/s; Acquisition precision is 16; Analog input channel is 16 the tunnel.
The above-mentioned said computing machine that contains virtual instrument (seeing accompanying drawing 1), be various types of computing machines, notebook, laptop computer, industrial computer one of them.
A kind of method of work of above-mentioned mains by harmonics on-line monitoring circuit based on virtual instrument is characterized in that described method of work comprised with the next stage:
(1) the signal condition stage: with the mutual inductor of current analog signal to be measured by zero magnetic flux, become ± 10V sends into data collecting card with interior voltage signal;
(2) data acquisition phase: by wave filter and A/D converter, contained noise signal in the filtered signal, the signal after will purifying then carries out the mutual conversion between digital quantity and the analog quantity;
(3) the data analysis stage: the current signal that collects is handled by analysis, calculated its harmonic content and correlation parameter;
(4) result shows the stage: the result after the analytical calculation is shown on calculating, intuitively show the content of harmonic wave in the electric current.