CN113514686A - Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude - Google Patents

Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude Download PDF

Info

Publication number
CN113514686A
CN113514686A CN202110790113.6A CN202110790113A CN113514686A CN 113514686 A CN113514686 A CN 113514686A CN 202110790113 A CN202110790113 A CN 202110790113A CN 113514686 A CN113514686 A CN 113514686A
Authority
CN
China
Prior art keywords
voltage
fundamental wave
amplitude
fundamental
power grid
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
Application number
CN202110790113.6A
Other languages
Chinese (zh)
Other versions
CN113514686B (en
Inventor
彭喻
周洁
姜向龙
张洪涛
索红亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Langfang In Power Electric Co ltd
BEIJING IN-POWER ELECTRIC CO LTD
Original Assignee
Langfang In Power Electric Co ltd
BEIJING IN-POWER ELECTRIC CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Langfang In Power Electric Co ltd, BEIJING IN-POWER ELECTRIC CO LTD filed Critical Langfang In Power Electric Co ltd
Priority to CN202110790113.6A priority Critical patent/CN113514686B/en
Publication of CN113514686A publication Critical patent/CN113514686A/en
Application granted granted Critical
Publication of CN113514686B publication Critical patent/CN113514686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/02Measuring effective values, i.e. root-mean-square values

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides a method, a device, equipment and a storage medium for detecting the amplitude of a voltage fundamental wave. The method comprises the following steps: performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series; carrying out multiple discretization sampling on the first fundamental wave component to obtain a discretized sampled first fundamental wave component; calculating a first fundamental wave amplitude of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points; acquiring the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected; and summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the voltage of the power grid to be detected, and determining the obtained sum as the voltage fundamental wave amplitude of the voltage of the power grid to be detected. The invention can quickly and accurately detect the amplitude of the voltage fundamental wave.

Description

Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude
Technical Field
The invention relates to the technical field of power systems, in particular to a method, a device, equipment and a storage medium for detecting voltage fundamental wave amplitude.
Background
Under the conditions that the load fluctuation of the power system is large or the power grid is struck by lightning and the like, the voltage of the power grid is sunken, the misoperation of a controller in the power system is easily caused, the problems such as the malfunction of a computer system, the pause or the misoperation of an automation device, the pause of a variable-frequency speed regulator, the tripping of a contactor or the starting of low-voltage protection occur, and the great economic loss is caused. In order to avoid the above problems, the compensation device of the power system needs to monitor the amplitude of the voltage fundamental wave in real time for voltage compensation.
At present, the existing voltage fundamental wave amplitude detection method is generally slow, at least 5 milliseconds is needed, and a method for quickly and accurately detecting the voltage fundamental wave amplitude is urgently needed.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for detecting the amplitude of a voltage fundamental wave, which aim to solve the problem that the amplitude of the voltage fundamental wave cannot be quickly and accurately detected.
In a first aspect, an embodiment of the present invention provides a method for detecting a voltage fundamental amplitude, including:
performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series;
carrying out multiple discretization sampling on the first fundamental wave component to obtain a discretized sampled first fundamental wave component;
calculating a first fundamental wave amplitude of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
acquiring the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected;
and summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the voltage of the power grid to be detected, and determining the obtained sum as the voltage fundamental wave amplitude of the voltage of the power grid to be detected.
In one possible implementation manner, in the case of fundamental waves and third harmonics, the grid voltage to be measured with the sine wave series expansion is:
Figure BDA0003160554120000021
wherein, Ua(t) is the voltage of the power grid to be measured expanded by sine wave series,
Figure BDA0003160554120000022
Figure BDA0003160554120000023
is the first fundamental component.
In one possible implementation, obtaining an amplitude increment of the first fundamental wave amplitude with respect to the grid voltage of the previous preset period includes:
performing sine wave series and transformation on the power grid voltage in the previous preset period to obtain a second fundamental wave component of the power grid voltage in the previous preset period expanded by the sine wave series;
carrying out multiple discretization sampling on the second fundamental wave component to obtain a discretized sampled second fundamental wave component;
calculating a second fundamental wave amplitude of a second fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
and determining the difference value of the first fundamental wave amplitude value and the second fundamental wave amplitude value as an amplitude increment.
In a possible implementation manner, the preset period is a period of the to-be-detected grid voltage, a half of the period of the to-be-detected grid voltage, or a quarter of the period of the to-be-detected grid voltage.
In a second aspect, an embodiment of the present invention provides an apparatus for detecting a magnitude of a voltage fundamental, including:
the change module is used for performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series;
the sampling module is used for carrying out multiple discretization sampling on the first fundamental wave component to obtain a discretized sampled first fundamental wave component;
the calculating module is used for calculating a first fundamental wave amplitude of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
the acquisition module is used for acquiring the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected;
and the determining module is used for summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage.
In one possible implementation manner, in the case of fundamental waves and third harmonics, the grid voltage to be measured with the sine wave series expansion is:
Figure BDA0003160554120000031
wherein, Ua(t) is the voltage of the power grid to be measured expanded by sine wave series,
Figure BDA0003160554120000033
Figure BDA0003160554120000032
is the first fundamental component.
In one possible implementation manner, the obtaining module is further configured to:
performing sine wave series and transformation on the power grid voltage in the previous preset period to obtain a second fundamental wave component of the power grid voltage in the previous preset period expanded by the sine wave series;
carrying out multiple discretization sampling on the second fundamental wave component to obtain a discretized sampled second fundamental wave component;
calculating a second fundamental wave amplitude of a second fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
and determining the difference value of the first fundamental wave amplitude value and the second fundamental wave amplitude value as an amplitude increment.
In a possible implementation manner, the preset period is a period of the to-be-detected grid voltage, a half of the period of the to-be-detected grid voltage, or a quarter of the period of the to-be-detected grid voltage.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method according to the first aspect.
The embodiment of the invention provides a method, a device, equipment and a storage medium for detecting voltage fundamental wave amplitude, which are used for firstly carrying out sine wave series and transformation on the voltage of a power grid to be detected to obtain a first fundamental wave component of the voltage of the power grid to be detected, wherein the first fundamental wave component is expanded by the sine wave series; then, carrying out a plurality of times of discretization sampling on the first fundamental wave component to obtain a discretization sampled first fundamental wave component; then, calculating a first fundamental wave amplitude of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points; then, obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage of the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage.
The time consumption for calculating the amplitude increment is short, and the voltage root mean square value is used as the calculation reference of the voltage amplitude, so that the accuracy is high, and the voltage fundamental wave amplitude can be quickly and accurately detected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart illustrating steps of a method for detecting an amplitude of a fundamental voltage according to an embodiment of the present invention;
FIG. 2 is a logic block diagram provided by an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for detecting amplitude of voltage fundamental according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
In order to solve the problem of the prior art, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for detecting a fundamental amplitude of a voltage. First, a method for detecting the amplitude of the voltage fundamental wave provided by the embodiment of the present invention is described below.
As described in the background, the prior art voltage fundamental amplitude detection methods are typically slow, requiring at least 5 milliseconds. For example, the derivation method requires a high sampling frequency, and can only guarantee 5 milliseconds, and when the sampling frequency is too low, the waveform is distorted, and the detection accuracy is reduced. The dq rotation method extracts positive and negative sequence components of fundamental waves, but a filter is required to be added to eliminate 2 frequency multiplication components, and 10ms delay is required. 1/4 periodic delay method calculates delay of detection time caused by certain detection blind area near the zero crossing point, and is greatly influenced by harmonic wave, and at least 5ms is needed. Therefore, a method for rapidly and accurately detecting the amplitude of the fundamental wave of the voltage is needed.
The main body of the voltage fundamental wave amplitude detection method may be a voltage fundamental wave amplitude detection device, and the voltage fundamental wave amplitude detection device may be an electronic device having a processor and a memory, such as a notebook computer, a server, or a personal computer, and the embodiment of the present invention is not particularly limited.
As shown in fig. 1, the method for detecting the amplitude of the voltage fundamental wave provided by the embodiment of the present invention may include the following steps:
and S110, performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series.
In some embodiments, the grid voltage to be tested may be a grid voltage of the power system to be tested. It is easy to understand that the grid voltage includes a fundamental component and a harmonic component, and the fundamental component of the grid voltage to be measured can be referred to as a first fundamental component.
And step S120, performing multiple discretization sampling on the first fundamental wave component to obtain the discretized first fundamental wave component.
Step S130, calculating a first fundamental wave amplitude of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points.
And step S140, obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period.
In some embodiments, the preset period corresponds to a harmonic spectrum of the grid voltage to be measured, for example, the preset period is a period of the grid voltage to be measured, a half of the period of the grid voltage to be measured, or a quarter of the period of the grid voltage to be measured.
Referring to the processes of steps S110-S130, the fundamental wave amplitude of the grid voltage of the previous preset period may be calculated, and may be referred to as a second fundamental wave amplitude.
Specifically, the sine wave series and conversion are firstly carried out on the power grid voltage in the previous preset period, and the second fundamental wave component of the power grid voltage in the previous preset period expanded by the sine wave series is obtained. And then, carrying out a plurality of times of discretization sampling on the second fundamental wave component to obtain a discretization sampled second fundamental wave component. And finally, calculating a second fundamental wave amplitude of the second fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage. This computing element may be referred to as a delay element.
After obtaining the second fundamental wave amplitude of the grid voltage of the previous preset period, the difference between the first fundamental wave amplitude and the second fundamental wave amplitude may be determined as an amplitude increment.
And S150, summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage.
In order to understand the above processing steps, a specific implementation method is given below.
Firstly, sine wave series and transformation are carried out on the voltage of a power grid to be measured to obtain:
Figure BDA0003160554120000061
wherein a represents a certain phase voltage of the three-phase voltage of the grid voltage, n represents an integer multiple of the fundamental angular frequency, i.e. the harmonic order, w represents the fundamental angular frequency of the grid voltage,
Figure BDA0003160554120000062
representing the initial phase angle, U, of the nth harmonicnVoltage representing n-th harmonicA peak value.
Then, the series is expanded, and the expanded trigonometric function is changed according to a two-angle sum formula, and under the condition of considering fundamental wave and third harmonic wave, the following can be obtained:
Figure BDA0003160554120000063
wherein, Ua(t) is the voltage of the power grid to be measured expanded by sine wave series,
Figure BDA0003160554120000071
Figure BDA0003160554120000072
is the first fundamental component.
Then, discretizing and sampling the expression to obtain:
Figure BDA0003160554120000073
Figure BDA0003160554120000074
Figure BDA0003160554120000075
after continuous multiple discretization sampling, only the fundamental component is considered, and the first fundamental component can be obtained as follows:
Figure BDA0003160554120000076
considering that the coefficient matrix a is inconvenient to calculate, relatively consumes CPU, and results in long calculation time, so further decomposition of the above expression can be obtained:
Figure BDA0003160554120000077
let t0Is 0, A may be made a constant coefficient matrix, and X is thus foundaThe first fundamental wave component can be obtained, and through change, the following can be obtained:
Xa=(AT*A)-1*AT*Ua
it should be noted that Δ T is embodied as a time interval T of discretized sampling when implemented in the controller, and thus let T be0After 0, the coefficient matrix a may use a standard sine table and a cosine table. Thus, (A)T*A)-1*ATThe matrix a in (i.e. the preset matrix) may be selected according to the number of sampling points of the buffer voltage, and then the constant coefficient matrix is calculated, and the 1 st column of sub-matrix in the constant coefficient matrix is made to be the matrix B, and the 2 nd column of sub-matrix is made to be the matrix C, so that:
the sinusoidal part in the first fundamental wave component is:
Figure BDA0003160554120000081
the cosine part in the first fundamental wave component is:
Figure BDA0003160554120000082
accordingly, the first fundamental amplitude of the first fundamental component is:
Figure BDA0003160554120000083
according to the formula, the second fundamental wave component of the grid voltage of the previous preset period can be obtained, so that the amplitude increment delta U can be obtainedm. The amplitude calculation may utilize a Least square (LES) filter, since the time for calculating the amplitude of the LES filter may be determined according to the sampling period T and the slow timeThe number of the deposit points N is obtained, so that the time consumed for calculating the amplitude can be accurately determined.
It should be noted that, in an environment with a large harmonic content, the calculated amplitude of the LES filter fluctuates greatly, but the calculated increment is smooth, and is essentially due to the periodicity of the harmonic. According to the characteristics, the amplitude increment calculated by the LES and the root mean square value can be used for adding, the amplitude of the actual power grid voltage can be obtained, meanwhile, the rapidity and the accuracy are achieved, and a corresponding logic block diagram of processing logic can be shown in fig. 2.
Taking the sampling frequency f and the number of buffer points N as an example, the time consumed for calculating the amplitude increment is N/f, assuming that the sampling rate is 12.8k and the number of buffer points is 32 points, the time t consumed for calculating the amplitude increment is 32/12.8 which is 2.5 milliseconds, and considering that the basic stability can be ensured when the range of N is 4-64 points, the time consumed for calculating the amplitude increment is 312.5 microseconds-5 milliseconds. Since the time for adding the amplitude increment and the rms value can be omitted, the time range consumed for calculating the amplitude is the time range consumed for calculating the amplitude increment. Compared with the existing 5 milliseconds, the detection time of the voltage fundamental wave amplitude is greatly shortened, and the detection speed is greatly improved.
In summary, the LES filter can be used to directly perform virtual construction on each phase voltage to calculate the amplitude and phase, and calculate the amplitude increment between the current time and the previous time, so that the rapidity of calculation can be ensured through the calculation of the increment. The voltage phase jump or harmonic wave influence is considered, the root mean square value can be used as the calculation reference of the voltage amplitude, and the calculation accuracy can be guaranteed.
The method comprises the steps of firstly, performing sine wave series and transformation on the voltage of the power grid to be tested to obtain a first fundamental wave component of the voltage of the power grid to be tested, wherein the first fundamental wave component is expanded by the sine wave series; then, carrying out a plurality of times of discretization sampling on the first fundamental wave component to obtain a discretization sampled first fundamental wave component; then, calculating a first fundamental wave amplitude of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points; then, obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage of the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage. The time consumption for calculating the amplitude increment is short, and the voltage root mean square value is used as the calculation reference of the voltage amplitude, so that the accuracy is high, and the voltage fundamental wave amplitude can be quickly and accurately detected.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 3 is a schematic structural diagram of a detection apparatus for providing a voltage fundamental amplitude according to an embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown, and detailed descriptions are as follows:
as shown in fig. 3, there is provided a voltage fundamental amplitude detection apparatus 300, including:
the change module 310 is used for performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series;
the sampling module 320 is configured to perform multiple discretization sampling on the first fundamental component to obtain a discretized sampled first fundamental component;
the calculating module 330 is configured to calculate a first fundamental amplitude of the first fundamental component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
an obtaining module 340, configured to obtain an amplitude increment of the first fundamental amplitude with respect to the grid voltage in a previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected;
and the determining module 350 is configured to sum the amplitude increment and a pre-obtained voltage root mean square value corresponding to the to-be-detected grid voltage, and determine the obtained sum as the voltage fundamental amplitude of the to-be-detected grid voltage.
In one possible implementation manner, in the case of fundamental waves and third harmonics, the grid voltage to be measured with the sine wave series expansion is:
Figure BDA0003160554120000101
wherein, Ua(t) is the voltage of the power grid to be measured expanded by sine wave series,
Figure BDA0003160554120000102
Figure BDA0003160554120000103
is the first fundamental component.
In one possible implementation manner, the obtaining module is further configured to:
performing sine wave series and transformation on the power grid voltage in the previous preset period to obtain a second fundamental wave component of the power grid voltage in the previous preset period expanded by the sine wave series;
carrying out multiple discretization sampling on the second fundamental wave component to obtain a discretized sampled second fundamental wave component;
calculating a second fundamental wave amplitude of a second fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
and determining the difference value of the first fundamental wave amplitude value and the second fundamental wave amplitude value as an amplitude increment.
In a possible implementation manner, the preset period is a period of the to-be-detected grid voltage, a half of the period of the to-be-detected grid voltage, or a quarter of the period of the to-be-detected grid voltage.
The method comprises the steps of firstly, performing sine wave series and transformation on the voltage of the power grid to be tested to obtain a first fundamental wave component of the voltage of the power grid to be tested, wherein the first fundamental wave component is expanded by the sine wave series; then, carrying out a plurality of times of discretization sampling on the first fundamental wave component to obtain a discretization sampled first fundamental wave component; then, calculating a first fundamental wave amplitude of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points; then, obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage of the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage. The time consumption for calculating the amplitude increment is short, and the voltage root mean square value is used as the calculation reference of the voltage amplitude, so that the accuracy is high, and the voltage fundamental wave amplitude can be quickly and accurately detected.
Fig. 4 is a schematic diagram of an electronic device provided in an embodiment of the present invention. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the above-mentioned embodiments of the method for detecting the amplitude of the fundamental voltage wave, such as the steps 110 to 150 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 310 to 350 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units, which are stored in the memory 41 and executed by the processor 40 to complete the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the electronic device 4. For example, the computer program 42 may be divided into the modules 310 to 350 shown in fig. 3.
The electronic device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of an electronic device 4 and does not constitute a limitation of the electronic device 4 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or a memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used for storing the computer program and other programs and data required by the electronic device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the method for detecting the amplitude of the fundamental voltage wave may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for detecting the amplitude of a voltage fundamental wave is characterized by comprising the following steps:
performing sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental component of the to-be-detected power grid voltage expanded by the sine wave series;
carrying out multiple discretization sampling on the first fundamental wave component to obtain a discretized sampled first fundamental wave component;
calculating a first fundamental wave amplitude of the first fundamental wave component after the discretization sampling according to a preset matrix corresponding to the number of the cache voltage sampling points;
acquiring the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected;
and summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage.
2. The method according to claim 1, characterized in that the grid voltage under test of the sine wave series expansion is, in the case of fundamental and third harmonic waves:
Figure FDA0003160554110000011
wherein, Ua(t) is the voltage of the power grid to be tested expanded by the sine wave series,
Figure FDA0003160554110000012
Figure FDA0003160554110000013
is the first fundamental component.
3. The method of claim 1, wherein obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage of the previous preset period comprises:
performing sine wave series and transformation on the power grid voltage in the previous preset period to obtain a second fundamental wave component of the power grid voltage in the previous preset period, wherein the second fundamental wave component is expanded by the sine wave series;
carrying out multiple discretization sampling on the second fundamental wave component to obtain a discretized sampled second fundamental wave component;
calculating a second fundamental wave amplitude of the discretized and sampled second fundamental wave component according to a preset matrix corresponding to the number of the cache voltage sampling points;
determining a difference between the first fundamental amplitude and the second fundamental amplitude as the amplitude increment.
4. The method according to claim 3, characterized in that the preset period is the period of the grid voltage to be measured, one half of the period of the grid voltage to be measured or one quarter of the period of the grid voltage to be measured.
5. An apparatus for detecting the amplitude of a fundamental voltage wave, comprising:
the change module is used for carrying out sine wave series and transformation on the to-be-detected power grid voltage to obtain a first fundamental wave component of the to-be-detected power grid voltage expanded by the sine wave series;
the sampling module is used for carrying out multiple discretization sampling on the first fundamental wave component to obtain a discretized sampled first fundamental wave component;
the calculating module is used for calculating a first fundamental wave amplitude of the discretized sampled first fundamental wave component according to a preset matrix corresponding to the number of the cache voltage sampling points;
the acquisition module is used for acquiring the amplitude increment of the first fundamental wave amplitude relative to the grid voltage in the previous preset period; the preset period corresponds to a harmonic spectrum of the voltage of the power grid to be detected;
and the determining module is used for summing the amplitude increment and a pre-acquired voltage root mean square value corresponding to the to-be-detected power grid voltage, and determining the obtained sum as the voltage fundamental wave amplitude of the to-be-detected power grid voltage.
6. The device according to claim 5, characterized in that, in the case of fundamental waves and third harmonics, the grid voltage under test developed in the sine wave series is:
Figure FDA0003160554110000021
wherein, Ua(t) is the voltage of the power grid to be tested expanded by the sine wave series,
Figure FDA0003160554110000022
Figure FDA0003160554110000023
is the first fundamental component.
7. The apparatus of claim 5, wherein the obtaining module is further configured to:
performing sine wave series and transformation on the power grid voltage in the previous preset period to obtain a second fundamental wave component of the power grid voltage in the previous preset period, wherein the second fundamental wave component is expanded by the sine wave series;
carrying out multiple discretization sampling on the second fundamental wave component to obtain a discretized sampled second fundamental wave component;
calculating a second fundamental wave amplitude of the discretized and sampled second fundamental wave component according to a preset matrix corresponding to the number of the cache voltage sampling points;
determining a difference between the first fundamental amplitude and the second fundamental amplitude as the amplitude increment.
8. The apparatus according to claim 7, wherein the preset period is a period of the grid voltage to be measured, one half of the period of the grid voltage to be measured, or one quarter of the period of the grid voltage to be measured.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202110790113.6A 2021-07-13 2021-07-13 Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude Active CN113514686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110790113.6A CN113514686B (en) 2021-07-13 2021-07-13 Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110790113.6A CN113514686B (en) 2021-07-13 2021-07-13 Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude

Publications (2)

Publication Number Publication Date
CN113514686A true CN113514686A (en) 2021-10-19
CN113514686B CN113514686B (en) 2024-02-06

Family

ID=78067276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110790113.6A Active CN113514686B (en) 2021-07-13 2021-07-13 Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude

Country Status (1)

Country Link
CN (1) CN113514686B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4644268A (en) * 1985-04-08 1987-02-17 Allied-Signal Corporation Apparatus and method for determining the magnitude and phase of the fundamental component of a complex waveshape
DE4134472A1 (en) * 1991-10-18 1993-04-22 Rohde & Schwarz Measuring harmonic distortion in AC signal by spectral analysis - digitising and calculating sine and cosine tables from sampled values before correlating with stored signal to determine fundamental and harmonic amplitudes
US5377131A (en) * 1992-12-31 1994-12-27 International Business Machines Corporation Digital amplitude estimator
CN102401858A (en) * 2011-08-22 2012-04-04 哈尔滨工业大学 Method for detecting fundamental component and harmonic component of voltage of power grid
CN104502675A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Fundamental wave amplitude method and system of power signal
CN106226587A (en) * 2016-07-01 2016-12-14 浙江工业大学 A kind of exchange micro-capacitance sensor voltage dip method for quick based on LES HHT
CN106291246A (en) * 2016-08-26 2017-01-04 天津瑞能电气有限公司 A kind of LES bimodulus quick electrical network fundamental voltage amplitude detection method and bimodulus detector
CN107706929A (en) * 2016-07-26 2018-02-16 南京工程学院 Adaptive phase locked loop method and system based on minimum variance filtering
CN110045175A (en) * 2019-01-29 2019-07-23 广东电网有限责任公司 A kind of single phase distribution system voltage falls detection method
CN112485594A (en) * 2020-11-27 2021-03-12 云南电网有限责任公司电力科学研究院 Alternating current power grid voltage fault degree detection method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4644268A (en) * 1985-04-08 1987-02-17 Allied-Signal Corporation Apparatus and method for determining the magnitude and phase of the fundamental component of a complex waveshape
DE4134472A1 (en) * 1991-10-18 1993-04-22 Rohde & Schwarz Measuring harmonic distortion in AC signal by spectral analysis - digitising and calculating sine and cosine tables from sampled values before correlating with stored signal to determine fundamental and harmonic amplitudes
US5377131A (en) * 1992-12-31 1994-12-27 International Business Machines Corporation Digital amplitude estimator
CN102401858A (en) * 2011-08-22 2012-04-04 哈尔滨工业大学 Method for detecting fundamental component and harmonic component of voltage of power grid
CN104502675A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Fundamental wave amplitude method and system of power signal
CN106226587A (en) * 2016-07-01 2016-12-14 浙江工业大学 A kind of exchange micro-capacitance sensor voltage dip method for quick based on LES HHT
CN107706929A (en) * 2016-07-26 2018-02-16 南京工程学院 Adaptive phase locked loop method and system based on minimum variance filtering
CN106291246A (en) * 2016-08-26 2017-01-04 天津瑞能电气有限公司 A kind of LES bimodulus quick electrical network fundamental voltage amplitude detection method and bimodulus detector
CN110045175A (en) * 2019-01-29 2019-07-23 广东电网有限责任公司 A kind of single phase distribution system voltage falls detection method
CN112485594A (en) * 2020-11-27 2021-03-12 云南电网有限责任公司电力科学研究院 Alternating current power grid voltage fault degree detection method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PONOMAREVA OLGA: "Application of Parametric DFT for Measuring Harmonic Signal Amplitude", 2020 22TH INTERNATIONAL CONFERENCE ON DIGITAL SIGNAL PROCESSING AND ITS APPLICATIONS (DSPA), pages 1 - 4 *
杨保海 等: "电网基波幅值检测方法改进", 九江学院学报(自然科学版), pages 7 - 10 *

Also Published As

Publication number Publication date
CN113514686B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
Su et al. Power harmonic and interharmonic detection method in renewable power based on Nuttall double‐window all‐phase FFT algorithm
CN108037475B (en) Harmonic transfer characteristic test system for capacitor voltage transformer
CN109444515B (en) Reactive power, imbalance and harmonic detection method based on SDFT algorithm
CN112305485B (en) Method and device for correcting harmonic voltage measurement error of capacitor voltage transformer
CN105487034A (en) 0.05-level electronic transformer verification method and system
CN115372698A (en) Measurement and control device and method for suppressing higher harmonics of power system
Marčetić et al. Unbalanced three‐phase distribution system frequency estimation using least mean squares method and positive voltage sequence
Li et al. Second‐order matrix pencil‐based phasor measurement algorithm for P‐class PMUs
CN113514686B (en) Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude
CN108761187B (en) Substrate current testing method and system and terminal equipment
Petrović et al. Dynamic phasors estimation based on Taylor-Fourier expansion and Gram matrix representation
Repak et al. Design of power quality analyzer
CN112444675B (en) Harmonic superstandard early warning method, device, equipment and medium for power transmission network nodes
CN115494303A (en) EMI receiver signal conversion method, device and storage medium
CN109374977A (en) A kind of quick detection device software of online resistance and the quick detection device of online resistance
WO2015099726A1 (en) Systems and methods for determining input current of a power distribution unit
CN110286278B (en) Output voltage control method and device and power grid adaptability detection platform
CN107064634A (en) The detection method of Harmonious Waves in Power Systems
CN103267896B (en) The measuring method of initial phase angle of periodic signal
CN108491568B (en) Method and system for calculating loss of oriented silicon steel lamination
CN110545516B (en) Method and device for detecting faults of coil equipment
Luo et al. Research and design of data acquisition and processing algorithm based on improved FFT
Kezunovic et al. Modeling of digital relay and power system signals
CN116611369B (en) Interpolation method and device based on smoothness magnitude and candidate template point number
Zhang et al. Study of harmonic analysis based on improved discrete Fourier transform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant