CN102735971A - Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) - Google Patents
Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) Download PDFInfo
- Publication number
- CN102735971A CN102735971A CN2012102146070A CN201210214607A CN102735971A CN 102735971 A CN102735971 A CN 102735971A CN 2012102146070 A CN2012102146070 A CN 2012102146070A CN 201210214607 A CN201210214607 A CN 201210214607A CN 102735971 A CN102735971 A CN 102735971A
- Authority
- CN
- China
- Prior art keywords
- module
- fpga
- electric system
- synchronous vector
- frequency
- 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
Links
Images
Landscapes
- Complex Calculations (AREA)
Abstract
The invention discloses a device for measuring and computing a synchronous vector of a power system based on a field programmable gate array (FPGA). The device comprises a synchronous sampling module, a frequency computation module, an interpolation module and a discrete Fourier transform (DFT) computation module, which are designed on the basis of the FPGA. The device for measuring and computing the synchronous vector of the power system based on the FPGA provided by the invention has the advantages that according to the characteristic of high-speed parallel processing of parallel logic in the FPGA, the fixed-point sampling frequency of the power system is improved; and according to analog quantity frequency, synchronous sampling data of a complete cycle are taken for interpolation, corresponding DFT computation is performed, a high-accuracy synchronous vector is obtained, and high-accuracy synchronous vector data are provided for reliable and stable operation of the power system.
Description
Technical field
The present invention relates to electric system; Relate in particular to a kind of based on FPGA (Field-Programmable GateArray; Be field programmable gate array) the device that calculates of the synchronous vector measurement of electric system, for more reliable, the stable operation of electric system provides more high precision synchronous vector data.
Background technology
The general maturation method of realizing that synchronous vector measurement calculates in the electric system is to utilize DSP (Digital Signal Processing; Be digital signal processing) carry out the analog data synchronized sampling, and utilize synchronously sampled data to calculate based on Fourier's computing.Synchronously operation has extremely important meaning to the vector measurement computational accuracy to power system stability, and the principal element that influences synchronous vector measurement computational accuracy has synchronized sampling precision and computing method.Synchronous sampling method mainly contains two kinds of frequency self-adaption sampling and fixed sampling interval techniques; And computing method generally all adopt DFT (being discrete Fourier transformation) to calculate.For DSP, though it is compared with general MCU (Micro Control Unit is control module); It has dominant frequency height, fast operation, based on the advantages such as operation of streamline; But it is based on the computing of instruction after all, and instruction has the instruction cycle, and such operation program based on DSP must be based on many and instruct serials to move; So it does not reach the high-density sampling demand of 200ksps SF, thereby the general at present sampling rate that adopts 10ksps.No matter DSP adopts frequency self-adaption sampling or fixed sampling interval technique; When analog data is not power frequency; Adopt DFT to calculate and always have the frequency leakage problem, though there are the various backoff algorithms of revealing to frequency at present, always influential to synchronous vector measurement computational accuracy; And backoff algorithm will take a large amount of DSP instruction cycles, limited the sampling rate of analog quantity.Under current technical conditions; Improve the electric system measurement computational accuracy of vector synchronously; Must further improve the sampling rate of analog quantity; Make the dsp operation processing time reduce but improve sampling rate, calculated amount then becomes the scale of geometry level to increase, thereby continuation employing DSP carries out, and the more high-precision calculating of vector measurement synchronously just can not meet the demands in the electric system.
Summary of the invention
Goal of the invention: in order to overcome the deficiency that exists in the prior art; The characteristic that the present invention utilizes the inner parallel logic high-speed parallel of FPGA to handle; The device that the synchronous vector measurement of a kind of electric system calculates is proposed; Improve synchronous vector measurement computational accuracy, for more reliable, the stable operation of electric system provides more high precision synchronous vector data.
Technical scheme: for realizing above-mentioned purpose, the technical scheme that the present invention adopts is:
The device that the synchronous vector measurement of a kind of electric system based on FPGA calculates comprises synchronized sampling module, frequency computation part module, interpolating module and DFT computing module based on the FPGA design,
Said synchronized sampling module is carried out synchronized sampling to the analog quantity of electric system, and synchronously sampled data is sent to frequency computation part module and interpolating module;
Said frequency computation part module is calculated the analog quantity frequency according to the synchronously sampled data that obtains, and result of calculation is sent to interpolating module;
The synchronously sampled data that said interpolating module is got complete cycle according to the analog quantity frequency carries out the para-curve quadratic interpolation, obtains interpolated data, and interpolated data is sent to the DFT computing module, the i.e. resampling value of said interpolated data;
Said DFT computing module carries out the synchronous vector calculation of complete cycle according to the interpolated data that obtains, and obtains vector synchronously.
Preferably, said synchronized sampling module to the analog quantity of electric system carry out uniformly-spaced, the synchronized sampling of high precision, two-forty, sampling rate can be 200ksps.
Preferably, said frequency computation part module adopts matlab to programme, and develops such as the system gengerator module among the employing matlab 2011a, and generates the IP kernel that FPGA can directly use.
Preferably, said interpolating module adopts matlab to programme, and develops such as the system gengerator module among the employing matlab 2011a, and generates the IP kernel that FPGA can directly use; Said interpolated data can be the resampling value of 2048 in single-revolution ripple, and supporting like this DFT computing module just need be designed to 2048 DFT computing module.
Preferably, said DFT computing module adopts matlab to programme, and develops such as the system gengerator module among the employing matlab 2011a, and generates the IP kernel that FPGA can directly use
Because electric system is output as analog quantity; And the book digital quantity that uses based on each module of FPGA design; Thereby between the output of adopting module and electric system synchronously, needing design A/D circuit, the synchronized sampling module is carried out synchronized sampling through the A/D circuit to the analog quantity of electric system.
This case; The characteristic of utilizing the inner parallel logic high-speed parallel of FPGA to handle; Improved frequency, and carried out interpolation, and then carried out corresponding D FT and calculate according to the synchronously sampled data that the analog quantity frequency is got complete cycle to power system simulation amount grab sampling; Obtain the high precision synchronous vector, for more reliable, the stable operation of electric system provides more high precision synchronous vector data.
Beneficial effect: the device that the synchronous vector measurement of a kind of electric system based on FPGA provided by the invention calculates, adopt speed up to 200ksps, guaranteed the integrality of signal to greatest extent; Accomplish the calculating of vector synchronously by FPGA, greatly improved velograph and the precision of calculation results calculated, avoided spectral leakage simultaneously; In addition, adopt FPGA to accomplish and calculate the calculation resources of also having practiced thrift CPU, reduced requirement, practiced thrift cost CPU.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is done explanation further.
Be illustrated in figure 1 as the device that the synchronous vector measurement of a kind of electric system based on FPGA calculates, comprise the A/D circuit, based on synchronized sampling module, frequency computation part module, interpolating module and the DFT computing module of FPGA design.
Said FPGA adopts spartan3a dsp-1800a chip, and developing instrument adopts Xilinx ISE Design Suite 13.2 and matlab 2011a; Utilize FPGA control A/D circuit to carry out the high-speed synchronous sampling; Utilize the system generator among the matlab 2011a to accomplish corresponding interpolation algorithm and DFT computing checking; And generate the computing IP module that Xilinx ISE Design Suite 13.2 can directly call; Utilize Xilinx ISE Design Suite 13.2 to realize the two-forty high-precise synchronization sampling to the power system simulation amount at spartan3a dsp-1800a chip internal, sampling rate is 200ksps, and sampled value is regularly sent into computing IP module; The frequency of analog quantity is calculated in TG; According to the frequency that calculates the sampled data interpolation is become weekly the sampled data of 2048 in ripple, utilize the data after the interpolation to carry out the calculating of vector synchronously again, specifically each Module Design and function are following.
Said synchronized sampling module through the A/D circuit to the analog quantity of electric system carry out uniformly-spaced, the synchronized sampling of high precision, two-forty, and synchronously sampled data sent to frequency computation part module and interpolating module, the setting sampling rate is 200ksps.
Said frequency computation part module adopts the system gengerator module among the matlab 2011a to develop; And generate the IP kernel that FPGA can directly use; It calculates the analog quantity frequency according to the synchronously sampled data that obtains, and result of calculation is sent to interpolating module.
Said interpolating module adopts the system gengerator module among the matlab 2011a to develop; And generate the IP kernel that FPGA can directly use; Its synchronously sampled data of getting complete cycle according to the analog quantity frequency carries out the para-curve quadratic interpolation; Obtain interpolated data, and interpolated data is sent to the DFT computing module, said interpolated data is the resampling value of 2048 in single-revolution ripple.
Said DFT computing module is 2048 a DFT computing module; Adopt the system gengerator module among the matlab 2011a to develop; And generate the IP kernel that FPGA can directly use, its interpolated data according to acquisition carries out the synchronous vector calculation of complete cycle, obtains vector synchronously.
The above only is a preferred implementation of the present invention; Be noted that for those skilled in the art; Under the prerequisite that does not break away from the principle of the invention, can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.
Claims (4)
1. the device that calculates of the synchronous vector measurement of the electric system based on FPGA, it is characterized in that: this device comprises synchronized sampling module, frequency computation part module, interpolating module and the DFT computing module based on the FPGA design,
Said synchronized sampling module is carried out synchronized sampling to the analog quantity of electric system, and synchronously sampled data is sent to frequency computation part module and interpolating module;
Said frequency computation part module is calculated the analog quantity frequency according to the synchronously sampled data that obtains, and result of calculation is sent to interpolating module;
The synchronously sampled data that said interpolating module is got complete cycle according to the analog quantity frequency carries out the para-curve quadratic interpolation, obtains interpolated data, and interpolated data is sent to the DFT computing module, the i.e. resampling value of said interpolated data;
Said DFT computing module carries out the synchronous vector calculation of complete cycle according to the interpolated data that obtains, and obtains vector synchronously.
2. the device that the synchronous vector measurement of the electric system based on FPGA according to claim 1 calculates, it is characterized in that: the sampling rate of said synchronized sampling module is 200ksps.
3. the device that the synchronous vector measurement of the electric system based on FPGA according to claim 1 calculates, it is characterized in that: said interpolated data is the resampling value of 2048 in single-revolution ripple, said DFT computing module is 2048 a DFT computing module.
4. the device that the synchronous vector measurement of the electric system based on FPGA according to claim 1 calculates, it is characterized in that: this device also comprises the A/D circuit, said synchronized sampling module is carried out synchronized sampling through the A/D circuit to the analog quantity of electric system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102146070A CN102735971A (en) | 2012-06-26 | 2012-06-26 | Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102146070A CN102735971A (en) | 2012-06-26 | 2012-06-26 | Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102735971A true CN102735971A (en) | 2012-10-17 |
Family
ID=46991820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102146070A Pending CN102735971A (en) | 2012-06-26 | 2012-06-26 | Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102735971A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713552A (en) * | 2013-12-23 | 2014-04-09 | 国电南瑞科技股份有限公司 | Self-adaptive dynamic synchronous sampling control device and method based on pulse per second |
CN103901292A (en) * | 2013-12-04 | 2014-07-02 | 国家电网公司 | Data sampling interpolation method |
CN104280636A (en) * | 2014-10-10 | 2015-01-14 | 深圳市中电电力技术股份有限公司 | Matching loop full-digital type power quality monitoring device and method adopting three-tier architecture |
CN104636595A (en) * | 2014-12-23 | 2015-05-20 | 深圳市航天泰瑞捷电子有限公司 | Fast quadratic interpolation method in electric power measurement |
CN105242103A (en) * | 2015-08-28 | 2016-01-13 | 南京国电南自美卓控制***有限公司 | Busbar voltage measurement method of factory-use power-supply rapid switching apparatus |
CN106018960A (en) * | 2016-07-13 | 2016-10-12 | 东北电力大学 | Synchronous phasor measurement method based on compressed sensing |
CN106547240A (en) * | 2016-10-27 | 2017-03-29 | 国电南瑞科技股份有限公司 | A kind of port sample rate can separate configurations site collection and control public terminals and method |
CN110568309A (en) * | 2019-08-08 | 2019-12-13 | 中国农业大学 | Filter, synchronous phasor measurement system and method |
CN110890890A (en) * | 2018-09-10 | 2020-03-17 | 南京南瑞继保电气有限公司 | Analog quantity multi-sampling rate conversion method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135570A (en) * | 2011-02-25 | 2011-07-27 | 上海思源弘瑞自动化有限公司 | Synchronous phasor measuring method and device for intelligent transformer substation |
CN201935967U (en) * | 2010-12-10 | 2011-08-17 | 南京灿能电气自动化有限公司 | High-speed power quality processing unit based on FPGA (field programmable gate array) |
-
2012
- 2012-06-26 CN CN2012102146070A patent/CN102735971A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201935967U (en) * | 2010-12-10 | 2011-08-17 | 南京灿能电气自动化有限公司 | High-speed power quality processing unit based on FPGA (field programmable gate array) |
CN102135570A (en) * | 2011-02-25 | 2011-07-27 | 上海思源弘瑞自动化有限公司 | Synchronous phasor measuring method and device for intelligent transformer substation |
Non-Patent Citations (2)
Title |
---|
乔洪新等: "基于二次插值理论的电子式互感器数据同步的研究", 《电力***保护与控制》 * |
路艳洁: "电力***频率及相量测量的算法研究", 《中国优秀硕士学位论文全文数据库 工程科技II期》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103901292A (en) * | 2013-12-04 | 2014-07-02 | 国家电网公司 | Data sampling interpolation method |
CN103713552A (en) * | 2013-12-23 | 2014-04-09 | 国电南瑞科技股份有限公司 | Self-adaptive dynamic synchronous sampling control device and method based on pulse per second |
CN104280636A (en) * | 2014-10-10 | 2015-01-14 | 深圳市中电电力技术股份有限公司 | Matching loop full-digital type power quality monitoring device and method adopting three-tier architecture |
CN104636595A (en) * | 2014-12-23 | 2015-05-20 | 深圳市航天泰瑞捷电子有限公司 | Fast quadratic interpolation method in electric power measurement |
CN105242103A (en) * | 2015-08-28 | 2016-01-13 | 南京国电南自美卓控制***有限公司 | Busbar voltage measurement method of factory-use power-supply rapid switching apparatus |
CN106018960B (en) * | 2016-07-13 | 2019-05-03 | 东北电力大学 | A kind of synchronous phasor measuring method based on compression sensing |
CN106018960A (en) * | 2016-07-13 | 2016-10-12 | 东北电力大学 | Synchronous phasor measurement method based on compressed sensing |
CN106547240A (en) * | 2016-10-27 | 2017-03-29 | 国电南瑞科技股份有限公司 | A kind of port sample rate can separate configurations site collection and control public terminals and method |
CN106547240B (en) * | 2016-10-27 | 2019-05-31 | 国电南瑞科技股份有限公司 | A kind of port sample rate can separate configurations site acquisition and control public terminals and method |
CN110890890A (en) * | 2018-09-10 | 2020-03-17 | 南京南瑞继保电气有限公司 | Analog quantity multi-sampling rate conversion method and device |
CN110890890B (en) * | 2018-09-10 | 2022-07-22 | 南京南瑞继保电气有限公司 | Analog quantity multi-sampling rate conversion method and device |
CN110568309A (en) * | 2019-08-08 | 2019-12-13 | 中国农业大学 | Filter, synchronous phasor measurement system and method |
CN110568309B (en) * | 2019-08-08 | 2020-11-06 | 中国农业大学 | Filter, synchronous phasor measurement system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102735971A (en) | Device for measuring and computing synchronous vector of power system based on field programmable gate array (FPGA) | |
CN102435844B (en) | Sinusoidal signal phasor calculating method being independent of frequency | |
JPWO2008126240A1 (en) | Synchronous phasor measuring device and phase angle difference measuring device between buses using the same | |
Romano et al. | A high-performance, low-cost PMU prototype for distribution networks based on FPGA | |
CN102128982A (en) | Harmonic analysis method based on windowed interpolation FFT (Fast Fourier Transform) base frequency tracking technology | |
CN104375006B (en) | A kind of Fast synchronization phase amount correction method | |
CN104897962A (en) | Single-frequency signal short sample high precision frequency measurement method and device based on relatively prime perception | |
EP3037831A1 (en) | A system and a method for measuring power quality | |
CN102902879A (en) | Synchronous phasor calculation method based on discrete Fourier transform (DFT) recursion of field programmable gate array (FPGA) hardware | |
CN102955068A (en) | Harmonic detection method based on compressive sampling orthogonal matching pursuit | |
CN103969508B (en) | A kind of Electric Power Harmonic Analysis method high-accuracy in real time and device | |
CN102809687B (en) | Digital measurement method for alternating-current frequency | |
CN103543331B (en) | A kind of method calculating electric signal harmonic wave and m-Acetyl chlorophosphonazo | |
CN101937017A (en) | Dynamic direct-current removing method for intelligent electric meter during alternating-current sampling | |
CN111625769A (en) | PMU-SCADA data time synchronization and fusion method based on Lagrange interpolation and cubic exponential smoothing | |
CN117150988B (en) | High-precision clock generation method, device, equipment and medium for verification environment | |
CN102495285A (en) | Method for estimating power harmonic wave parameter by using power gravity center of symmetric window function | |
CN106970265B (en) | A method of harmonic parameters are estimated using the incomplete S-transformation of Multiple Time Scales | |
CN105629219B (en) | The method of balanced range accuracy and operand | |
Laverty et al. | An open source analogue to digital converter for power system measurements with time synchronisation | |
CN105429629A (en) | Phase locking method based on FPGA and phase-locked loop adopting same | |
JP5188449B2 (en) | Synchronous phasor measuring device | |
KR101463045B1 (en) | Method for Removing DC component of fault current | |
CN103267896B (en) | The measuring method of initial phase angle of periodic signal | |
CN109030942A (en) | Humorous phase angle analysis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121017 |