CN103383414B - A kind of computing method being applied to the voltage angle of distribution terminal - Google Patents
A kind of computing method being applied to the voltage angle of distribution terminal Download PDFInfo
- Publication number
- CN103383414B CN103383414B CN201310288393.6A CN201310288393A CN103383414B CN 103383414 B CN103383414 B CN 103383414B CN 201310288393 A CN201310288393 A CN 201310288393A CN 103383414 B CN103383414 B CN 103383414B
- Authority
- CN
- China
- Prior art keywords
- voltage
- sets
- distribution terminal
- value
- power distribution
- 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.)
- Expired - Fee Related
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000005259 measurement Methods 0.000 abstract description 2
- 241001269238 Data Species 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
技术领域 technical field
本发明涉及电路数据处理,特别是一种应用于配电终端的电压夹角的计算方法。 The invention relates to circuit data processing, in particular to a method for calculating voltage angles applied to power distribution terminals.
背景技术 Background technique
配电终端是DA (配电自动化)系统的重要组成部分,位于基础层。DA系统的实时数据、故障自动处理的判据、开关设备的运行工况等数据都来源于配电终端,故障隔离、负荷转移、恢复非故障区段的供电、对馈线上开关的分/合操作都是通过配电终端去执行, 配电终端工作的可靠性、实时性直接影响整个DA系统的可靠性和实时性。 The distribution terminal is an important part of the DA (distribution automation) system and is located at the base layer. The real-time data of the DA system, the criterion for automatic fault processing, and the operating conditions of the switchgear are all derived from the power distribution terminal. The operation is performed through the power distribution terminal. The reliability and real-time performance of the power distribution terminal directly affect the reliability and real-time performance of the entire DA system.
在对电压进行同期测量时,需要计算两个电压间的夹角。配电终端对于夹角的计算一般采用傅氏变换法,计算出电压的虚部与实部,然后通过反正切计算各相电压夹角。傅氏计算需要完整的电压信号样本,但电压信号是一个变化的过程,这样在电压信号周期变化时,如果样本数据不齐全,实部和虚部的计算会出现误差,导致夹角计算出现误差,并且反正切的计算涉及到浮点运算,对CPU的资源消耗较高。 When measuring the voltage simultaneously, it is necessary to calculate the angle between the two voltages. For the calculation of the included angle of the power distribution terminal, the Fourier transform method is generally used to calculate the imaginary part and the real part of the voltage, and then the arc tangent is used to calculate the included angle of each phase voltage. Fourier calculation requires a complete voltage signal sample, but the voltage signal is a changing process, so when the voltage signal changes periodically, if the sample data is incomplete, the calculation of the real part and the imaginary part will have errors, resulting in errors in the calculation of the included angle , and the calculation of the arctangent involves floating-point operations, which consumes a lot of CPU resources.
发明内容 Contents of the invention
为解决上述问题,本发明的目的在于提供一种应用于配电终端的电压夹角计算方法,降低信号变化频率对结果的影响,并提高去处效率。 In order to solve the above problems, the object of the present invention is to provide a voltage angle calculation method applied to power distribution terminals, which can reduce the influence of the frequency of signal changes on the results and improve the removal efficiency.
本发明解决其问题所采用的技术方案是: The technical scheme that the present invention solves its problem adopts is:
一种应用于配电终端的电压夹角的计算方法,包括: A method for calculating a voltage angle applied to a power distribution terminal, comprising:
通过配电终端的采集电路采集两组电压,所述采集电路在采集两组电压后,将两组电压转换为两组相互对应的电压离散值; Collecting two sets of voltages through the acquisition circuit of the power distribution terminal, the acquisition circuit converts the two sets of voltages into two sets of voltage discrete values corresponding to each other after collecting the two sets of voltages;
采集电路将处理所得的两组相互对应的电压离散值传送至配电终端的处理器,所述处理器与采集电路电气连接,处理器根据此两组相互对应的电压离散值计算两组电压离散值中相互对应的两个离散电压值相乘后的结果,并对每两个离散电压值相乘后所得的结果求和; The acquisition circuit transmits the processed two sets of corresponding voltage discrete values to the processor of the power distribution terminal, the processor is electrically connected to the acquisition circuit, and the processor calculates the two sets of voltage discrete values based on the two sets of corresponding voltage discrete values. The result of multiplying two discrete voltage values corresponding to each other in the value, and summing the results obtained after multiplying each two discrete voltage values;
处理器根据得出的和值计算两个离散电压值相乘后的平均值,以此平均值为分子,以两组电压离散值分别对应的电压有效值的乘积为分母,得出分子与分母之间的运算值; The processor calculates the average value of the multiplication of two discrete voltage values based on the obtained sum value. The average value is used as the numerator, and the product of the voltage effective values corresponding to the two sets of voltage discrete values is used as the denominator to obtain the numerator and denominator The operation value between;
处理器根据此运算值查找反余弦表,从反余弦表中查找出此运算值所对应的角度值,所述反余弦表存储于配电终端的存储器中,配电终端会自动检索并读取数据,所述反余弦表包含有不同运算值所对应的角度值。 The processor searches the arccosine table according to the calculated value, and finds the angle value corresponding to the calculated value from the arccosine table. The arccosine table is stored in the memory of the power distribution terminal, and the power distribution terminal will automatically retrieve and read Data, the arc cosine table contains angle values corresponding to different operation values.
所述采集电路在采集两组电压后,将两组电压转换为两组相互对应的电压离散值具体为:采集电路通过电压互感器PT对采集的两组电压进行处理,使采集的两组电压分别转变为对应的两组差分信号,两组差分信号通过AD转换器由模拟信号变换为两组相互对应的电压离散值,所述AD转换器与电压互感器PT电气连接,所述采集电路为电压互感器PT与AD转换器所连接的电路。 After the acquisition circuit acquires two sets of voltages, it converts the two sets of voltages into two sets of voltage discrete values corresponding to each other, specifically: the acquisition circuit processes the two sets of collected voltages through the voltage transformer PT, so that the two sets of collected voltages respectively converted into corresponding two sets of differential signals, and the two sets of differential signals are transformed from analog signals into two sets of voltage discrete values corresponding to each other through the AD converter, the AD converter is electrically connected with the voltage transformer PT, and the acquisition circuit is The circuit where the voltage transformer PT and the AD converter are connected.
所述方法还包括:所述处理器根据此运算值查找反余弦表前,处理器将此运算值放大1000倍,对应的,所述反余弦表为运算值放大1000倍后对应的反余弦角度值。 The method further includes: before the processor searches the arccosine table according to the calculated value, the processor amplifies the calculated value by 1000 times, correspondingly, the arccosine table is the corresponding arccosine angle after the calculated value is enlarged by 1000 times value.
本发明的有益效果是: The beneficial effects of the present invention are:
本发明采用一种应用于配电终端的电压夹角的计算方法,采集电路在采集电压后,特定计算避开了电压信号变化的影响,同时简化了计算,避免浮点运算增加CPU的运算负荷。 The present invention adopts a method for calculating the voltage angle applied to the power distribution terminal. After the acquisition circuit collects the voltage, the specific calculation avoids the influence of the change of the voltage signal, and at the same time simplifies the calculation, avoiding the increase of the calculation load of the CPU by floating-point calculation. .
附图说明 Description of drawings
下面结合附图和实例对本发明作进一步说明。 The present invention will be further described below in conjunction with accompanying drawing and example.
图1是本发明所述方法流程图; Fig. 1 is a flow chart of the method of the present invention;
具体实施方式 Detailed ways
配电终端在判断是否为同期电压时,需要对两个电压之间的夹角进行计算。本发明提供了一种获取此夹角的方法。 When the power distribution terminal judges whether it is a synchronous voltage, it needs to calculate the angle between the two voltages. The present invention provides a method for obtaining the included angle.
参照图1所示流程图,首先是采集电压,配电终端内部有采集电路,可以对电压进行采集,当然了,采集电路可以采集的电路上的信号不仅限于电压,电流、电阻等都可以。本发明的采集电路包括电压互感器PT与AD转换器,所述电压互感器PT与AD转换器电气连接。当有电压信号通过PT后,PT将该信号变换为Vp-p不超过4V的差分信号,其中Vp-p为转换后电压的峰值,AD转换器接收此差分信号,并将此模拟信号变换为对应的离散数据。本发明在应用时,采集电路会采集两组电压,此两组电压经PT后,会变换为对应的两组Vp-p不超过4V的差分信号,AD转换器接收此两组差分信号,将其转换为两组相互对应的电压离散值。 Referring to the flow chart shown in Figure 1, the first is to collect voltage. There is an acquisition circuit inside the power distribution terminal, which can collect voltage. Of course, the signal on the circuit that the acquisition circuit can collect is not limited to voltage, current, resistance, etc. can also be used. The acquisition circuit of the present invention includes a voltage transformer PT and an AD converter, and the voltage transformer PT is electrically connected to the AD converter. When a voltage signal passes through the PT, the PT converts the signal into a differential signal whose Vp-p does not exceed 4V, where Vp-p is the peak value of the converted voltage, and the AD converter receives the differential signal and converts the analog signal into Corresponding discrete data. When the present invention is applied, the acquisition circuit will collect two sets of voltages, and the two sets of voltages will be converted into corresponding two sets of differential signals whose Vp-p does not exceed 4V after PT, and the AD converter receives the two sets of differential signals, and converts It is converted into two sets of voltage discrete values corresponding to each other.
其次,对采集处理后的电压进行运算并得出运算结果,所述采集处理后的电压即为经采集电路处理后所得的两组相互对应的电压离散值。配电终端在采集电压时,采集的电压也可以多于两个,但在计算电压夹角时,则是对其中的两个进行计算。采集电路将处理所得的两组相互对应的电压离散值传送至配电终端的处理器,所述处理器与采集电路电气连接,处理器根据此两组相互对应的电压离散值计算两组电压离散值中相互对应的两个离散电压值相乘后的结果,并对每两个离散电压值相乘后所得的结果求和,处理器根据得出的和值计算两个离散电压值相乘后的平均值,以此平均值为分子,以两组电压离散值分别对应的电压有效值的乘积为分母,得出分子与分母之间的运算值。假设两组电压离散值中每一组均有N个对应的离散电压值,则对相互对应的两个相乘后的结果求和,即得出: ,其中Ua与Ub分别为两组相互对应的电压离散值,根据此和值得出相互对应的两个离散电压值相乘后的平均值:,以此平均值为分子,以与的乘积为分母,其中与分别为与、对应的电压有效值,得出最终的结果值:。普遍所知,在计算电压与电流之间的夹角时,可以采用以下公式计算:,其中为电压电流之间的夹角,P是有功功率,S是视在功率,N为采集的电压数据个数,与 分别为有效电压、电流。对比以上公式,则电压之间的夹角,比如电压Ua与Ub之间的夹角则可以通过公式进行计算,其中N值为转换所得离散数据的个数,与为转换所得的对应的电压离散数据,与分别为与、对应的电压有效值,此公式中的分子相当于第一个公式中的功率P,分母相当于第一个公式中的功率S,通过反余弦运算后即可得到相应的电压夹角。 Secondly, the collected and processed voltage is calculated and the calculation result is obtained, and the collected and processed voltage is two groups of corresponding voltage discrete values obtained after processing by the collecting circuit. When the power distribution terminal collects voltage, it can also collect more than two voltages, but when calculating the voltage angle, it calculates two of them. The acquisition circuit transmits the processed two sets of corresponding voltage discrete values to the processor of the power distribution terminal, the processor is electrically connected to the acquisition circuit, and the processor calculates the two sets of voltage discrete values based on the two sets of corresponding voltage discrete values. The result of multiplying two discrete voltage values corresponding to each other in the value, and summing the results obtained after multiplying each two discrete voltage values, the processor calculates the multiplied value of the two discrete voltage values according to the obtained sum value The average value of , with this average value as the numerator, and the product of the voltage effective values corresponding to the two sets of voltage discrete values as the denominator, the calculated value between the numerator and the denominator is obtained. Assuming that each of the two sets of voltage discrete values has N corresponding discrete voltage values, then sum the results of the two corresponding multiplications to obtain: , where Ua and Ub are two sets of discrete voltage values corresponding to each other, and the average value after multiplying the two discrete voltage values corresponding to each other is obtained according to this sum: , taking the average value as the numerator, and taking and The product of is the denominator, where and respectively with , Corresponding to the effective value of the voltage, the final result value is obtained: . It is generally known that when calculating the angle between voltage and current, the following formula can be used for calculation: ,in is the angle between the voltage and current, P is the active power, S is the apparent power, N is the number of voltage data collected, and are effective voltage and current, respectively. Compared with the above formula, the angle between voltages, such as the angle between voltage Ua and Ub, can be calculated by the formula Calculate, where N is the number of converted discrete data, and is the converted corresponding voltage discrete data, and respectively with , Corresponding to the effective value of the voltage, the numerator in this formula is equivalent to the power P in the first formula, and the denominator is equivalent to the power S in the first formula. After the arc cosine operation, the corresponding voltage angle can be obtained.
为了减少浮点运算,节省处理器的负荷,本发明在对电压进行运算时,只通过计算出相应的运算结果,运算结果的值落于区间[-1,1],然后将运算结果按照反余弦表检索查找出对应的角度值即可。所述反余弦表为事先根据运算结果制作而成,包含有不同运算值所对应的角度值,被存储于配电终端的存储器中,在需要时,配电终端可以自动检索并读取数据。 In order to reduce floating-point operations and save the load on the processor, the present invention only uses Calculate the corresponding operation result, the value of the operation result falls in the interval [-1, 1], and then search the operation result according to the arc cosine table to find the corresponding angle value. The arc cosine table is made in advance according to the calculation results, contains angle values corresponding to different calculation values, and is stored in the memory of the power distribution terminal. When necessary, the power distribution terminal can automatically retrieve and read the data.
在最终根据结果查找反余弦表时,运算结果会被放大1000倍,对应的,反余弦表中的运算结果与对应的角度值为事先根据运算结果放大1000后制作的角度值。 When finally searching the arccosine table based on the result, the operation result will be magnified by 1000 times. Correspondingly, the operation result and the corresponding angle value in the arccosine table are the angle values made after the operation result is enlarged by 1000 in advance.
使用本发明所述方法,分别对四个周期的波段进行电压之间的夹角计算,具体结果参见下表所示测量结果与真实数据之间的对比,从表中即可看出,只要保证有足够的样本数据提供计算,本发明可以计算出准确的电压夹角,计算出的电压夹角值完全满足实际应用,并且运算简单,不受信号频率变化的影响,且避免了浮点运算,提高了运算效率。 Use the method of the present invention to calculate the included angle between the voltages for the four cycle bands respectively. For the specific results, refer to the comparison between the measurement results shown in the table below and the real data. As can be seen from the table, as long as it is ensured There are enough sample data to provide calculation, the present invention can calculate the accurate voltage angle, the calculated voltage angle value fully meets the practical application, and the operation is simple, not affected by the signal frequency change, and avoids the floating point operation, Improved operational efficiency.
以上所述,只是本发明的较佳实施例而已,本发明并不局限于上述实施方式,只要其以相同的手段达到本发明的技术效果,都应属于本发明的保护范围。 The above descriptions are only preferred embodiments of the present invention, and the present invention is not limited to the above-mentioned embodiments, as long as they achieve the technical effects of the present invention by the same means, they should all belong to the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310288393.6A CN103383414B (en) | 2013-07-10 | 2013-07-10 | A kind of computing method being applied to the voltage angle of distribution terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310288393.6A CN103383414B (en) | 2013-07-10 | 2013-07-10 | A kind of computing method being applied to the voltage angle of distribution terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103383414A CN103383414A (en) | 2013-11-06 |
CN103383414B true CN103383414B (en) | 2015-09-30 |
Family
ID=49491258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310288393.6A Expired - Fee Related CN103383414B (en) | 2013-07-10 | 2013-07-10 | A kind of computing method being applied to the voltage angle of distribution terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103383414B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU983572A1 (en) * | 1979-10-26 | 1982-12-23 | Ордена Ленина Институт Кибернетики Ан Усср | Electric signal phase shift measuring method |
CN101315397A (en) * | 2008-06-25 | 2008-12-03 | 中国海洋石油总公司 | Amplitude phase measuring method |
CN101408568A (en) * | 2007-10-12 | 2009-04-15 | 深圳科士达科技股份有限公司 | Method and device for measuring electrical signal phase of alternating current |
CN102043091A (en) * | 2009-10-21 | 2011-05-04 | 中国科学院半导体研究所 | Digitized high-precision phase detector |
CN102095932A (en) * | 2010-12-02 | 2011-06-15 | 山东电力研究院 | Detection method of voltage phase at access point of photovoltaic inverter |
CN102809688A (en) * | 2012-07-13 | 2012-12-05 | 中冶南方工程技术有限公司 | Method for calculating three-phase voltage real-time phase based on Iterative Fourier transform |
-
2013
- 2013-07-10 CN CN201310288393.6A patent/CN103383414B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU983572A1 (en) * | 1979-10-26 | 1982-12-23 | Ордена Ленина Институт Кибернетики Ан Усср | Electric signal phase shift measuring method |
CN101408568A (en) * | 2007-10-12 | 2009-04-15 | 深圳科士达科技股份有限公司 | Method and device for measuring electrical signal phase of alternating current |
CN101315397A (en) * | 2008-06-25 | 2008-12-03 | 中国海洋石油总公司 | Amplitude phase measuring method |
CN102043091A (en) * | 2009-10-21 | 2011-05-04 | 中国科学院半导体研究所 | Digitized high-precision phase detector |
CN102095932A (en) * | 2010-12-02 | 2011-06-15 | 山东电力研究院 | Detection method of voltage phase at access point of photovoltaic inverter |
CN102809688A (en) * | 2012-07-13 | 2012-12-05 | 中冶南方工程技术有限公司 | Method for calculating three-phase voltage real-time phase based on Iterative Fourier transform |
Non-Patent Citations (2)
Title |
---|
一种新的相位(差)算法及其在自动准同期中的应用;陈小桥等;《武汉大学学报( 工学版)》;20031231;第36卷(第6期);96-99 * |
由80C196KC 单片机构成整流电路的自适应数字触发器;王鸿雁等;《继电器》;20010131;第29卷(第1期);41-43 * |
Also Published As
Publication number | Publication date |
---|---|
CN103383414A (en) | 2013-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112684397B (en) | Electric energy meter operation error monitoring method and system based on high-frequency HPLC (high Performance liquid chromatography) data | |
CN103185837B (en) | Method for measuring frequency of power system | |
CN109307798B (en) | A power signal filtering method for switching event detection | |
CN102508031A (en) | Fourier series based measurement method of phase angle of partial discharge pulse | |
WO2017113754A1 (en) | Method for detecting dynamic reactive power of grid and reactive power detector | |
CN108876068A (en) | A kind of electric network fault predicted detection method and device | |
CN112924779A (en) | Non-invasive load identification method and device and terminal equipment | |
CN106226590A (en) | A kind of synchronous phase measuring in power system method | |
CN104502707A (en) | Synchronized phasor measurement method for electrical power system based on cubic spline interpolation | |
CN113608023A (en) | Sampling frequency self-adaptive harmonic detection method and system | |
CN202230155U (en) | Three-phase digital intelligent electric energy quality detection device | |
CN115616473A (en) | Identification method, device, equipment and storage medium of ultra-difference electric energy meter | |
CN103383414B (en) | A kind of computing method being applied to the voltage angle of distribution terminal | |
CN111366796A (en) | Phase sequence detection method of three-phase alternating current power supply | |
CN101718816A (en) | Fundamental wave and harmonic wave detection method based on four-item coefficient Nuttall window interpolation FFT | |
CN112415328B (en) | Fault positioning method and system based on cubic B spline wavelet and interpolation algorithm | |
CN102221643A (en) | Converter harmonic detector of direct current mine hoist | |
CN106771491B (en) | Zero-sequence voltage measurement method and device | |
CN104391176A (en) | Software and hardware frequency measurement circuit compatible with electric power system signals | |
CN118130895A (en) | Power distribution cabinet monitoring method and system | |
CN112946515A (en) | Online monitoring method and device for converter transformer network side sleeve | |
CN103018547A (en) | Normalizing multiprocessor electric power metering method | |
CN107085133A (en) | Method and device for calculating single-phase virtual value | |
CN203054128U (en) | Electric power parameter detection system | |
CN115754812A (en) | Method and device for detecting internal short circuit fault of stator winding of variable-speed pumped storage unit |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150930 Termination date: 20200710 |
|
CF01 | Termination of patent right due to non-payment of annual fee |