A method and system for automatically cutting off power supply by detecting power grid peak value

The power grid voltage is collected through the voltage transformer, and peak detection and calculation and analysis are performed using the detection module and processing module. Combined with the reverse control and adjustment of the PID control module, the high-precision acquisition of the power grid voltage peak and the automatic power supply cutoff function is realized, solving the problem of inaccurate acquisition and inability to achieve automatic cutting in the existing technology.

CN119009881BActive Publication Date: 2025-02-28CHEARI BEIJING CERTIFICATION & TESTING
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411103932.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2025-02-28
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The prior art cannot achieve high-precision acquisition and analysis of power grid voltage, and cannot perform effective on-off control and regulation when the voltage peak is too large.

Method used

The power grid voltage is collected through a voltage transformer, and peak detection and calculation analysis are performed using the detection module and processing module. Then, the PID control module performs reverse control and adjustment, and drives the closing switch to automatically cut off the power supply.

Benefits of technology

It realizes high-precision acquisition and analysis of the voltage peak of the power grid, ensuring that the power supply can be automatically cut off when the voltage peak is too high, and protecting the safety of power equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically cutting off power supply by detecting the peak value of a power grid, comprising: S1, obtaining the power grid voltage through a voltage transformer; S2, obtaining the voltage peak value by a detection module; S3, processing the collected peak value signal by a processing module; S4, reverse control and regulation by a PID control module; a system for automatically cutting off power supply by detecting the peak value of a power grid, comprising a control system, a voltage regulating module, a power supply module, a voltage transformer, a detection module, a processing module, a PID control module, a driving module, a closing switch and an auxiliary module; the invention collects the power grid voltage through a voltage transformer, and the collected voltage is convenient for the detection module to detect the peak voltage, and after the voltage peak value is calculated, analyzed and processed, the PID control module is used for control and regulation, so as to realize on-off control and regulation of the power grid, so as to realize automatic control and power cut-off regulation according to the peak value of the power grid voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power grid peak detection, and in particular to a method and a system thereof for automatically cutting off power supply by detecting a power grid peak. Background Art

[0002] Voltage peak In an AC circuit, the output voltage of a power supply or the voltage between two points in a circuit is constantly changing. In a DC circuit, the voltage may also fluctuate. Then, the value when the voltage changes to the highest value is called the voltage peak.

[0003] The whole of the power system consisting of substations and transmission and distribution lines of various voltages is called the power grid. It includes three units: substation, transmission, and distribution. The task of the power grid is to transmit and distribute electrical energy and change the voltage.

[0004] With the rapid development of digitalization, automation and Internet technology, the power system is also undergoing a profound transformation. The traditional power grid system is gradually transforming into a smart grid, which provides a more efficient, flexible and reliable power supply. But at the same time, the complexity of the power grid has also increased, resulting in more failures and unpredictable challenges. Therefore, real-time monitoring and prediction of the power grid are crucial to ensure its stable and safe operation. The peak value of the grid voltage is particularly important during power transmission. When the peak value is large, it is easy to cause damage to the power equipment. Therefore, it is necessary to cut off the power when the peak voltage exceeds the set voltage to ensure the safety of the power equipment.

[0005] In a Chinese invention patent with application publication number CN111323633A, a voltage peak judgment device, a power-off device and a method are disclosed, which include a power supply device for supplying power to the device under test, a zero-crossing detection circuit for detecting the zero-crossing moment of the output voltage of the power supply device and generating a zero-crossing detection signal; a timing device for timing according to a set duration from the rising edge or falling edge of the zero-crossing detection signal. The present invention uses a zero-crossing detection circuit to detect the zero-crossing moment of the output voltage of the power supply device, and from the zero-crossing moment, a preset fixed time length is delayed to accurately capture the voltage peak moment. The present invention also discloses a voltage peak power-off device and method.

[0006] However, in combination with the prior art and the above application, there are still some problems in the prior art, such as the inability to reduce the voltage of the high voltage, the use of current sampling resistors is troublesome and inconvenient, and the accurate collection of grid voltage cannot be achieved, and the collected data information cannot be accurately calculated and analyzed, and the on-off control adjustment cannot be achieved when the voltage peak is too large.

[0007] To this end, the present invention provides a method and system for automatically cutting off power supply by detecting a peak value of a power grid. Summary of the invention

[0008] 1. Technical issues to be solved

[0009] In view of the deficiencies in the prior art, the present invention provides a method and system for automatically cutting off power supply by detecting the peak value of a power grid, wherein the power grid voltage is collected through a voltage transformer, and the collected voltage is convenient for a detection module to detect the peak voltage, that is, through corresponding conversion processing, the peak voltage of the power grid can be accurately collected, and after the voltage peak value is calculated and analyzed, control and adjustment are performed through a PID control module to realize on-off control and adjustment of the power grid, which is convenient for realizing automatic control and power cut-off regulation according to the peak value of the power grid voltage, thereby solving the technical problems recorded in the background technology.

[0010] (II) Technical solution

[0011] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0012] A method for automatically cutting off power supply by detecting a peak value of a power grid comprises:

[0013] S1. Obtaining the grid voltage through a voltage transformer: When the grid is supplying power, the grid voltage is collected through a voltage transformer, and the size of the sampled voltage is determined according to the ratio of the number of turns of the voltage transformer;

[0014] S2. The detection module obtains the voltage peak value: The detection module performs peak detection on the voltage signal collected by the voltage transformer, obtains the peak signal corresponding to the power grid, and then analyzes and processes the data information through the processing module;

[0015] S3, the processing module processes the collected peak signal: the processing module calculates and processes the peak signal collected by the monitoring module, that is, acquires, filters, converts, amplifies and performs dimension reduction mapping on the peak signal;

[0016] S4, PID control module reverse control adjustment: After processing the peak signal, the control system performs adjustment control through the PID control module, that is, the PID control module outputs a signal to the drive module, so that the drive module can drive and control the closing switch, so that the closing switch can automatically cut off the grid voltage when the voltage reaches a peak.

[0017] Furthermore, the voltage transformer is used to convert the high voltage in the power grid into a low voltage, so that the detection module can monitor and measure the voltage peak information of the power grid. The voltage transformer is composed of a primary winding and a secondary winding, an iron core, lead wires, and an insulation structure;

[0018] The ratio between the primary winding and the secondary winding is the ratio of the converted voltage value, that is, the ratio of the primary winding and the secondary winding is set to T1 / T2, and the voltage ratio on both sides of the voltage transformer is T1 / T2=V1 / V2, which is used to reduce the high voltage of the power grid to a low voltage, making it easier for the detection module to detect the voltage peak.

[0019] Furthermore, the detection module adopts a peak detector, which captures the extreme value of the voltage signal at the output end of the voltage transformer, and the peak detector includes a positive peak detector and a negative peak detector. The positive peak detector captures the most positive point of the input signal, while the negative peak detector captures the most negative point of the input signal. The output of the peak detector circuit tracks or follows the input voltage until it reaches the extreme point, and when the input decreases, the maximum peak value collected is still maintained.

[0020] Furthermore, the processing module includes an acquisition unit, a conversion unit, a filtering unit, an amplification unit, an anomaly detection unit and a dimensionality reduction unit;

[0021] The acquisition unit is used to receive and acquire the voltage peak signal collected by the detection module, the conversion unit is used to perform analog-to-digital conversion on the voltage peak signal collected by the detection module, the filtering unit is used to filter out noise from the voltage peak signal collected by the detection module to improve the accuracy of the voltage peak signal, the amplification unit is used to gain amplify the voltage peak signal collected by the detection module to prevent the voltage peak signal from being too weak and being lost, the abnormality detection unit is used to perform abnormality detection on the voltage peak signal collected by the detection module and eliminate the abnormal voltage peak signal, and the dimension reduction unit is used to reduce the dimension of the voltage peak signal collected by the detection module and map it between [0, 1].

[0022] Furthermore, the filter unit adopts a finite length unit impulse response filter, and the definition of an M-order FIR filter is as follows:

[0023] The filter unit uses a finite length unit impulse response filter. The definition of an M-order FIR filter is as follows:

[0024] The relationship between the FIR output of length M and the input time series u(n) is given by a finite convolution sum:

[0025]

[0026] Where v(n) is the output signal of the filter; u(n) is the input signal of the filter; h(q) is the impulse response of the filter; M is the order of the filter;

[0027] The above formula expresses an M-1 order FIR filter with M taps, so it consists of M multipliers and M-1 accumulators. Each tap requires a multiplier-accumulator unit that consumes logic resources to filter the voltage peak signal collected by the detection module.

[0028] Further, the abnormality detection unit performs calculation and analysis processing by a linear regression algorithm, and calculates a linear model of the collected voltage peak signal by linear regression;

[0029] In the linear regression algorithm, X is the input value of the data, and X i Y is the voltage peak signal collected by the detection module, i is the output value of the data, then Y i and X i The dependency relationship between them is expressed as:

[0030] Y i =α+βX i +ε i ;

[0031] Among them, α and β are constants, ε i The random disturbance term is a random variable that cannot be directly observed. i represents the number of items of the i-th data information. α and β are collectively referred to as the parameters of the overall regression equation. α is the constant term of the overall regression equation, and the intercept of the overall regression line on the Y-axis. β is the overall regression coefficient, which is also the slope of the overall regression line. When the voltage peak signal is far from the regression line, the voltage peak signal is determined to be an abnormal signal, and the distance is determined by calculating the cluster center of the voltage peak signal.

[0032] Furthermore, the cluster center of the voltage peak signal divides the data information into z clusters.

[0033]

[0034] Where F is the outlier factor, D is the collected voltage peak signal, |z j | is the number of samples in the jth cluster group, d(p,z j ) is the distance between sample p and the jth cluster center, and z j is the jth cluster center;

[0035] For the distance away from the cluster center, it is set to average the distance from the center position of all voltage peak signals, that is, If the voltage peak signal and the cluster center z j If the distance is greater than 2d, the voltage peak signal is determined to be abnormal data information.

[0036] Furthermore, the dimension reduction unit performs standardization processing on the voltage peak signal. The calculation method of data standardization is as follows:

[0037] The characteristic value of the data is set R, then the maximum value in set R is R max , the minimum value in set R is R min , and in order to make the processed data standardized and mapped to [0, 1];

[0038] Where R' is the R after normalization t The output value is directly mapped between [0, 1], and R t Represents the tth data in the set R to be processed.

[0039] Furthermore, the PID control module uses a PID control algorithm for reverse regulation, and the calculation formula of the PID control algorithm is as follows:

[0040]

[0041] Where K p is the proportional gain, e(t) is the deviation number, U(t) is the controlled output, K I is the integral gain, K D is the differential gain;

[0042] The calculation of e(t) is as follows: e(t) = V1-V2, where V1 is the set voltage peak value and V2 is the detected voltage peak signal;

[0043] After calculation and analysis, the detected voltage peak signal is greater than the set voltage peak, and the PID control module drives the closing switch through the driving module to disconnect the voltage.

[0044] A system for automatically cutting off power supply by detecting peak value of power grid, comprising:

[0045] The control system is used to control and adjust the system, collect the detected voltage peak signal, and issue control instructions according to the collected voltage peak signal, so that the system can achieve control and adjustment;

[0046] The voltage regulating module is used to realize the power supply operation of the control system, that is, the voltage regulating module includes a step-down circuit, a rectifier circuit, a filter circuit and a voltage stabilizing circuit. The step-down circuit is used to reduce the high voltage to a low voltage, the rectifier circuit is used to convert the AC voltage into a DC voltage, the filter circuit is used to filter the AC voltage in the DC voltage, and the voltage stabilizing circuit is used to stabilize the voltage output and stabilize the voltage at 5V / 12V, so as to realize the stable power supply operation of the system;

[0047] The power supply module is used to supply power to the system and adjust the voltage through the voltage regulating module to achieve stable power supply operation of the system;

[0048] The voltage transformer is used to collect the voltage of the power grid, and according to the ratio of the number of turns of the voltage transformer, the voltage is proportionally reduced to facilitate the detection of the peak value of the power grid voltage;

[0049] The detection module detects the voltage converted and collected by the voltage transformer through a peak detector, so as to realize the conversion and detection of the peak value of the grid voltage;

[0050] The processing module is used to acquire, filter, convert, amplify and reduce the dimension of the collected voltage peak signal. The voltage peak signal is mainly acquired by the acquisition unit, the conversion unit performs analog-to-digital conversion on the voltage peak signal, the filtering unit is used to filter out the clutter in the voltage peak signal, the amplification unit is used to perform gain processing on the voltage peak signal to prevent the voltage peak signal from being lost, the abnormality detection unit is used to detect abnormal data information in the voltage peak signal, and the dimension reduction unit is used to perform dimension reduction processing on the voltage peak signal to facilitate subsequent processing;

[0051] PID control module: The PID control module is used to compare and determine the threshold value set by detection, so as to facilitate the on-off control of the power supply of the control grid;

[0052] The drive module transmits information and commands through the PID control module and the processing module, so as to control the closing switch to open and close the switch, adjust the on and off control of the power grid, and realize power-off control at the peak of the power grid;

[0053] The closing switch is used to control the closing and opening of the closing switch under the control of the driving module to complete the on-off control of the power grid;

[0054] Auxiliary module, the auxiliary module is used to increase the operability of the system, and the auxiliary module includes a display, control buttons, a communicator, a reset circuit and an alarm. The setting of the display and control buttons facilitates the display and adjustment control of the collected voltage peak value. The communicator is used to realize data transmission, which is convenient for remote control. When the system is abnormal, the alarm will sound a warning and the fault signal will be remotely transmitted through the communicator. The reset circuit is used to reset and restart the system under abnormal conditions.

[0055] (III) Beneficial effects

[0056] The present invention provides a method and system for automatically cutting off power supply by detecting power grid peak value, which has the following beneficial effects:

[0057] When the present invention is used, the voltage of the power grid is collected through the voltage transformer, that is, the high voltage of the power grid is converted into a low voltage accordingly through the ratio of the number of turns of the voltage transformer, which is convenient for the detection module to detect, and the detection process has high accuracy and will not cause the loss of voltage peak detection. After the voltage peak detection is performed, the voltage peak signal is processed by the processing module, and the peak signal is acquired, filtered, converted, amplified and dimensionally reduced, thereby improving the accuracy and safety of the voltage peak signal.

[0058] And after processing the voltage peak signal, the system is reversely regulated and controlled through the PID control module. That is, when the voltage peak signal is too large, the PID control module and the drive module drive the closing switch so that the closing switch can cut off the voltage supply, thereby achieving safety protection of the power equipment and improving the safety of the power equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic diagram of the steps of the method for automatically cutting off power supply by detecting the peak value of the power grid according to the present invention;

[0060] Figure 2 This is a schematic diagram of the structure of the system for automatically cutting off power supply by detecting the peak value of the power grid according to the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] See also Figure 1 The present invention provides a method for automatically cutting off power supply by detecting a peak value of a power grid, comprising:

[0063] S1. Obtaining the grid voltage through a voltage transformer: When the grid is supplying power, the grid voltage is collected through a voltage transformer, and the size of the sampled voltage is determined according to the ratio of the number of turns of the voltage transformer;

[0064] S2. The detection module obtains the voltage peak value: The detection module performs peak detection on the voltage signal collected by the voltage transformer, obtains the peak signal corresponding to the power grid, and then analyzes and processes the data information through the processing module;

[0065] S3, the processing module processes the collected peak signal: the processing module calculates and processes the peak signal collected by the monitoring module, that is, acquires, filters, converts, amplifies and performs dimension reduction mapping on the peak signal;

[0066] S4, PID control module reverse control adjustment: After processing the peak signal, the control system performs adjustment control through the PID control module, that is, the PID control module outputs a signal to the drive module, so that the drive module can drive and control the closing switch, so that the closing switch can automatically cut off the grid voltage when the voltage reaches a peak.

[0067] In order to realize the conversion and collection processing of the voltage of the power grid, in this embodiment, preferably, the voltage transformer is used to convert the high voltage in the power grid into a low voltage, so that the detection module can monitor and measure the voltage peak information of the power grid. The voltage transformer is composed of a primary winding and a secondary winding, an iron core, a lead wire, and an insulation structure;

[0068] The ratio between the primary winding and the secondary winding is the ratio of the converted voltage value, that is, the ratio of the primary winding and the secondary winding is set to T1 / T2, and the voltage ratio on both sides of the voltage transformer is T1 / T2=V1 / V2, which is used to reduce the high voltage of the power grid to a low voltage, making it easier for the detection module to detect the voltage peak.

[0069] In order to collect the voltage peak, in this embodiment, preferably, the detection module adopts a peak detector, which captures the extreme value of the voltage signal at the output end of the voltage transformer, and the peak detector includes a positive peak detector and a negative peak detector. The positive peak detector captures the most positive point of the input signal, while the negative peak detector captures the most negative point of the input signal. The output of the peak detector circuit tracks or follows the input voltage until it reaches the extreme point, and when the input decreases, the maximum peak value collected is still maintained.

[0070] In order to realize the calculation and processing of the collected voltage peak value, in this embodiment, preferably, the processing module includes an acquisition unit, a conversion unit, a filtering unit, an amplification unit, an abnormality detection unit and a dimensionality reduction unit;

[0071] The acquisition unit is used to receive and acquire the voltage peak signal collected by the detection module, the conversion unit is used to perform analog-to-digital conversion on the voltage peak signal collected by the detection module, the filtering unit is used to filter out noise from the voltage peak signal collected by the detection module to improve the accuracy of the voltage peak signal, the amplification unit is used to gain amplify the voltage peak signal collected by the detection module to prevent the voltage peak signal from being too weak and being lost, the abnormality detection unit is used to perform abnormality detection on the voltage peak signal collected by the detection module and eliminate the abnormal voltage peak signal, and the dimension reduction unit is used to reduce the dimension of the voltage peak signal collected by the detection module and map it between [0, 1].

[0072] In order to filter the peak voltage signal, in this embodiment, preferably, the filtering unit adopts a finite length unit impulse response filter. The definition of an M-order FIR filter is as follows:

[0073] The relationship between the FIR output of length M and the input time series u(n) is given by a finite convolution sum:

[0074]

[0075] Where v(n) is the output signal of the filter; u(n) is the input signal of the filter; h(q) is the impulse response of the filter; M is the order of the filter;

[0076] The above formula expresses an M-1 order FIR filter with M taps, so it consists of M multipliers and M-1 accumulators. Each tap requires a multiplier-accumulator unit that consumes logic resources to filter the voltage peak signal collected by the detection module.

[0077] In order to detect and eliminate abnormal signals in the voltage peak signal, in this embodiment, preferably, the abnormality detection unit performs calculation and analysis processing through a linear regression algorithm, and calculates a linear model of the collected voltage peak signal through linear regression;

[0078] In the linear regression algorithm, X is the input value of the data, and X i Y is the voltage peak signal collected by the detection module, i is the output value of the data, then Y i and X i The dependency relationship between them is expressed as:

[0079] Y i =α+βX i +ε i ;

[0080] Among them, α and β are constants, ε iThe random disturbance term is a random variable that cannot be directly observed. i represents the number of items of the i-th data information. α and β are collectively referred to as the parameters of the overall regression equation. α is the constant term of the overall regression equation, and the intercept of the overall regression line on the Y-axis. β is the overall regression coefficient, which is also the slope of the overall regression line. When the voltage peak signal is far from the regression line, the voltage peak signal is determined to be an abnormal signal, and the distance is determined by calculating the cluster center of the voltage peak signal.

[0081] In order to determine the abnormality of the voltage of the voltage peak signal, in this embodiment, preferably, the cluster center of the voltage peak signal divides the data information into z clusters.

[0082]

[0083] Where F is the outlier factor, D is the collected voltage peak signal, |z j | is the number of samples in the jth cluster group, d(p,z j ) is the distance between sample p and the jth cluster center, and z j is the jth cluster center;

[0084] For the distance away from the cluster center, it is set to average the distance from the center position of all voltage peak signals, that is, If the voltage peak signal and the cluster center z j If the distance is greater than 2d, the voltage peak signal is determined to be abnormal data information.

[0085] In order to realize the dimensionality reduction processing of the voltage peak signal, facilitate the processing, and reduce the pressure of calculation, in this embodiment, preferably, the dimensionality reduction unit performs standardization processing on the voltage peak signal, and the calculation method of data standardization is as follows:

[0086] The characteristic value of the data is set R, then the maximum value in set R is R max , the minimum value in set R is R min , and in order to make the processed data standardized and mapped to [0, 1];

[0087] Where R' is the R after normalization t The output value is directly mapped between [0, 1], and R t Represents the tth data in the set R to be processed.

[0088] In order to control and adjust the system, the power supply of the power grid is cut off according to the detected voltage peak value. In this embodiment, preferably, the PID control module adopts a PID control algorithm for reverse regulation, and the calculation formula of the PID control algorithm is as follows:

[0089]

[0090] Where K p is the proportional gain, e(t) is the deviation number, U(t) is the controlled output, K I is the integral gain, K D is the differential gain;

[0091] The calculation of e(t) is as follows: e(t) = V1-V2, where V1 is the set voltage peak value and V2 is the detected voltage peak signal;

[0092] After calculation and analysis, the detected voltage peak signal is greater than the set voltage peak, and the PID control module drives the closing switch through the driving module to disconnect the voltage.

[0093] A system for automatically cutting off power supply by detecting peak value of power grid, comprising:

[0094] The control system is used to control and adjust the system, collect the detected voltage peak signal, and issue control instructions according to the collected voltage peak signal, so that the system can achieve control and adjustment;

[0095] The voltage regulating module is used to realize the power supply operation of the control system, that is, the voltage regulating module includes a step-down circuit, a rectifier circuit, a filter circuit and a voltage stabilizing circuit. The step-down circuit is used to reduce the high voltage to a low voltage, the rectifier circuit is used to convert the AC voltage into a DC voltage, the filter circuit is used to filter the AC voltage in the DC voltage, and the voltage stabilizing circuit is used to stabilize the voltage output and stabilize the voltage at 5V / 12V, so as to realize the stable power supply operation of the system;

[0096] The power supply module is used to supply power to the system and adjust the voltage through the voltage regulating module to achieve stable power supply operation of the system;

[0097] The voltage transformer is used to collect the voltage of the power grid, and according to the ratio of the number of turns of the voltage transformer, the voltage is proportionally reduced to facilitate the detection of the peak value of the power grid voltage;

[0098] The detection module detects the voltage converted and collected by the voltage transformer through a peak detector, so as to realize the conversion and detection of the peak value of the grid voltage;

[0099] The processing module is used to acquire, filter, convert, amplify and reduce the dimension of the collected voltage peak signal. The voltage peak signal is mainly acquired by the acquisition unit, the conversion unit performs analog-to-digital conversion on the voltage peak signal, the filtering unit is used to filter out the clutter in the voltage peak signal, the amplification unit is used to perform gain processing on the voltage peak signal to prevent the voltage peak signal from being lost, the abnormality detection unit is used to detect abnormal data information in the voltage peak signal, and the dimension reduction unit is used to perform dimension reduction processing on the voltage peak signal to facilitate subsequent processing;

[0100] PID control module: The PID control module is used to compare and determine the threshold value set by detection, so as to facilitate the on-off control of the power supply of the control grid;

[0101] The drive module transmits information and commands through the PID control module and the processing module, so as to control the closing switch to open and close the switch, adjust the on and off control of the power grid, and realize power-off control at the peak of the power grid;

[0102] The closing switch is used to control the closing and opening of the closing switch under the control of the driving module to complete the on-off control of the power grid;

[0103] Auxiliary module, the auxiliary module is used to increase the operability of the system, and the auxiliary module includes a display, control buttons, a communicator, a reset circuit and an alarm. The setting of the display and control buttons facilitates the display and adjustment control of the collected voltage peak value. The communicator is used to realize data transmission, which is convenient for remote control. When the system is abnormal, the alarm will sound a warning and the fault signal will be remotely transmitted through the communicator. The reset circuit is used to reset and restart the system under abnormal conditions.

[0104] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0105] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0106] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0107] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only some logical function divisions. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.

[0109] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0110] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0111] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0112] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for automatically cutting off power supply by detecting a peak value of a power grid, characterized in that: Included are: S1. Obtaining the grid voltage through a voltage transformer: When the grid is supplying power, the grid voltage is collected through a voltage transformer, and the size of the sampled voltage is determined according to the ratio of the number of turns of the voltage transformer; S2. The detection module obtains the voltage peak value: The detection module performs peak detection on the voltage signal collected by the voltage transformer, obtains the peak signal corresponding to the power grid, and then analyzes and processes the data information through the processing module; The detection module uses a peak detector, which captures the extreme value of the voltage signal at the output end of the voltage transformer, and includes a positive peak detector and a negative peak detector. The positive peak detector captures the most positive point of the input signal, while the negative peak detector captures the most negative point of the input signal. The output of the peak detector circuit tracks or follows the input voltage until it reaches the extreme point, and when the input decreases, it still maintains the maximum peak value collected; S3, the processing module processes the collected peak signal: the processing module calculates and processes the peak signal collected by the monitoring module, that is, acquires, filters, converts, amplifies and performs dimension reduction mapping on the peak signal; The processing module includes an acquisition unit, a conversion unit, a filtering unit, an amplification unit, an anomaly detection unit and a dimension reduction unit; The acquisition unit is used to receive and acquire the voltage peak signal collected by the detection module, the conversion unit is used to perform analog-to-digital conversion processing on the voltage peak signal collected by the detection module, the filtering unit is used to filter out clutter on the voltage peak signal collected by the detection module to improve the accuracy of the voltage peak signal, the amplification unit is used to gain amplify the voltage peak signal collected by the detection module to prevent the voltage peak signal from being too weak and being lost, the abnormality detection unit is used to perform abnormality detection on the voltage peak signal collected by the detection module and eliminate the abnormal voltage peak signal, and the dimension reduction unit is used to reduce the dimension of the voltage peak signal collected by the detection module and map it to between [0, 1]; S4, PID control module reverse control adjustment: After processing the peak signal, the control system performs adjustment control through the PID control module, that is, the PID control module outputs a signal to the drive module, so that the drive module can drive and control the closing switch, so that the closing switch can automatically cut off the grid voltage when the voltage reaches a peak.

2. A method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 1, characterized in that: The voltage transformer is used to convert the high voltage in the power grid into low voltage, so that the detection module can monitor and measure the voltage peak information of the power grid. The voltage transformer consists of a primary winding and a secondary winding, an iron core, lead wires, and an insulation structure. The ratio between the primary winding and the secondary winding is the ratio of the converted voltage value, that is, the ratio of the primary winding and the secondary winding is set to T1 / T2, and the voltage ratio on both sides of the voltage transformer is T1 / T2=V1 / V2, which is used to reduce the high voltage of the power grid to a low voltage, making it easier for the detection module to detect the voltage peak.

3. The method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 1, characterized in that: The filter unit uses a finite length unit impulse response filter. The definition of an M-order FIR filter is as follows: The relationship between the FIR output of length M and the input time series u(n) is given by a finite convolution sum: Where v(n) is the output signal of the filter; u(n) is the input signal of the filter; h(q) is the impulse response of the filter; M is the order of the filter; The above formula expresses an M-1 order FIR filter with M taps, so it consists of M multipliers and M-1 accumulators. Each tap requires a multiplier-accumulator unit that consumes logic resources to filter the voltage peak signal collected by the detection module.

4. A method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 3, characterized in that: The abnormality detection unit performs calculation and analysis processing through a linear regression algorithm, and calculates a linear model of the collected voltage peak signal through linear regression; In the linear regression algorithm, X is the input value of the data, Xi is the voltage peak signal collected by the detection module, and Yi is the output value of the data. The dependency relationship between Yi and Xi is expressed as: Y i =α+βX i +e i ; Among them, α and β are constants, ε i The random disturbance term is a random variable that cannot be directly observed. i represents the number of items of the i-th data information. α and β are collectively referred to as the parameters of the overall regression equation. α is the constant term of the overall regression equation, and the intercept of the overall regression line on the Y-axis. β is the overall regression coefficient, which is also the slope of the overall regression line. When the voltage peak signal is far from the regression line, the voltage peak signal is determined to be an abnormal signal, and the distance is determined by calculating the cluster center of the voltage peak signal.

5. A method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 4, characterized in that: The cluster center of the voltage peak signal divides the data information into z clusters. Where F is the outlier factor, D is the collected voltage peak signal, |z j | is the number of samples in the jth cluster group, d(p,z j ) is the distance between sample p and the jth cluster center, and z j is the jth cluster center; For the distance away from the cluster center, it is set to average the distance from the center position of all voltage peak signals, that is, If the voltage peak signal and the cluster center z j If the distance is greater than 2d, the voltage peak signal is determined to be abnormal data information.

6. The method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 1, characterized in that: The dimension reduction unit performs standardization on the voltage peak signal. The calculation method of data standardization is as follows: The characteristic value of the data is set R, then the maximum value in set R is Rmax, the minimum value in set R is Rmin, and in order to make the processed data standardized so that it can be mapped to [0, 1]; Where R' is the R after normalization t The output value is directly mapped between [0, 1], and R t Represents the tth data in the set R to be processed.

7. A method for automatically cutting off power supply by detecting a peak value of a power grid according to claim 6, characterized in that: The PID control module uses the PID control algorithm for reverse regulation, and the calculation formula of the PID control algorithm is as follows: Where K p is the proportional gain, e(t) is the deviation number, U(t) is the controlled output, K I is the integral gain, K D is the differential gain; The calculation of e(t) is as follows: e(t) = V1-V2, where V1 is the set voltage peak value and V2 is the detected voltage peak signal; After calculation and analysis, the detected voltage peak signal is greater than the set voltage peak, and the PID control module drives the closing switch through the driving module to disconnect the voltage.

8. A system for automatically cutting off power supply by detecting the peak value of the power grid, characterized in that: Included are: The control system is used to control and adjust the system, collect the detected voltage peak signal, and issue control instructions according to the collected voltage peak signal, so that the system can achieve control and adjustment; The voltage regulating module is used to realize the power supply operation of the control system, that is, the voltage regulating module includes a step-down circuit, a rectifier circuit, a filter circuit and a voltage stabilizing circuit. The step-down circuit is used to reduce the high voltage to a low voltage, the rectifier circuit is used to convert the AC voltage into a DC voltage, the filter circuit is used to filter the AC voltage in the DC voltage, and the voltage stabilizing circuit is used to stabilize the voltage output and stabilize the voltage at 5V / 12V, so as to realize the stable power supply operation of the system; The power supply module is used to supply power to the system and adjust the voltage through the voltage regulating module to achieve stable power supply operation of the system; The voltage transformer is used to collect the voltage of the power grid, and according to the ratio of the number of turns of the voltage transformer, the voltage is proportionally reduced to facilitate the detection of the peak value of the power grid voltage; The detection module detects the voltage converted and collected by the voltage transformer through a peak detector, so as to realize the conversion and detection of the peak value of the grid voltage; The processing module is used to acquire, filter, convert, amplify and reduce the dimension of the collected voltage peak signal. The voltage peak signal is mainly acquired by the acquisition unit, the conversion unit performs analog-to-digital conversion on the voltage peak signal, the filtering unit is used to filter out the clutter in the voltage peak signal, the amplification unit is used to perform gain processing on the voltage peak signal to prevent the voltage peak signal from being lost, the abnormality detection unit is used to detect abnormal data information in the voltage peak signal, and the dimension reduction unit is used to perform dimension reduction processing on the voltage peak signal to facilitate subsequent processing; PID control module: The PID control module is used to compare and determine the threshold value set by detection, so as to facilitate the on-off control of the power supply of the control grid; The drive module transmits information and commands through the PID control module and the processing module, so as to control the closing switch to open and close the switch and adjust the on and off control of the power grid; Achieve power outage control during power grid peak hours; The closing switch is used to control the closing and opening of the closing switch under the control of the driving module to complete the on-off control of the power grid; Auxiliary module, the auxiliary module is used to increase the operability of the system, and the auxiliary module includes a display, control buttons, a communicator, a reset circuit and an alarm. The setting of the display and control buttons facilitates the display and adjustment control of the collected voltage peak value. The communicator is used to realize data transmission, which is convenient for remote control. When the system is abnormal, the alarm will sound a warning and the fault signal will be remotely transmitted through the communicator. The reset circuit is used to reset and restart the system under abnormal conditions.

Citation Information

Patent Citations

  • Voltage peak value judgment device, power-off device and power-off method

    CN111323633A

  • Break-control system for supplying a electric power useful home

    KR1020110112761A