CN113899963A - Alternating current system interference electricity detection method and device and terminal equipment - Google Patents

Alternating current system interference electricity detection method and device and terminal equipment Download PDF

Info

Publication number
CN113899963A
CN113899963A CN202111007577.1A CN202111007577A CN113899963A CN 113899963 A CN113899963 A CN 113899963A CN 202111007577 A CN202111007577 A CN 202111007577A CN 113899963 A CN113899963 A CN 113899963A
Authority
CN
China
Prior art keywords
voltage difference
current
difference value
sliding window
phase
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.)
Pending
Application number
CN202111007577.1A
Other languages
Chinese (zh)
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.)
Kehua Data Co Ltd
Zhangzhou Kehua Electric Technology Co Ltd
Original Assignee
Kehua Data Co Ltd
Zhangzhou Kehua Electric Technology 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 Kehua Data Co Ltd, Zhangzhou Kehua Electric Technology Co Ltd filed Critical Kehua Data Co Ltd
Priority to CN202111007577.1A priority Critical patent/CN113899963A/en
Publication of CN113899963A publication Critical patent/CN113899963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0084Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Phase Differences (AREA)

Abstract

The invention provides a method and a device for detecting alternating current system interference electricity and terminal equipment, wherein the method comprises the following steps: acquiring voltage data of a target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system after phase locking is carried out on the voltage data and preset theoretical voltage data; extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window; filtering the voltage difference value of each phase under the current sliding window respectively based on the weight value corresponding to each voltage difference value of each phase under the current sliding window to obtain the filtering value of each phase at the current moment; and judging whether the target alternating current system is subjected to power dazzling at the current moment or not based on the filtering values of all the phases at the current moment. The invention can accurately detect the electric interference.

Description

Alternating current system interference electricity detection method and device and terminal equipment
Technical Field
The invention belongs to the technical field of fault detection, and particularly relates to a method and a device for detecting alternating current system interference and terminal equipment.
Background
The power interference is a common grid fault, which is generally defined as the voltage transient exceeding 10% of the rated voltage and lasting for 10ms to 1min for a short time. The electricity interference is the power grid fault with the highest incidence at present, the stability of long-term operation of equipment is influenced, the production and manufacturing process cannot be continuously carried out, and a large amount of economic and time losses are brought.
In the prior art, the voltage instantaneous amplitude judgment method under a DQ (quadrature pulse) axis is usually adopted to detect the electric dazzling, because for a three-phase alternating current system, a three-phase voltage DQ can obtain a direct current voltage after being coupled, and the direct current voltage can be directly compared with a rated voltage to judge whether the electric dazzling occurs or not, the method is simple and convenient to use, and has a good detection effect on the simultaneous drop of the three-phase voltage. However, in the actual use process, a single-phase voltage drop is more common, and when the voltage drop is converted into a DQ voltage, the voltage drop is covered by other two-phase voltages, so that the method cannot accurately detect the voltage interference. The method for detecting the voltage in the single phase is complex, the object of the single phase detection is an alternating voltage quantity, and the alternating voltage quantity can change along with time, so that the problem of false detection is more likely to occur, and the accuracy of the electric-dazzling detection is further influenced.
Disclosure of Invention
The invention aims to provide a method and a device for detecting the interference of an alternating current system and terminal equipment, so as to accurately detect the interference of the alternating current system.
In a first aspect of the embodiments of the present invention, a method for detecting a brown-out of an ac system is provided, including:
acquiring voltage data of a target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system according to the voltage data and theoretical voltage data after phase locking is carried out on the voltage data and preset theoretical voltage data;
extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window;
filtering the voltage difference value of each phase under the current sliding window respectively based on the weight value corresponding to each voltage difference value of each phase under the current sliding window to obtain the filtering value of each phase at the current moment;
and judging whether the target alternating current system is subjected to power dazzling at the current moment or not based on the filtering value of each phase at the current moment.
In a possible implementation manner, the extracting, from the voltage difference value data based on a preset sliding window, each voltage difference value of each phase under a current sliding window includes:
extracting the latest N voltage difference values of each phase from the voltage difference value data to be used as each voltage difference value of each phase under the current sliding window; and N is a preset sliding window length, and the sliding window length is determined according to the current moment.
In a possible implementation manner, determining a weight corresponding to each voltage difference value of a certain phase under a current sliding window according to a current time and a sampling time corresponding to each voltage difference value of the phase under the current sliding window includes:
recording the sampling time corresponding to each voltage difference value of the phase under the current sliding window as the sampling time corresponding to the current sliding window;
if the sampling time corresponding to the current sliding window is within the valley period, evenly distributing the weight of each voltage difference value of the phase under the current sliding window;
if the sampling time corresponding to the current sliding window is within the peak time period, distributing the weight of each voltage difference value of the phase under the current sliding window according to the difference value between the sampling time corresponding to the current sliding window and the current time;
if the sampling time corresponding to the current sliding window has both the sampling time belonging to the peak time period and the sampling time belonging to the valley time period, dividing the current sliding window into at least two sub-windows according to the affiliated time period of each sampling time corresponding to the current sliding window, allocating corresponding weight values to each sub-window according to the number of voltage difference values corresponding to each sub-window, allocating weight values to each voltage difference value of the phase under each sub-window based on the weight values corresponding to each sub-window and the affiliated time period of each sub-window, and obtaining the weight values of each voltage difference value of the phase under the current sliding window.
In a possible implementation manner, the difference between the sampling time corresponding to each voltage difference value of the phase under the current sliding window and the current time is recorded as the time difference corresponding to each voltage difference value of the phase;
and the time difference corresponding to each voltage difference value of the phase is inversely related to the weight value of each voltage difference value of the phase.
In a possible implementation manner, assigning a weight to each voltage difference value of the phase under a certain sub-window based on the weight corresponding to the sub-window and the time period to which the sub-window belongs includes:
if the sampling moments corresponding to the sub-windows are all within the valley period, carrying out average distribution on the weights corresponding to the sub-windows according to the number of the voltage difference values corresponding to the sub-windows, and taking the weights obtained through the average distribution as the weights of the voltage difference values of the phase under the sub-windows;
if the sampling time corresponding to the sub-window is within the peak time period, determining the proportion of each voltage difference value of the phase under the sub-window according to the difference value between the sampling time corresponding to each voltage difference value of the phase under the sub-window and the current time, and determining the weight of each voltage difference value of the phase under the sub-window based on the weight corresponding to the sub-window and the proportion of each voltage difference value of the phase under the sub-window.
In one possible implementation, the filtered value of each phase at the current time is determined according to the following equation:
Figure BDA0003237522970000031
wherein, Δ Ux is the filtering value of the x phase at the current moment, x is a, b, and c, N is the preset sliding window length, Δ Uxi represents the ith voltage difference value of the x phase at the current sliding window, and δ i is the weight corresponding to the ith voltage difference value Δ Uxi.
In a possible implementation manner, the determining whether a current time of the target ac system is in a brown-out state based on the filtered values of the phases at the current time includes:
and detecting whether the filter value of each phase at the current moment is within a preset voltage fluctuation range, and if the filter value of one phase at the current moment is not within the preset voltage fluctuation range, judging that the target alternating current system is subjected to power dazzling at the current moment.
In a second aspect of the embodiments of the present invention, there is provided an alternating current system interference detection apparatus, including:
the data acquisition module is used for acquiring voltage data of a target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system according to the voltage data and preset theoretical voltage data after phase locking is carried out on the voltage data and the preset theoretical voltage data;
the sliding window data acquisition module is used for extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window;
the sliding window filtering module is used for respectively filtering the voltage difference values of all the phases under the current sliding window based on the weight values corresponding to all the voltage difference values of all the phases under the current sliding window to obtain the filtering values of all the phases at the current moment;
and the power interference detection module is used for judging whether the target alternating current system generates power interference at the current moment based on the filtering value of each phase at the current moment.
In a third aspect of the embodiments of the present invention, there is provided a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the alternating current system brown out detection method described above.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the alternating current system brown-out detection method described above.
The alternating current system interference electricity detection method, the alternating current system interference electricity detection device and the terminal equipment have the advantages that:
the method is different from the scheme of converting the voltage to the DQ coordinate system for carrying out the interference detection in the prior art, and the method directly carries out the respective judgment of each phase voltage based on the difference value data of each phase voltage, so that the situation that a certain phase voltage is covered by other two-phase voltages can be effectively avoided, and the interference detection accuracy of the alternating current system is improved. On the basis, the voltage difference data is determined in a phase-locking mode, the influence of phase delay on detection precision can be effectively counteracted, and the voltage data is filtered in a sliding window mode, so that the false detection caused by voltage distortion or voltage lowered by a load is effectively avoided, the accuracy of the voltage-shaking detection is further improved, and the problem of false detection caused by the change of alternating voltage in the conventional single-phase detection scheme is solved. In addition, when the filtering processing is carried out, the current moment and the sampling moment of each voltage data are also considered, namely the influence of the sampling delay on the detection accuracy is also considered, and the further improvement of the alternating current system voltage interference detection accuracy is realized again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for 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 without creative efforts.
Fig. 1 is a schematic flow chart of a method for detecting a brown-out in an ac system according to an embodiment of the present invention;
fig. 2 is a block diagram of a structure of a brown-out detection apparatus of an ac system according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal 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.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for detecting a brown-out in an ac system according to an embodiment of the present invention, where the method includes:
s101: the method comprises the steps of acquiring voltage data of a target alternating current system in real time, and determining voltage difference data corresponding to the target alternating current system according to the voltage data and theoretical voltage data after phase locking is carried out on the voltage data and preset theoretical voltage data.
In this embodiment, the voltage data and the preset theoretical voltage data may be phase-modulated, that is, the phase-locking operation is performed to achieve phase coincidence between the voltage data and the theoretical voltage data, and then the difference between the phase-locked theoretical voltage data and the voltage data is used as voltage difference data of the target ac system to counteract the influence of phase delay on the detection accuracy.
S102: and extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window.
In this embodiment, extracting the voltage difference values of the phases under the current sliding window from the voltage difference value data based on a preset sliding window includes:
and extracting the latest N voltage difference values of each phase from the voltage difference value data to be used as each voltage difference value of each phase under the current sliding window. And N is a preset sliding window length, N is an integer, and the sliding window length is determined according to the current moment.
The difference between the current time and the peak time (i.e. the central time of the peak time) is positively correlated with the length of the sliding window, that is, the closer the current time is to the peak time, the shorter the length of the sliding window is, and the farther the current time is from the peak time, the longer the length of the sliding window is. By adopting the method, the real-time performance of the electricity interference detection in the peak time period can be effectively ensured.
The latest N voltage difference values refer to voltage difference values obtained according to the latest sampled N voltage data and theoretical voltage data.
In this embodiment, the weight corresponding to each voltage difference value of each phase under the current sliding window may be determined according to the time period to which the current time belongs and the difference value between the current time and the sampling time, so as to improve the accuracy and timeliness of the interference detection.
S103: and respectively filtering the voltage difference value of each phase under the current sliding window based on the weight value corresponding to each voltage difference value of each phase under the current sliding window to obtain the filtering value of each phase at the current moment.
In one possible implementation, the filtered value of each phase at the current time is determined according to the following equation:
Figure BDA0003237522970000071
wherein, Δ Ux is the filtering value of the x phase at the current moment, x is a, b, and c, N is the preset sliding window length, Δ Uxi represents the ith voltage difference value of the x phase at the current sliding window, and δ i is the weight corresponding to the ith voltage difference value Δ Uxi.
S104: and judging whether the target alternating current system is subjected to power dazzling at the current moment or not based on the filtering values of all the phases at the current moment.
In a possible implementation manner of this embodiment, determining whether a target ac system is subjected to a power outage at a current time based on a filtered value of each phase at the current time includes:
and detecting whether the filter value of each phase at the current moment is within a preset voltage fluctuation range, and if the filter value of one phase at the current moment is not within the preset voltage fluctuation range, judging that the target alternating current system is subjected to power dazzling at the current moment. And if the filtering values of all the phases at the current moment are within the preset voltage fluctuation range, judging that the target alternating current system is not subjected to power dazzling at the current moment.
The ac system described in the present invention may be a single-phase ac system, a two-phase ac system, or a three-phase ac system, that is, the ac system voltage-shaking detection method provided in the present invention may be applied to the single-phase ac system, the two-phase ac system, or the three-phase ac system, and the "each phase" mentioned in steps S102 to S104 refers to each phase of the single-phase ac system, the two-phase ac system, or the three-phase ac system (where it is to be noted that the single-phase ac system has only one phase, and each phase refers to a corresponding phase of the single-phase ac system).
The method and the device have the advantages that the method and the device are different from the scheme of converting the voltage into the DQ coordinate system to perform the interference detection in the prior art, the voltage difference value of each phase is directly and respectively judged, so that the situation that a certain phase voltage is covered by other two-phase voltages can be effectively avoided, and the interference detection accuracy of the alternating current system is improved. On the basis, the voltage difference value is determined in a phase-locking mode, the influence of phase delay on detection precision can be effectively counteracted, and the voltage difference value is subjected to filtering processing in a sliding window mode, so that false detection caused by voltage distortion or voltage reduction by a load is effectively avoided, the accuracy of the voltage interference detection in the embodiment of the invention is further improved, and the problem of false detection caused by the change of alternating voltage in a conventional single-phase detection scheme is solved. In addition, when the filtering processing is carried out, the current moment and the sampling moment of each voltage difference value are also considered, namely the influence of sampling delay on the detection accuracy is also considered, and the further improvement of the alternating current system voltage interference detection accuracy is realized again.
In a possible implementation manner, determining a weight corresponding to each voltage difference value of a certain phase under a current sliding window according to a current time and a sampling time corresponding to each voltage difference value of the phase under the current sliding window includes:
and recording the sampling time corresponding to each voltage difference value of the phase under the current sliding window as the sampling time corresponding to the current sliding window.
And if the sampling moments corresponding to the current sliding window are all within the valley period, averagely distributing the weight of each voltage difference value of the phase under the current sliding window.
And if the sampling moments corresponding to the current sliding window are all within the peak time period, distributing the weight of each voltage difference value of the phase under the current sliding window according to the difference value between the sampling moment corresponding to the current sliding window and the current moment.
If the sampling time corresponding to the current sliding window has both the sampling time belonging to the peak time period and the sampling time belonging to the valley time period, dividing the current sliding window into at least two sub-windows according to the affiliated time period of each sampling time corresponding to the current sliding window, allocating corresponding weight values to each sub-window according to the number of voltage difference values corresponding to each sub-window, allocating weight values to each voltage difference value of the phase under each sub-window based on the weight values corresponding to each sub-window and the affiliated time period of each sub-window, and obtaining the weight values of each voltage difference value of the phase under the current sliding window.
In the present embodiment, the off-peak period refers to a preset off-peak period of electricity usage, and the on-peak period refers to a preset on-peak period of electricity usage.
In this embodiment, if the sampling time corresponding to the current sliding window is within the valley period, the weight of each voltage difference is 1/sliding window length.
In this embodiment, if the sampling time corresponding to the current sliding window is within the peak time, the weight of each voltage difference value of the phase under the current sliding window is allocated according to the difference value between the sampling time and the current time. And the sum of the weights of the voltage difference values of the phase under the current sliding window is 1.
In a possible implementation manner, the difference between the sampling time corresponding to each voltage difference value of the phase under the current sliding window and the current time is recorded as the time difference corresponding to each voltage difference value of the phase. The time difference corresponding to each voltage difference value of the phase can be set to be inversely related to the weight of each voltage difference value of the phase. That is to say, the larger the time difference corresponding to a certain voltage difference value is, the smaller the weight of the voltage difference value is, and the setting can effectively ensure the real-time performance of the difference value and realize the timely response of the electric-dazzling detection.
In a possible implementation manner, the weight of each voltage difference value may also be determined according to a membership relationship between a time difference corresponding to each voltage difference value of the phase and a preset time difference range. And if the time difference corresponding to a certain voltage difference value belongs to a first preset time difference range, setting the weight of the voltage difference value as a first weight. That is, the weights corresponding to the voltage difference values whose corresponding time differences belong to the same preset time difference range are all equal, and on this basis, the average time difference corresponding to the preset time difference range can be set to be inversely related to the weight of each voltage difference value. For example, if the length of the sliding window is 10, and for a certain phase, 10 voltage difference values of the phase are included in the current sliding window, according to the method described in this embodiment, the weights of the first 4 voltage difference values are all set to be 0.05, the weights of the middle four voltage difference values are set to be 0.1, and the weights of the last two voltage difference values are set to be 0.2.
In this embodiment, the sampling time corresponding to the current sliding window covers both the peak time period and the valley time period, the voltage difference value in the current sliding window may be separately processed according to the belonged time period, that is, the current sliding window is divided into at least two sub-windows according to the belonged time period of each sampling time corresponding to the current sliding window (that is, the window corresponding to the voltage difference value of the sampling time belonging to the same time period forms one sub-window), and corresponding weight values are allocated to each sub-window according to the number of the voltage difference values corresponding to each sub-window (specifically, the more the voltage difference value corresponding to each sub-window is, the greater the weight value allocated to each sub-window is, that is, the weight value corresponding to each sub-window is determined according to the ratio of the voltage difference value corresponding to each sub-window to all the voltage difference values corresponding to the current sliding window), and the weight values corresponding to each sub-window and the belonged time period of each sub-window are used for each phase under each sub-window And distributing a weight value by the voltage difference value.
In a possible implementation manner, assigning a weight to each voltage difference value of the phase under a certain sub-window based on the weight corresponding to the sub-window and the time period to which the sub-window belongs includes:
and if the sampling moments corresponding to the sub-windows are all within the valley period, performing average distribution on the weights corresponding to the sub-windows according to the number of the voltage difference values corresponding to the sub-windows, and taking the weights obtained through the average distribution as the weights of the voltage difference values of the phase under the sub-windows.
In this embodiment, if the sampling time corresponding to the sub-window is within the valley period, the weight of each voltage difference of the phase under the sub-window is equal to the weight corresponding to the sub-window/the number of the voltage differences corresponding to the sub-window.
If the sampling time corresponding to the sub-window is within the peak time period, determining the proportion of each voltage difference value of the phase under the sub-window according to the difference value between the sampling time corresponding to each voltage difference value of the phase under the sub-window and the current time, and determining the weight of each voltage difference value of the phase under the sub-window based on the weight corresponding to the sub-window and the proportion of each voltage difference value of the phase under the sub-window.
In this embodiment, the difference between the sampling time corresponding to each voltage difference value of the phase in the sub-window and the current time is greater than the ratio corresponding to each voltage difference value of the phase in the sub-window. On the basis, the weight of each voltage difference value of the phase under the sub-window is equal to the weight corresponding to the sub-window and the proportion of each voltage difference value of the phase under the sub-window.
Fig. 2 is a block diagram of an ac system interference detecting apparatus according to an embodiment of the present invention, which corresponds to the ac system interference detecting method of the above embodiment. For convenience of explanation, only portions related to the embodiments of the present invention are shown. Referring to fig. 2, the alternating current system interference detecting device 20 includes: the device comprises a data acquisition module 21, a sliding window data acquisition module 22, a sliding window filtering module 23 and a shaking detection module 24.
The data acquisition module is used for acquiring voltage data of the target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system according to the voltage data and the theoretical voltage data after phase locking is carried out on the voltage data and preset theoretical voltage data.
And the sliding window data acquisition module is used for extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on the preset sliding window, and determining the weight corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window.
And the sliding window filtering module is used for respectively filtering the voltage difference values of all the phases under the current sliding window based on the weight values corresponding to all the voltage difference values of all the phases under the current sliding window to obtain the filtering values of all the phases at the current moment.
And the power interference detection module is used for judging whether the target alternating current system generates power interference at the current moment or not based on the filtering value of each phase at the current moment.
In a possible implementation manner, the data obtaining module 21 is specifically configured to:
and extracting the latest N voltage difference values of each phase from the voltage difference value data to be used as each voltage difference value of each phase under the current sliding window. And N is the preset length of the sliding window, and the length of the sliding window is determined according to the current moment.
In one possible implementation manner, for a certain phase voltage difference value, the sliding window data obtaining module 22 is specifically configured to:
and recording the sampling time corresponding to each voltage difference value of the phase under the current sliding window as the sampling time corresponding to the current sliding window.
And if the sampling moments corresponding to the current sliding window are all within the valley period, averagely distributing the weight of each voltage difference value of the phase under the current sliding window.
And if the sampling moments corresponding to the current sliding window are all within the peak time period, distributing the weight of each voltage difference value of the phase under the current sliding window according to the difference value between the sampling moment corresponding to the current sliding window and the current moment.
If the sampling time corresponding to the current sliding window has both the sampling time belonging to the peak time period and the sampling time belonging to the valley time period, dividing the current sliding window into at least two sub-windows according to the affiliated time period of each sampling time corresponding to the current sliding window, allocating corresponding weight values to each sub-window according to the number of voltage difference values corresponding to each sub-window, allocating weight values to each voltage difference value of the phase under each sub-window based on the weight values corresponding to each sub-window and the affiliated time period of each sub-window, and obtaining the weight values of each voltage difference value of the phase under the current sliding window.
In a possible implementation manner, the difference between the sampling time corresponding to each voltage difference value of the phase under the current sliding window and the current time is recorded as the time difference corresponding to each voltage difference value of the phase.
And the time difference corresponding to each voltage difference value of the phase is inversely related to the weight value of each voltage difference value of the phase.
In one possible implementation manner, for a certain phase voltage difference value, the sliding window data obtaining module 22 is specifically configured to:
and when the sampling time corresponding to a certain sub-window is within the valley period, averagely distributing the weight values corresponding to the sub-window according to the number of the voltage difference values corresponding to the sub-window, and taking the weight values obtained by the average distribution as the weight values of the voltage difference values of the phase under the sub-window.
When the sampling time corresponding to a certain sub-window is within the peak time period, determining the proportion of each voltage difference value of the phase under the sub-window according to the difference value between the sampling time corresponding to each voltage difference value of the phase under the sub-window and the current time, and determining the weight of each voltage difference value of the phase under the sub-window based on the weight corresponding to the sub-window and the proportion of each voltage difference value of the phase under the sub-window.
In one possible implementation, the sliding window filtering module 23 determines the filtered value of each phase at the current time according to the following formula:
Figure BDA0003237522970000121
the method comprises the following steps that Ux is a filtering value of an x phase at the current moment, x is a, b and c, N is a preset sliding window length, Uxi represents an ith voltage difference value of the x phase under the current sliding window, and δ i is a weight value corresponding to the ith voltage difference value Uxi.
In one possible implementation, the brown-out detection module 24 is specifically configured to:
and detecting whether the filter value of each phase at the current moment is within a preset voltage fluctuation range, and if the filter value of one phase at the current moment is not within the preset voltage fluctuation range, judging that the target alternating current system is subjected to power dazzling at the current moment.
Referring to fig. 3, fig. 3 is a schematic block diagram of a terminal device according to an embodiment of the present invention. The terminal 300 in the present embodiment as shown in fig. 3 may include: one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processor 301, the input device 302, the output device 303, and the memory 304 are in communication with each other via a communication bus 305. The memory 304 is used to store a computer program comprising program instructions. Processor 301 is operative to execute program instructions stored in memory 304. Wherein the processor 301 is configured to call program instructions to perform the following functions for operating the modules/units in the above-described device embodiments, such as the functions of the modules 21 to 24 shown in fig. 2.
It should be understood that, in the embodiment of the present invention, the Processor 301 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 302 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.
The memory 304 may include a read-only memory and a random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store device type information.
In a specific implementation, the processor 301, the input device 302, and the output device 303 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the alternating current system brown-out detection method provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, implement all or part of the processes in the method of the above embodiments, and may also be implemented by a computer program instructing associated hardware, and the computer program may be stored in a computer-readable storage medium, and the computer program, when executed by a processor, may implement the steps of the above methods embodiments. 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 computer program code, recording medium, U.S. 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 media, and the like. It should be noted that the computer readable medium may include any suitable increase or decrease as required by legislation and patent practice in the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The computer readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk provided on the terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing a computer program and other programs and data required by the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. 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.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, 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 or units, and may also be an electrical, mechanical or other form of connection.
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 of the present invention.
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.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for detecting alternating current system interference is characterized by comprising the following steps:
acquiring voltage data of a target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system according to the voltage data and theoretical voltage data after phase locking is carried out on the voltage data and preset theoretical voltage data;
extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window;
filtering the voltage difference value of each phase under the current sliding window respectively based on the weight value corresponding to each voltage difference value of each phase under the current sliding window to obtain the filtering value of each phase at the current moment;
and judging whether the target alternating current system is subjected to power dazzling at the current moment or not based on the filtering value of each phase at the current moment.
2. The ac system brown-out detection method according to claim 1, wherein the extracting, from the voltage difference value data, each voltage difference value of each phase under a current sliding window based on a preset sliding window includes:
extracting the latest N voltage difference values of each phase from the voltage difference value data to be used as each voltage difference value of each phase under the current sliding window; and N is a preset sliding window length, and the sliding window length is determined according to the current moment.
3. The alternating current system interference detection method of claim 1, wherein determining a weight corresponding to each voltage difference value of a certain phase under a current sliding window according to a current time and a sampling time corresponding to each voltage difference value of the phase under the current sliding window comprises:
recording the sampling time corresponding to each voltage difference value of the phase under the current sliding window as the sampling time corresponding to the current sliding window;
if the sampling time corresponding to the current sliding window is within the valley period, evenly distributing the weight of each voltage difference value of the phase under the current sliding window;
if the sampling time corresponding to the current sliding window is within the peak time period, distributing the weight of each voltage difference value of the phase under the current sliding window according to the difference value between the sampling time corresponding to the current sliding window and the current time;
if the sampling time corresponding to the current sliding window has both the sampling time belonging to the peak time period and the sampling time belonging to the valley time period, dividing the current sliding window into at least two sub-windows according to the affiliated time period of each sampling time corresponding to the current sliding window, allocating corresponding weight values to each sub-window according to the number of voltage difference values corresponding to each sub-window, allocating weight values to each voltage difference value of the phase under each sub-window based on the weight values corresponding to each sub-window and the affiliated time period of each sub-window, and obtaining the weight values of each voltage difference value of the phase under the current sliding window.
4. The alternating current system voltage sag detection method according to claim 3, wherein a difference between a sampling time corresponding to each voltage difference value of the phase under a current sliding window and a current time is recorded as a time difference corresponding to each voltage difference value of the phase;
and the time difference corresponding to each voltage difference value of the phase is inversely related to the weight value of each voltage difference value of the phase.
5. The alternating current system interference detection method of claim 3, wherein the step of assigning a weight value to each voltage difference value of the phase under a certain sub-window based on the weight value corresponding to the sub-window and the time period to which the sub-window belongs comprises:
if the sampling moments corresponding to the sub-windows are all within the valley period, carrying out average distribution on the weights corresponding to the sub-windows according to the number of the voltage difference values corresponding to the sub-windows, and taking the weights obtained through the average distribution as the weights of the voltage difference values of the phase under the sub-windows;
if the sampling time corresponding to the sub-window is within the peak time period, determining the proportion of each voltage difference value of the phase under the sub-window according to the difference value between the sampling time corresponding to each voltage difference value of the phase under the sub-window and the current time, and determining the weight of each voltage difference value of the phase under the sub-window based on the weight corresponding to the sub-window and the proportion of each voltage difference value of the phase under the sub-window.
6. The alternating current system brown-out detection method according to any one of claims 1 to 5, wherein the filtered value of each phase at the current time is determined according to the following formula:
Figure FDA0003237522960000021
wherein, Δ Ux is the filtering value of the x phase at the current moment, x is a, b, and c, N is the preset sliding window length, Δ Uxi represents the ith voltage difference value of the x phase at the current sliding window, and δ i is the weight corresponding to the ith voltage difference value Δ Uxi.
7. The alternating current system power-on interference detection method according to any one of claims 1 to 5, wherein the determining whether the target alternating current system has power-on interference at the current time based on the filtered value of each phase at the current time includes:
and detecting whether the filter value of each phase at the current moment is within a preset voltage fluctuation range, and if the filter value of one phase at the current moment is not within the preset voltage fluctuation range, judging that the target alternating current system is subjected to power dazzling at the current moment.
8. An alternating current system interference detection device, comprising:
the data acquisition module is used for acquiring voltage data of a target alternating current system in real time, and determining voltage difference value data corresponding to the target alternating current system according to the voltage data and preset theoretical voltage data after phase locking is carried out on the voltage data and the preset theoretical voltage data;
the sliding window data acquisition module is used for extracting each voltage difference value of each phase under the current sliding window from the voltage difference value data based on a preset sliding window, and determining a weight value corresponding to each voltage difference value of each phase under the current sliding window according to the current time and the sampling time corresponding to each voltage difference value of each phase under the current sliding window;
the sliding window filtering module is used for respectively filtering the voltage difference values of all the phases under the current sliding window based on the weight values corresponding to all the voltage difference values of all the phases under the current sliding window to obtain the filtering values of all the phases at the current moment;
and the power interference detection module is used for judging whether the target alternating current system generates power interference at the current moment based on the filtering value of each phase at the current moment.
9. A terminal 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 of claims 1 to 7 when executing the computer program.
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 7.
CN202111007577.1A 2021-08-30 2021-08-30 Alternating current system interference electricity detection method and device and terminal equipment Pending CN113899963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111007577.1A CN113899963A (en) 2021-08-30 2021-08-30 Alternating current system interference electricity detection method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111007577.1A CN113899963A (en) 2021-08-30 2021-08-30 Alternating current system interference electricity detection method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN113899963A true CN113899963A (en) 2022-01-07

Family

ID=79188361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111007577.1A Pending CN113899963A (en) 2021-08-30 2021-08-30 Alternating current system interference electricity detection method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN113899963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117907878A (en) * 2024-03-15 2024-04-19 商宇(深圳)科技有限公司 Method and device for judging power failure of alternating current power supply, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739079A (en) * 2001-12-28 2006-02-22 英特尔公司 Mechanism for estimating and controlling DI/DT induced power supply voltage variations
CN108196165A (en) * 2018-01-09 2018-06-22 贵州大学 Power grid abnormal state detection method based on sample covariance matrix maximum eigenvalue
CN108333419A (en) * 2017-12-29 2018-07-27 国网浙江省电力公司台州供电公司 A kind of voltage dip detection device
CN108634935A (en) * 2018-05-09 2018-10-12 广东工业大学 The method, apparatus and equipment of signal base line drift correction
CN109164293A (en) * 2018-07-10 2019-01-08 深圳市华宝新能源股份有限公司 A kind of alternating current power failure detection method, electronic equipment, storage medium and energy-storage system
CN111103554A (en) * 2019-11-27 2020-05-05 九阳股份有限公司 Power failure detection method, device, circuit system and computer storage medium
CN111308164A (en) * 2020-03-19 2020-06-19 广东美的暖通设备有限公司 Voltage detection method and system, power supply circuit, air conditioning equipment and storage medium
CN111736648A (en) * 2020-05-26 2020-10-02 科华恒盛股份有限公司 Output voltage control method and device and terminal equipment
CN112180284A (en) * 2020-09-23 2021-01-05 歌尔科技有限公司 Power failure detection method and device for alternating current power supply of electric equipment and related equipment
WO2021164267A1 (en) * 2020-02-21 2021-08-26 平安科技(深圳)有限公司 Anomaly detection method and apparatus, and terminal device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739079A (en) * 2001-12-28 2006-02-22 英特尔公司 Mechanism for estimating and controlling DI/DT induced power supply voltage variations
CN108333419A (en) * 2017-12-29 2018-07-27 国网浙江省电力公司台州供电公司 A kind of voltage dip detection device
CN108196165A (en) * 2018-01-09 2018-06-22 贵州大学 Power grid abnormal state detection method based on sample covariance matrix maximum eigenvalue
CN108634935A (en) * 2018-05-09 2018-10-12 广东工业大学 The method, apparatus and equipment of signal base line drift correction
CN109164293A (en) * 2018-07-10 2019-01-08 深圳市华宝新能源股份有限公司 A kind of alternating current power failure detection method, electronic equipment, storage medium and energy-storage system
CN111103554A (en) * 2019-11-27 2020-05-05 九阳股份有限公司 Power failure detection method, device, circuit system and computer storage medium
WO2021164267A1 (en) * 2020-02-21 2021-08-26 平安科技(深圳)有限公司 Anomaly detection method and apparatus, and terminal device and storage medium
CN111308164A (en) * 2020-03-19 2020-06-19 广东美的暖通设备有限公司 Voltage detection method and system, power supply circuit, air conditioning equipment and storage medium
CN111736648A (en) * 2020-05-26 2020-10-02 科华恒盛股份有限公司 Output voltage control method and device and terminal equipment
CN112180284A (en) * 2020-09-23 2021-01-05 歌尔科技有限公司 Power failure detection method and device for alternating current power supply of electric equipment and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117907878A (en) * 2024-03-15 2024-04-19 商宇(深圳)科技有限公司 Method and device for judging power failure of alternating current power supply, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108197156B (en) Abnormal electric quantity data restoration method of electricity consumption information acquisition system and terminal equipment
CN110196404B (en) Charging pile metering chip calibration method and device and terminal equipment
CN108197774B (en) Distributed photovoltaic power generation capacity abnormity diagnosis method and device
CN109888420B (en) Charging method and device for lithium ion battery pack and terminal equipment
CN112564117A (en) Voltage sag treatment method, voltage sag treatment device and terminal equipment
CN109270316A (en) A kind of power consumer electricity consumption abnormality recognition method, device and terminal device
CN110729762B (en) Island disturbance method, system and terminal equipment
CN112198375A (en) Phase identification method, device, equipment and storage medium for single-phase user
CN111736648B (en) Output voltage control method and device and terminal equipment
CN113899963A (en) Alternating current system interference electricity detection method and device and terminal equipment
CN113484596A (en) Power quality monitoring method, device and equipment and readable storage medium
CN113792967A (en) Distributed photovoltaic operation state evaluation method and device and electronic equipment
CN112034247A (en) Fault recording method of electric energy meter and electric energy meter thereof
CN108830663B (en) Electric power customer value evaluation method and system and terminal equipment
CN109065198B (en) Nuclear power unit power boost margin monitoring method, device and system
CN115600831A (en) User theoretical response potential evaluation method, device, terminal and storage medium
CN112684282B (en) Power distribution network single-phase earth fault identification method and device and terminal equipment
CN214174530U (en) Intelligent circuit breaker alternating current sampling module
CN113777429A (en) Filter capacitor failure early warning method and control device
CN109375055B (en) Detection method, system and device of phasor measurement system and storage medium
CN114123164B (en) Method and device for calculating short-circuit capacity of power system and terminal equipment
CN111400649A (en) Harmonic responsibility quantification method and device, computer equipment and storage medium
CN111694821A (en) Wiring mode-related power abnormal data filtering method and device and electronic equipment
CN111122964B (en) Electric energy metering method and system
CN113224959B (en) Inverter control method and UPS

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