CN-121978602-A - Method for rapidly correcting real-time parameters of alternating current
Abstract
The invention discloses a method for quickly correcting real-time parameters of alternating current, which relates to the technical field of alternating current parameter correction and comprises the following steps of firstly establishing an alternating current real-time parameter coordinate system, secondly selecting a plurality of standard calibration points in advance of the coordinate system, thirdly selecting a plurality of points to be corrected in the coordinate system, calculating a broken line slope K corresponding to each point to be corrected, and fourthly directly updating the points to be corrected through the broken line slope K to obtain corrected data. The invention can carry out one-time solidification operation before the real-time measurement starts, and avoids a great deal of resources occupied by division operation of the singlechip, thereby improving the operation speed and ensuring the accuracy of the measurement result. The method is suitable for measuring the real-time electric parameters of alternating current and other basic measuring fields, and has wide application prospect.
Inventors
- WU ZHONGCHAO
- LOU ZHIBIN
- ZHANG JINGZHOU
- CAO YANJUN
- LIU CHANGZHENG
- YUAN MANMAN
- QIU JIAN
- ZHU XIAOHU
- WANG ZHIQI
- YANG NA
- LI QI
- WEI BANGCHENG
- FANG WEN
- SUN JIE
Assignees
- 国网安徽省电力有限公司蚌埠供电公司
- 上海上科信息通信工程研究院
Dates
- Publication Date
- 20260505
- Application Date
- 20241030
Claims (5)
- 1. A method for rapidly correcting real-time parameters of alternating current is characterized by comprising the following steps: Step one, establishing an alternating current real-time parameter coordinate system; selecting a plurality of standard calibration points in advance of a coordinate system; Thirdly, selecting a plurality of points to be corrected in the coordinate system, and calculating the slope K of a broken line corresponding to each point to be corrected; and step four, directly updating the point to be corrected through the slope K of the broken line to obtain corrected data.
- 2. The method for quickly correcting real-time parameters of alternating current according to claim 1, wherein the voltage or current correction mode is specifically as follows: calculating a slope coefficient K= (Y1-Y0)/(X1-X0) according to the standard calibration points (X0, Y0) and (X1, Y1); converting the division operation into multiplication and shift operation to obtain approximate k= (mul, shift); for the point to be corrected (X, Y), correction is performed using multiplication and shift operations according to the formula y=y0+k× (X-X0).
- 3. The method for quickly correcting real-time parameters of alternating current according to claim 2, wherein the multiplication and shift operation mode of K is as follows: A is selected as any number, b is a shaping constant; Because of So that Setting a constant Then (a×c) > > n; where mul is a×c and n is shift.
- 4. A method for rapid correction of real-time parameters of alternating current according to claim 3, characterized in that for correction of active power P: According to Wherein P 1 is the corrected value, P 0 is the original value, V 1 is the corrected value, V 0 is the original value, I 1 is the corrected value, and I 0 is the original value; In real-time calculation, calculating a correction value of P according to multiplication and shift operation modes, so as to avoid division operation; For correction of the fundamental wave, the real and imaginary parts of the fundamental wave voltage are calculated using multiplication and shift operations.
- 5. A method for rapid correction of real-time parameters of alternating current according to claim 3, characterized in that for the correction of reactive power Q: According to Wherein Q 1 is the corrected value, Q 0 is the original value, V 1 is the corrected value, V 0 is the original value, I 1 is the corrected value, and I 0 is the original value; In real-time calculation, a correction value of Q is calculated according to multiplication and shift operation modes, so that division operation is avoided; For correction of the fundamental wave, the real and imaginary parts of the fundamental wave voltage are calculated using multiplication and shift operations.
Description
Method for rapidly correcting real-time parameters of alternating current Technical Field The invention relates to the technical field of alternating current parameter correction, in particular to a method for rapidly correcting alternating current real-time parameters. Background In the field of real-time ac parameter measurements and other basic measurements, it is often necessary to make fold line corrections to improve measurement accuracy. The conventional polyline correction method generally needs to use division operation, and the singlechip needs to consume a large amount of resources to perform division operation, so that the operation speed is slow, and the accuracy may be lost. Although the prior art proposes a faster and no-loss of accuracy fold line correction method, there is still the problem that division cannot be completely eliminated in power and harmonic (base) correction. This is because in a real-time process, the correlated value is time-dependent, resulting in a dynamic change of the divisor. The current solution is to calculate only once in a real-time process and then use a form of multiplication plus shift to calculate. However, a method capable of not using division at all without losing accuracy has not been found yet. Therefore, the current problem to be solved is how to find a method that can solve the problem that the division in power and harmonic (base) correction cannot eliminate. Disclosure of Invention The invention aims to provide a method for quickly correcting real-time parameters of alternating current, which has the advantages of high operation speed and high accuracy. The invention is realized by the following technical scheme: a method for rapidly correcting real-time parameters of alternating current comprises the following steps: Step one, establishing an alternating current real-time parameter coordinate system; selecting a plurality of standard calibration points in advance of a coordinate system; Thirdly, selecting a plurality of points to be corrected in the coordinate system, and calculating the slope K of a broken line corresponding to each point to be corrected; and step four, directly updating the point to be corrected through the slope K of the broken line to obtain corrected data. The voltage or current correction mode is as follows: calculating a slope coefficient K= (Y1-Y0)/(X1-X0) according to the standard calibration points (X0, Y0) and (X1, Y1); converting the division operation into multiplication and shift operation to obtain approximate k= (mul, shift); for the point to be corrected (X, Y), correction is performed using multiplication and shift operations according to the formula y=y0+k× (X-X0). The multiplication and shift operation mode of K is as follows: A is selected as any number, b is a shaping constant; Because of So that Setting a constant(A×c) n; where mul is a×c and n is shift. Further arranged is for correction of the active power P: According to Wherein P 1 is the corrected value, P 0 is the original value, V 1 is the corrected value, V 0 is the original value, I 1 is the corrected value, and I 0 is the original value; In real-time calculation, calculating a correction value of P according to multiplication and shift operation modes, so as to avoid division operation; For correction of the fundamental wave, the real and imaginary parts of the fundamental wave voltage are calculated using multiplication and shift operations. Further arranged is for correction of the reactive power Q: According to Wherein Q 1 is the corrected value, Q 0 is the original value, V 1 is the corrected value, V 0 is the original value, I 1 is the corrected value, and I 0 is the original value; In real-time calculation, a correction value of Q is calculated according to multiplication and shift operation modes, so that division operation is avoided; For correction of the fundamental wave, the real and imaginary parts of the fundamental wave voltage are calculated using multiplication and shift operations. In summary, the beneficial technical effects of the invention are as follows: 2. The fold line correction method can be used for carrying out one-time curing operation before the real-time measurement starts, so that a large amount of resources occupied by division operation of the singlechip are avoided, and the operation speed is improved. 3. The operation mode of multiplication and shift is adopted for correction, so that the problem of precision loss in division operation is avoided, and the accuracy of a measurement result is ensured. 4. The method is suitable for measuring the real-time electric parameters of alternating current and other basic measuring fields, and has wide application prospect. 5. In the power and harmonic correction, the correction coefficient corresponding to each section of broken line is calculated in advance, so that the divisor problem of dynamic change can be avoided, and the correction accuracy is further improved. 6. The t