CN104155509A - Method of acquiring power signal phase difference of power system - Google Patents
Method of acquiring power signal phase difference of power system Download PDFInfo
- Publication number
- CN104155509A CN104155509A CN201410404010.1A CN201410404010A CN104155509A CN 104155509 A CN104155509 A CN 104155509A CN 201410404010 A CN201410404010 A CN 201410404010A CN 104155509 A CN104155509 A CN 104155509A
- Authority
- CN
- China
- Prior art keywords
- electric quantity
- sampling
- calculation
- phasor difference
- link
- 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.)
- Granted
Links
Landscapes
- Measurement Of Current Or Voltage (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明涉及一种电力系统电量信号相量差的获取方法。在现有技术中电量相量差计算中,所涉及相量的角频率必须相同。在硬件采样频率固定的情况下,通常采用傅里叶变换来完成上述要求,但傅里叶计算较为复杂,硬件计算时间较长,因而未能得到广泛应用。在本发明所述电量相量差计算过程包括模拟电量采集环节、A/D转换及采样环节、电量参数计算及校正环节。在本发明中利用简洁的循环算法计算电量相量差解决上述问题,同时满足工程精度需求。该方法减轻了数字信号处理器的运行负担,使其能高效的进行信号处理;亦不需要增加硬件开销,更改硬件设计;同时,所提方法可普遍应用于其他电力系统场合。
The invention relates to a method for acquiring the phasor difference of electric quantity signals in a power system. In the calculation of electric quantity phasor difference in the prior art, the angular frequencies of the involved phasors must be the same. When the sampling frequency of the hardware is fixed, the Fourier transform is usually used to fulfill the above requirements, but the Fourier transform is complex and takes a long time for hardware calculation, so it has not been widely used. The calculation process of the electric quantity phasor difference in the present invention includes an analog electric quantity acquisition link, an A/D conversion and sampling link, an electric quantity parameter calculation and a correction link. In the present invention, the above-mentioned problem is solved by using a concise cycle algorithm to calculate the electric quantity phasor difference, and at the same time, the requirement of engineering precision is met. This method reduces the operational burden of the digital signal processor, enabling it to perform signal processing efficiently; it does not need to increase hardware overhead and change hardware design; at the same time, the proposed method can be generally applied to other power system occasions.
Description
技术领域technical field
本发明涉及一种相量差的获取方法,特别是一种电力系统电量信号相量差的获取方法。The invention relates to a method for acquiring a phasor difference, in particular to a method for acquiring a phasor difference of an electric quantity signal of a power system.
背景技术Background technique
电力系统中相量的幅值是一个重要的观测量:在电力系力系统中,频率电压紧急控制装置需要实时测量其相量的幅值变化而作出相应控制措施;储能系统需要时刻监测相量的幅值以确定功率类型及其流向;并网核相装置精确保证相量幅值范围才能并网等。The magnitude of the phasor in the power system is an important observation quantity: in the force system of the power system, the emergency control device of frequency and voltage needs to measure the change of the magnitude of its phasor in real time and take corresponding control measures; the energy storage system needs to monitor the phase The amplitude of the phasor is used to determine the power type and its flow direction; the grid-connected phase verification device can accurately ensure the range of the phasor amplitude to be connected to the grid, etc.
当前电力系统领域应用最多的相量幅值计算方法是均方根法和傅里叶变换算法,但无论是均方根法或傅里叶变换算法,都要求采样间隔Ts与每周波采样点数N、周期T满足严格的计算关系否则,计算出来的幅值会产生较大的误差,甚至于某些场合下其误差太大不可被接受。当电力系统频率发生变化后,解决上述问题的方案通常是调整A/D的采样脉冲使其满足关系式进行同步采样,使其满足误差要求。这种计算过程相对繁琐且使用范围受频率限制,因此亟需提出一种工程普遍适用且测量精度较高的电力系统相量差计算方法,以解决当前工程实施中面临的上述问题。At present, the most widely used phasor amplitude calculation methods in the power system field are the root mean square method and the Fourier transform algorithm, but both the root mean square method and the Fourier transform algorithm require the sampling interval T s and the number of sampling points per cycle N, period T satisfy strict calculation relationship Otherwise, the calculated amplitude will have a large error, and even in some occasions, the error is too large to be acceptable. When the frequency of the power system changes, the solution to the above problems is usually to adjust the sampling pulse of the A/D to satisfy the relation Simultaneous sampling is carried out so that it meets the error requirements. This calculation process is relatively cumbersome and the scope of application is limited by frequency. Therefore, it is urgent to propose a calculation method for power system phasor difference that is generally applicable to engineering and has high measurement accuracy, so as to solve the above-mentioned problems in current engineering implementation.
发明内容Contents of the invention
本发明的目的是提供一种简便的电力系统电量信号相量差的获取方法。The purpose of the present invention is to provide a simple method for acquiring the phasor difference of electric quantity signal of electric power system.
本发明采用以下方案来实现:一种电力系统电量信号相量差的获取方法,其特征在于:包括提供模拟电量采集环节、A/D转换及采样环节及电量参数计算及校正环节;具体步骤为:步骤S01:通过互感器、低通滤波电路及整形电路将电力系统中高电压、大电流转化为测量系统接受的电压等级,供后续电路使用;步骤S02:将模拟电量采集环节提供的连续模拟信号转化为能被所述测量系统中的数字模块利用的离散数字信号;步骤S03:利用所述的离散数字信号,计算电量有效值和电量相量差,同时利用计算的电量有效值检验整个计算方法的合理性。The present invention adopts the following schemes to realize: a method for obtaining the phasor difference of electric quantity signals in a power system, which is characterized in that it includes providing analog electric quantity acquisition links, A/D conversion and sampling links, and electric quantity parameter calculation and correction links; the specific steps are as follows: : Step S01: Transform the high voltage and high current in the power system into the voltage level accepted by the measurement system through the transformer, low-pass filter circuit and shaping circuit, for the subsequent circuit to use; Step S02: Convert the continuous analog signal provided by the analog power collection link Converted into discrete digital signals that can be utilized by the digital modules in the measurement system; Step S03: Using the discrete digital signals, calculate the effective value of electricity and the phasor difference of electricity, and use the calculated effective value of electricity to verify the entire calculation method rationality.
其中所述的步骤S03具体步骤包括:S031:根据需要的计算精度,设定输入采样点数N,由计算机程序生成m个空数组Sample_i[N],其中m为A/D采样环节输入的电量路数,i为采样电压序号,i=1,2,3…;S032:所述测量系统中的计数器开始计数,将采样计数设为SAM_CNT,将输入的N个离散点保存为Sample_i[n],Sample_i[n]为第i路离散量的第n个采样值;The specific steps of step S03 described therein include: S031: According to the required calculation accuracy, set the number of input sampling points N, and generate m empty arrays Sample_i[N] by the computer program, where m is the electrical circuit input by the A/D sampling link number, i is the serial number of the sampling voltage, i=1, 2, 3...; S032: the counter in the measurement system starts counting, sets the sampling count as SAM_CNT, and saves the input N discrete points as Sample_i[n], Sample_i[n] is the nth sampling value of the i-th discrete quantity;
S033:根据
S034:利用万用表或其他精密测量仪器确定需要测试电量精确值,记为Xi,向所述测量系统输入该精确值,计算可得到校正参数K:然后根据公式Xij=K×Ueij (4)得到输入电量i,j的相量差Xij;S035:采样计数SAM_CNT加1,返回步骤S031,每次计算都需要刷新输出显示值,直至SAM_CNT等于N。S034: Use a multimeter or other precision measuring instruments to determine the exact value of the electricity to be tested, denoted as Xi , input the exact value into the measurement system, and calculate the correction parameter K: Then according to the formula X ij =K×U eij (4), the phasor difference X ij of the input electric quantity i and j is obtained; S035: add 1 to the sampling count SAM_CNT, and return to step S031, and each calculation needs to refresh the output display value until SAM_CNT equal to N.
电力系统电量信号相量差的获取方法能通过简洁的循环算法计算出不同频率下的电力系统,符合工程应用要求的电量相量差。本发明避免了繁琐的傅里叶换算过程,根据工程需要设定计算精度,再进行一次校正,使用过程中可验证参数并更正,使其在工程实际中得到真正应用,同时不受频率影响,进一步提升其工程适用性。所提相量差计算方法同样可方便应用于其他电力系统场合。The method for obtaining the phasor difference of the power signal of the power system can calculate the power system at different frequencies through a simple cycle algorithm, and the power phasor difference that meets the requirements of engineering applications. The invention avoids the tedious Fourier conversion process, sets the calculation accuracy according to the engineering needs, and then performs a correction. During the use process, the parameters can be verified and corrected, so that it can be truly applied in engineering practice, and at the same time, it is not affected by frequency. Further improve its engineering applicability. The proposed phasor difference calculation method can also be easily applied to other power system occasions.
附图说明Description of drawings
图1本发明获取电力系统电量参数相量差的流程框图。Fig. 1 is a flow chart of the present invention for obtaining the phasor difference of electric quantity parameters of a power system.
图2本发明电量参数计算及校正的流程图。Fig. 2 is a flow chart of calculation and correction of power parameters in the present invention.
具体实施方式Detailed ways
下面结合附图及实施例对本发明做进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
图1为本发明具体流程框图。在本发明所述电量相量差计算过程包括模拟电量采集环节、A/D转换及采样环节、电量参数计算及校正环节。Fig. 1 is a specific flow chart of the present invention. The calculation process of the electric quantity phasor difference in the present invention includes an analog electric quantity acquisition link, an A/D conversion and sampling link, an electric quantity parameter calculation and a correction link.
其中所述模拟电量采集环节是通过互感器、低通滤波电路、整形电路将电力系统中高电压、大电流等电量转化为测量系统可以接受的电压、电流等级,以供后续电路使用。电力系统的高电压、大电流先经过互感器,然后经过低通滤波器将高次谐波滤除,最后通过整形电路将高电压、大电流等电量转化为测量系统可以接受的电压、电流等级。在具体实施例中模拟电量采集环节输入端为电压等级较高的电压或者电流信号,输出为-5~5V电压等级的电压信号。The analog power acquisition link is to convert high voltage and high current in the power system into voltage and current levels acceptable to the measurement system through transformers, low-pass filter circuits, and shaping circuits for use in subsequent circuits. The high voltage and high current of the power system first pass through the transformer, then pass through the low-pass filter to filter out the high-order harmonics, and finally convert the high voltage and high current into acceptable voltage and current levels for the measurement system through the shaping circuit . In a specific embodiment, the input terminal of the analog power collection link is a voltage or current signal with a higher voltage level, and the output is a voltage signal with a voltage level of -5 to 5V.
所述A/D转化及采样环节实现模拟信号向数字信号的转换,将模拟电量采集环节提供的连续模拟信号转化为能被数字系统利用的离散数字信号,输出的离散数字信号可以供电量参数计算环节进行电量相关参数及相量差计算。The A/D conversion and sampling link realizes the conversion of analog signal to digital signal, and converts the continuous analog signal provided by the analog power collection link into a discrete digital signal that can be used by the digital system, and the output discrete digital signal can be used to calculate power supply parameters In this link, the power related parameters and phasor difference calculations are carried out.
所述电量参数计算及校正环节的参数计算包括电量有效值和电量相量差有效值计算,其中电量有效值计算结果可用于检验整个计算方法的合理性。The parameter calculation in the power parameter calculation and calibration link includes the calculation of the effective value of the electric quantity and the effective value of the phasor difference of the electric quantity, wherein the calculation result of the effective electric quantity can be used to check the rationality of the entire calculation method.
图2为电量参数计算及校正环节的参数计算具体流程图。包括以下具体步骤:Fig. 2 is a specific flow chart of parameter calculation in the power parameter calculation and calibration link. Include the following specific steps:
(1):根据需要的计算精度,由工作人员手动或自动设定输入采样点数N,由计算机程序生成m个空数组Sample_i[N],其中m为A/D采样环节输入的电量路数,i为采样电压序号,i=1,2,3…;(2):所述测量系统中的计数器开始计数,将采样计数设为SAM_CNT,将输入的N个离散点保存为Sample_i[n],Sample_i[n]为第i路离散量的第n个采样值;(3):根据
本发明的一具体实施例中:In a specific embodiment of the present invention:
测量一互感器输入端电量的相量差,工作人员手动或自动设定输入采样点数N,根据实际工程计算精度需获取N为每周期采样256点;计算程序生成m(m=2)个空数组Sample_i[256],即A/D采样环节2路输入,测量系统计数器开始计数,将A/D采样环节输入的256个离散点保存为Sample_i[n](i=1,2;n=1,2,3…256)。Sample_i[n]为第i路离散量的第n个采样值。To measure the phasor difference of the input power of a transformer, the staff manually or automatically set the number of input sampling points N, and according to the actual engineering calculation accuracy, N needs to be obtained as 256 sampling points per cycle; the calculation program generates m (m=2) empty The array Sample_i[256], that is, the 2-way input of the A/D sampling link, the measurement system counter starts counting, and saves the 256 discrete points input by the A/D sampling link as Sample_i[n] (i=1, 2; n=1 ,2,3...256). Sample_i[n] is the nth sampling value of the i-th discrete quantity.
利用万用表或其他精密测量仪器测量所述互感器输入端电量精确值,记为Xi,通过测量系统的人机交互接口输入该精确值,通过公式(3)得到从而得到校正参数K,将具体值代入公式(4)得到X12=K×Ue12 (7),从而得到输入电量X1、X2的相量差X12。采样计数SAM_CNT加1,重新开始计算,每次计算都需要刷新显示值,直至SAM_CNT为N。Use a multimeter or other precision measuring instruments to measure the precise value of the electric quantity at the input end of the transformer, denoted as X i , input the precise value through the human-computer interaction interface of the measurement system, and obtain the correction parameter K through formula (3), which will be specifically Values are substituted into the formula (4) to get X 12 =K×U e12 (7), thus obtaining the phasor difference X 12 of the input electric quantities X 1 and X 2 . The sampling count SAM_CNT is increased by 1, and the calculation is restarted. Each calculation needs to refresh the displayed value until SAM_CNT is N.
上述实施例不以任何方式限制本发明,凡依本发明技术方案所作的改变,所产生的功能作用未超出本发明技术方案的范围时,均属于本发明的保护范围。The above-mentioned embodiments do not limit the present invention in any way, and all changes made according to the technical solution of the present invention, when the functional effect produced does not exceed the scope of the technical solution of the present invention, all belong to the protection scope of the present invention.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410404010.1A CN104155509B (en) | 2014-08-18 | 2014-08-18 | A Method for Acquiring Phasor Difference of Electricity Signal in Power System |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410404010.1A CN104155509B (en) | 2014-08-18 | 2014-08-18 | A Method for Acquiring Phasor Difference of Electricity Signal in Power System |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104155509A true CN104155509A (en) | 2014-11-19 |
| CN104155509B CN104155509B (en) | 2016-11-02 |
Family
ID=51881062
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410404010.1A Active CN104155509B (en) | 2014-08-18 | 2014-08-18 | A Method for Acquiring Phasor Difference of Electricity Signal in Power System |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104155509B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5899960A (en) * | 1994-05-19 | 1999-05-04 | Reliable Power Meters, Inc. | Apparatus and method for power disturbance analysis and storage of power quality information |
| US6598003B1 (en) * | 2000-10-31 | 2003-07-22 | Rx Monitoring Services, Llc | Power and environmental condition monitoring system and method |
| CN202372569U (en) * | 2011-12-27 | 2012-08-08 | 苏州银河龙芯科技有限公司 | Power parameter measuring device |
| CN102749542A (en) * | 2012-07-17 | 2012-10-24 | 江苏中凌高科技有限公司 | Power quality monitoring device based on double-velocity double-range sampling |
| CN103543335A (en) * | 2013-10-30 | 2014-01-29 | 国家电网公司 | Method for measuring synchronous phasor |
-
2014
- 2014-08-18 CN CN201410404010.1A patent/CN104155509B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5899960A (en) * | 1994-05-19 | 1999-05-04 | Reliable Power Meters, Inc. | Apparatus and method for power disturbance analysis and storage of power quality information |
| US6598003B1 (en) * | 2000-10-31 | 2003-07-22 | Rx Monitoring Services, Llc | Power and environmental condition monitoring system and method |
| CN202372569U (en) * | 2011-12-27 | 2012-08-08 | 苏州银河龙芯科技有限公司 | Power parameter measuring device |
| CN102749542A (en) * | 2012-07-17 | 2012-10-24 | 江苏中凌高科技有限公司 | Power quality monitoring device based on double-velocity double-range sampling |
| CN103543335A (en) * | 2013-10-30 | 2014-01-29 | 国家电网公司 | Method for measuring synchronous phasor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104155509B (en) | 2016-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102162842B (en) | Online check meter of high-voltage electric energy metering device | |
| CN100489555C (en) | Universal electric power mutual-inductor verification device | |
| CN201993463U (en) | Testing device of digital electric energy meter | |
| CN101807795A (en) | Method for forming electric energy metering simulation system and device thereof | |
| CN103630871A (en) | Testing device for dynamic characteristics of electronic energy meter | |
| CN202305785U (en) | Calibrating device based on tracing technology for 0.05-level DC electric energy meter | |
| CN104635094A (en) | Method for improving PMU (power management unit) synchronous phasor measurement precision | |
| CN104076317A (en) | Power harmonic-caused electronic-type electric energy meter metering error analyzing and correcting system | |
| CN105487034A (en) | 0.05-level electronic transformer verification method and system | |
| CN112415457A (en) | A method and system for realizing AC quantity acquisition and calibration of power comprehensive tester | |
| CN103257273A (en) | Method for measuring phase difference of signals with same frequency period | |
| CN203069774U (en) | System for evaluating accuracy of digital electric energy meter | |
| CN103604992A (en) | Wireless nuclear phase on-load correction protection method and system for secondary circuit of substation | |
| CN106443563A (en) | Field environment based integrated calibrating and analytic device of digital electric energy meter | |
| CN103901384A (en) | Device and method for detecting analog quantity output standard power source and digital quantity output standard power source | |
| CN105403848A (en) | Verification device for novel capacitive equipment on-line monitoring system | |
| CN105676160A (en) | Electronic transformer calibrator traceability method and system | |
| CN113064021B (en) | Measurement and control device and method for realizing power electronic power grid higher harmonic suppression | |
| CN106645942A (en) | Low cost and high precision embedded type signal collection and analysis system and method | |
| CN105548947A (en) | Method and system of synchronization traceability of digitalization electric energy meter | |
| CN201689168U (en) | Calibration test device of an electronic transformer calibration instrument | |
| CN205374726U (en) | Digital electric energy meter device of tracing to source in step | |
| CN201583642U (en) | Digital electric energy meter calibration device and system | |
| CN109239463B (en) | Dielectric loss measurement method based on linear correction algorithm | |
| CN103926550A (en) | Device and method for checking electric transformer based on virtual instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |