CN113514686B - 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
CN113514686B
CN113514686B CN202110790113.6A CN202110790113A CN113514686B CN 113514686 B CN113514686 B CN 113514686B CN 202110790113 A CN202110790113 A CN 202110790113A CN 113514686 B CN113514686 B CN 113514686B
Authority
CN
China
Prior art keywords
fundamental wave
voltage
grid voltage
amplitude
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.)
Active
Application number
CN202110790113.6A
Other languages
Chinese (zh)
Other versions
CN113514686A (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

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

Abstract

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

Description

Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude
Technical Field
The present invention relates to the field of power systems, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a 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, the power grid voltage is sunken, misoperation of a controller in the power system is easily caused, problems such as computer system failure, automatic device pause or misoperation, variable frequency speed regulator pause, contactor tripping or low-voltage protection starting occur, and great economic loss is caused. In order to avoid the above problems, the compensation device of the power system needs to monitor the voltage fundamental wave amplitude in real time to perform voltage compensation.
At present, the existing voltage fundamental wave amplitude detection method is generally slow, at least 5 milliseconds are needed, and a method for rapidly and accurately detecting the voltage fundamental wave amplitude is 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 are used for solving the problem that the amplitude of the voltage fundamental wave cannot be detected rapidly and accurately.
In a first aspect, an embodiment of the present invention provides a method for detecting a voltage fundamental wave amplitude, including:
performing sine wave progression and transformation on the power grid voltage to be tested to obtain a first fundamental wave component of the power grid voltage to be tested, wherein the first fundamental wave component is expanded by the sine wave progression;
performing multiple discrete sampling on the first fundamental wave component to obtain a first fundamental wave component after discrete sampling;
calculating a first fundamental wave amplitude value of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period; the preset period corresponds to a harmonic frequency spectrum of the voltage of the power grid to be detected;
and summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as the voltage fundamental wave amplitude of the power grid voltage to be detected.
In one possible implementation, the grid voltage to be measured, in the case of the fundamental wave and the third harmonic, with a sine wave series spread is:
wherein,the power grid voltage to be measured which is developed for the sine wave series,
is the first fundamental component.
In one possible implementation, obtaining the amplitude increment of the first fundamental wave amplitude relative to the grid voltage of the previous preset period includes:
performing sine wave progression 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 progression;
performing multiple discrete sampling on the second fundamental wave component to obtain a second fundamental wave component after discrete sampling;
calculating a second fundamental wave amplitude value of the discretized sampled second fundamental wave component according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
and determining the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude as an amplitude increment.
In one possible implementation, the predetermined 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.
In a second aspect, an embodiment of the present invention provides a device for detecting a voltage fundamental wave amplitude, including:
the change module is used for carrying out sine wave progression and transformation on the power grid voltage to be tested to obtain a first fundamental wave component of the power grid voltage to be tested, which is unfolded by the sine wave progression;
the sampling module is used for carrying out multiple discrete sampling on the first fundamental wave component to obtain a first fundamental wave component after discrete sampling;
the calculation module is used for calculating a first fundamental wave amplitude value of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
the acquisition module is used for acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period; the preset period corresponds to a harmonic frequency spectrum of the voltage of the power grid to be detected;
the determining module is used for summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, and determining the obtained sum as a voltage fundamental wave amplitude of the power grid voltage to be detected.
In one possible implementation, the grid voltage to be measured, in the case of the fundamental wave and the third harmonic, with a sine wave series spread is:
wherein,the power grid voltage to be measured which is developed for the sine wave series,
is the first fundamental component.
In one possible implementation, the obtaining module is further configured to:
performing sine wave progression 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 progression;
performing multiple discrete sampling on the second fundamental wave component to obtain a second fundamental wave component after discrete sampling;
calculating a second fundamental wave amplitude value of the discretized sampled second fundamental wave component according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
and determining the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude as an amplitude increment.
In one possible implementation, the predetermined 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.
In a third aspect, an embodiment of the present invention provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program which, when executed by a processor, 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 progression and conversion on a power grid voltage to be detected to obtain a first fundamental wave component of the power grid voltage to be detected, wherein the first fundamental wave component is expanded by the sine wave progression; then, performing discretization sampling on the first fundamental wave component for a plurality of times to obtain a discretized sampled first fundamental wave component; then, calculating a first fundamental wave amplitude value of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage; then, acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period; the preset period corresponds to a harmonic frequency spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as the voltage fundamental wave amplitude of the power grid voltage to be detected.
Because the calculation of the amplitude increment is short in time consumption, the voltage root mean square value is used as a calculation reference of the voltage amplitude, and the accuracy is high, so that the voltage fundamental wave amplitude can be rapidly and accurately detected.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of steps of a method for detecting a voltage fundamental amplitude 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 a voltage fundamental amplitude detection device 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 the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present 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.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made by way of specific embodiments with reference to the accompanying drawings.
In order to solve the problems in the prior art, the embodiment of the invention provides a method, a device, equipment and a storage medium for detecting the amplitude of a voltage fundamental wave. The method for detecting the voltage fundamental wave amplitude provided by the embodiment of the invention is first described below.
As described in the background, existing methods of detecting the amplitude of the fundamental voltage wave are generally slow, requiring at least 5 milliseconds. For example, the derivative method needs a very high sampling frequency, only 5 milliseconds can be guaranteed, and when the sampling frequency is too low, waveform distortion can be caused, so that the detection accuracy is reduced. The dq rotation method extracts positive and negative sequence components of the fundamental wave, but requires adding a filter to eliminate 2 times frequency components, requiring a delay of 10 ms. The 1/4 period delay method calculates that a certain detection blind area exists near the zero crossing point to cause delay of detection time, and the delay is greatly influenced by harmonic waves, and at least 5ms is needed. Therefore, a method capable of rapidly and accurately detecting the amplitude of the fundamental wave of the voltage is needed.
The main body of the method for detecting the voltage fundamental wave amplitude may be a device for detecting the voltage fundamental wave amplitude, where the device for detecting the voltage fundamental wave amplitude 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 limited specifically.
As shown in fig. 1, the method for detecting the voltage fundamental wave amplitude provided by the embodiment of the invention may include the following steps:
and step S110, carrying out sine wave progression and transformation on the power grid voltage to be tested to obtain a first fundamental wave component of the power grid voltage to be tested with the sine wave progression spread.
In some embodiments, the grid voltage to be measured may be the grid voltage of the power system to be detected. It is easy to understand that the fundamental wave component and the harmonic component are included in the grid voltage, and the fundamental wave component of the grid voltage to be measured may be referred to as a first fundamental wave component.
And step S120, performing discretization sampling on the first fundamental wave component for a plurality of times to obtain a discretized sampled first fundamental wave component.
Step S130, calculating a first fundamental wave amplitude value of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the buffer voltage.
And step S140, acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period.
In some embodiments, the preset period corresponds to a harmonic spectrum of the grid voltage to be measured, e.g., 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.
The fundamental wave amplitude of the grid voltage of the previous preset period, which may be referred to as the second fundamental wave amplitude, may be calculated with reference to the processing of steps S110-S130.
Specifically, the sine wave series and the conversion are firstly carried out on the power grid voltage in the previous preset period, so that the second fundamental wave component of the power grid voltage in the previous preset period, which is expanded by the sine wave series, is obtained. And then, performing discretization sampling on the second fundamental wave component for a plurality of times to obtain a discretized sampled second fundamental wave component. And finally, calculating a second fundamental wave amplitude value of the second fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the buffer voltage. This computation link may be referred to as a delay link.
After the second fundamental wave amplitude of the grid voltage in the previous preset period is obtained, the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude can be determined to be an amplitude increment.
And step S150, summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as a voltage fundamental wave amplitude of the power grid voltage to be detected.
In order to understand the above-described processing steps, a specific implementation method is given below.
Firstly, sine wave progression and transformation are carried out on the power grid voltage to be tested, and then the obtained power grid voltage is obtained:
where a denotes a certain phase voltage of the three phase voltages of the grid voltage, n denotes an integer multiple of the fundamental angular frequency, i.e. the harmonic order, w denotes the fundamental angular frequency of the grid voltage,represents the initial phase angle of the n-th harmonic, +.>Representing the voltage peak of the n-th harmonic.
Then, the series is expanded, and the expanded trigonometric function is changed according to the two angles and the formula, and under the condition of considering the fundamental wave and the third harmonic, the following can be obtained:
wherein,the power grid voltage to be measured which is developed for the sine wave series,
is the first fundamental component.
Then, discretizing and sampling the expression to obtain:
after continuous multiple discrete sampling, only fundamental wave components are considered, and the first fundamental wave components can be obtained as follows:
considering that the coefficient matrix A is inconvenient to calculate, the comparison consumes CPU, resulting in longer calculation time, so that the expression is further decomposed to obtain:
order theIs 0, can be made +.>For a constant coefficient matrix, thus, find +.>The first fundamental wave component can be obtained, and the first fundamental wave component can be obtained through variation:
it should be noted that the number of the substrates,when implemented in a controller, the time interval T is embodied as a discretized sample, so that +.>After 0, the coefficient matrix A can adopt a standard sine table and a standard cosine table. Thereby(s)>The matrix A in the constant coefficient matrix, namely the preset matrix, can be selected according to the number of sampling points of the cache voltage, then the constant coefficient matrix is calculated, and the 1 st column submatrix in the constant coefficient matrix is made to be a matrix B, and the 2 nd column submatrix is made to be a matrix C, so that the following can be obtained:
the sinusoidal portion in the first fundamental component is:
the cosine part in the first fundamental component is:
correspondingly, the first fundamental wave amplitude of the first fundamental wave component is:
according to the formula, the second fundamental wave component of the power grid voltage in the previous preset period can be obtained, so that the amplitude increment can be obtained. The calculation of the amplitude may use a minimum variance (Least error squares, LES) filter, and since the time for calculating the amplitude by the LES filter may be obtained according to the sampling period T and the number of buffer points N, the time consumed for calculating the amplitude may be accurately determined.
In the case of the LES filter having a large harmonic content, the calculated amplitude fluctuates greatly, but the increment obtained by calculation is smooth, essentially due to the periodicity of the harmonic. According to the above characteristics, the amplitude increment calculated by LES and the root mean square value can be used for adding, so that the amplitude of the actual grid voltage can be obtained, and meanwhile, the rapidity and the accuracy are combined, and the logic block diagram of the corresponding processing logic can be shown as 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=32/12.8=2.5 milliseconds consumed for calculating the amplitude increment is 312.5 microseconds-5 milliseconds, considering that the basic stability can be ensured when the range of N is 4-64 points. Because the time for adding the amplitude increment and the root mean square value can be omitted, the time range consumed for calculating the amplitude is the time range consumed for calculating the amplitude increment. Therefore, 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 conclusion, the LES filter can be used for directly virtually constructing and calculating the amplitude and the phase of each phase of voltage, and calculating the amplitude increment between the current moment and the previous moment, so that the calculation rapidness can be ensured through the calculation of the increment. Considering voltage phase abrupt change or harmonic wave influence, a root mean square value can be used as a calculation reference of voltage amplitude, and the accuracy of calculation can be ensured.
In the embodiment of the invention, sine wave progression and conversion are firstly carried out on the power grid voltage to be detected, so as to obtain a first fundamental wave component of the power grid voltage to be detected, of which the sine wave progression is expanded; then, performing discretization sampling on the first fundamental wave component for a plurality of times to obtain a discretized sampled first fundamental wave component; then, calculating a first fundamental wave amplitude value of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage; then, acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period; the preset period corresponds to a harmonic frequency spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as the voltage fundamental wave amplitude of the power grid voltage to be detected. Because the calculation of the amplitude increment is short in time consumption, the voltage root mean square value is used as a calculation reference of the voltage amplitude, and the accuracy is high, so that the voltage fundamental wave amplitude can be rapidly and accurately detected.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 3 is a schematic structural diagram of a device for detecting a fundamental voltage amplitude according to an embodiment of the present invention, and for convenience of explanation, only a portion related to the embodiment of the present invention is shown, which is described in detail below:
as shown in fig. 3, there is provided a detection apparatus 300 of a voltage fundamental amplitude, the apparatus comprising:
the change module 310 is configured to perform sine wave progression and transformation on the power grid voltage to be tested, so as to obtain a first fundamental component of the power grid voltage to be tested with the sine wave progression expanded;
the sampling module 320 is configured to perform multiple discrete sampling on the first fundamental component to obtain a first fundamental component after discrete sampling;
the calculating module 330 is configured to calculate a first fundamental wave amplitude value of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of sampling points of the buffer voltage;
an obtaining module 340, configured to obtain an 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 frequency spectrum of the voltage of the power grid to be detected;
the determining module 350 is configured to sum the amplitude increment and a voltage root mean square value corresponding to the pre-obtained power grid voltage to be tested, and determine the obtained sum as a voltage fundamental amplitude of the power grid voltage to be tested.
In one possible implementation, the grid voltage to be measured, in the case of the fundamental wave and the third harmonic, with a sine wave series spread is:
wherein,the power grid voltage to be measured which is developed for the sine wave series,
is the first fundamental component.
In one possible implementation, the obtaining module is further configured to:
performing sine wave progression 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 progression;
performing multiple discrete sampling on the second fundamental wave component to obtain a second fundamental wave component after discrete sampling;
calculating a second fundamental wave amplitude value of the discretized sampled second fundamental wave component according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
and determining the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude as an amplitude increment.
In one possible implementation, the predetermined 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.
In the embodiment of the invention, sine wave progression and conversion are firstly carried out on the power grid voltage to be detected, so as to obtain a first fundamental wave component of the power grid voltage to be detected, of which the sine wave progression is expanded; then, performing discretization sampling on the first fundamental wave component for a plurality of times to obtain a discretized sampled first fundamental wave component; then, calculating a first fundamental wave amplitude value of a first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage; then, acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period; the preset period corresponds to a harmonic frequency spectrum of the voltage of the power grid to be detected; and finally, summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as the voltage fundamental wave amplitude of the power grid voltage to be detected. Because the calculation of the amplitude increment is short in time consumption, the voltage root mean square value is used as a calculation reference of the voltage amplitude, and the accuracy is high, so that the voltage fundamental wave amplitude can be rapidly and accurately detected.
Fig. 4 is a schematic diagram of an electronic device according to 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 the memory 41 and executable on the processor 40. The processor 40, when executing the computer program 42, implements the steps of the above-described embodiments of the method for detecting the fundamental voltage amplitude, such as steps 110 to 150 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 310-350 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that 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 the specified functions, which instruction segments are used to describe the execution of the computer program 42 in the electronic device 4. For example, the computer program 42 may be partitioned into modules 310 through 350 shown in FIG. 3.
The electronic device 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The electronic device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the electronic device 4 and is not meant to be limiting of the electronic device 4, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device may further include an input-output device, a network access device, a bus, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. 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 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) or 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 for temporarily storing 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a 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 process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by instructing related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the method embodiment of detecting the amplitude of each voltage fundamental wave when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (8)

1. The method for detecting the amplitude of the fundamental wave of the voltage is characterized by comprising the following steps of:
performing sine wave series and transformation on the power grid voltage to be tested to obtain a first fundamental wave component of the power grid voltage to be tested, wherein the first fundamental wave component is expanded by the sine wave series;
performing multiple discrete sampling on the first fundamental wave component to obtain a first fundamental wave component after discrete sampling;
calculating a first fundamental wave amplitude value of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
the step of obtaining the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period comprises the following steps: performing sine wave series and conversion on the power grid voltage of the previous preset period to obtain a second fundamental wave component of the power grid voltage of the previous preset period, wherein the second fundamental wave component is expanded by the sine wave series; performing discretization sampling on the second fundamental wave component for a plurality of times to obtain a discretized sampled second fundamental wave component; calculating a second fundamental wave amplitude value of the discretized sampled second fundamental wave component according to a preset matrix corresponding to the number of the sampling points of the cache voltage; determining the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude as the amplitude increment; the preset period corresponds to a harmonic frequency spectrum of the power grid voltage to be detected;
and summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as a voltage fundamental wave amplitude of the power grid voltage to be detected.
2. The method according to claim 1, characterized in that in the case of fundamental and third harmonics, the grid voltage to be measured for which the sine wave series is developed is:
wherein,the grid voltage to be measured developed for the sine wave series,
is the first fundamental component.
3. The method of claim 1, wherein the predetermined period is a period of the grid voltage under test, a half of a period of the grid voltage under test, or a quarter of a period of the grid voltage under test.
4. A voltage fundamental wave amplitude detection device, characterized by comprising:
the change module is used for carrying out sine wave progression and transformation on the power grid voltage to be tested to obtain a first fundamental wave component of the power grid voltage to be tested, wherein the first fundamental wave component is expanded by the sine wave progression;
the sampling module is used for carrying out multiple discrete sampling on the first fundamental wave component to obtain a first fundamental wave component after discrete sampling;
the calculation module is used for calculating a first fundamental wave amplitude value of the first fundamental wave component after discretization sampling according to a preset matrix corresponding to the number of the sampling points of the cache voltage;
the acquisition module is used for acquiring the amplitude increment of the first fundamental wave amplitude relative to the power grid voltage of the previous preset period, and comprises the following steps: performing sine wave series and conversion on the power grid voltage of the previous preset period to obtain a second fundamental wave component of the power grid voltage of the previous preset period, wherein the second fundamental wave component is expanded by the sine wave series; performing discretization sampling on the second fundamental wave component for a plurality of times to obtain a discretized sampled second fundamental wave component; calculating a second fundamental wave amplitude value of the discretized sampled second fundamental wave component according to a preset matrix corresponding to the number of the sampling points of the cache voltage; determining the difference value between the first fundamental wave amplitude and the second fundamental wave amplitude as the amplitude increment; the preset period corresponds to a harmonic frequency spectrum of the power grid voltage to be detected;
the determining module is used for summing the amplitude increment and a voltage root mean square value corresponding to the power grid voltage to be detected, which is obtained in advance, and determining the obtained sum as the voltage fundamental wave amplitude of the power grid voltage to be detected.
5. The apparatus according to claim 4, wherein the grid voltage to be measured for which the sine wave series is developed in the case of fundamental wave and third harmonic is:
wherein,the grid voltage to be measured developed for the sine wave series,
is the first fundamental component.
6. The apparatus of claim 4, wherein the predetermined period is a period of the grid voltage under test, a half of a period of the grid voltage under test, or a quarter of a period of the grid voltage under test.
7. 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 processor implements the steps of the method according to any one of claims 1 to 3 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 3.
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 CN113514686A (en) 2021-10-19
CN113514686B true 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
Application of Parametric DFT for Measuring Harmonic Signal Amplitude;Ponomareva Olga;2020 22th International Conference on Digital Signal Processing and its Applications (DSPA);正文第1-4页 *
电网基波幅值检测方法改进;杨保海 等;九江学院学报(自然科学版);第7-10页 *

Also Published As

Publication number Publication date
CN113514686A (en) 2021-10-19

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
CN110618316B (en) Harmonic source identification method and device, terminal equipment and storage medium
CN109444515B (en) Reactive power, imbalance and harmonic detection method based on SDFT algorithm
Karafotis et al. Evaluation of harmonic contribution to unbalance in power systems under non-stationary conditions using wavelet packet transform
Altintasi et al. Power system harmonic and interharmonic estimation using Vortex Search Algorithm
CN111783035B (en) Harmonic responsibility calculation method and device adapting to different harmonic fluctuation conditions
CN112269054A (en) Power adaptive algorithm based on improved Prony
CN104849545A (en) Power system frequency measuring method and power system frequency measuring device
CN115575707A (en) Harmonic detection device and method based on combination of improved FFT algorithm and wavelet transform
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN106651150B (en) Method and device for evaluating harmonic influence of power grid
CN112305485A (en) Harmonic voltage measurement error correction method and device for capacitor voltage transformer
CN114579933A (en) Error measurement optimization method and device, electronic equipment and readable storage medium
Li et al. Second‐order matrix pencil‐based phasor measurement algorithm for P‐class PMUs
Marčetić et al. Unbalanced three‐phase distribution system frequency estimation using least mean squares method and positive voltage sequence
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
US20190006847A1 (en) Electrical circuit control in power systems
CN116148719A (en) Lightning arrester state monitoring method, device, equipment and storage medium
CN115494303A (en) EMI receiver signal conversion method, device and storage medium
CN112444675B (en) Harmonic superstandard early warning method, device, equipment and medium for power transmission network nodes
CN103076494B (en) Power consumption measuring device and method
CN110286278B (en) Output voltage control method and device and power grid adaptability detection platform
Repak et al. Design of power quality analyzer

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