A method, system, electronic device and storage medium for monitoring current
Through contactless current transformer and multi-channel signal processing technology, accurate, safe and stable measurement of current is achieved, and the problem of non-contact acquisition and simultaneous monitoring of working current and fault current in the prior art is solved, reducing costs And improve monitoring efficiency and accuracy.
Patent Information
- Application Number
- CN202410110623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-01-25
AI Technical Summary
The existing current monitoring methods cannot obtain current in non-contact and cannot monitor the working current and fault current at the same time, which poses the risk of circuit interference and damage, and are costly.
Use non-contact current transformers to collect analog signals, filter and amplify them through different channels, extract the power frequency signal and low harmonic signal respectively, and convert it into digital signals to judge current abnormality, avoiding the increase of additional equipment. , reduce costs.
Accurate, safe and stable measurement of current is achieved, monitoring costs are reduced, signal processing efficiency and accuracy are improved, and current monitoring is enhanced.
Smart Images

Figure CN117929834B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of current detection, and in particular to a method, system, electronic device and storage medium for monitoring current. Background Art
[0002] With the development of science and technology, the monitoring of current has become more and more important. Accurate current monitoring can help us understand the operating status of equipment, prevent potential failures, and ensure the stable operation of the power system.
[0003] At present, the current monitoring method usually adopts contact measurement, which is simple, but because it is in direct contact with the circuit under test, it needs to be powered off for installation. In addition, the existing technology cannot monitor the working current and the fault current at the same time.
[0004] Therefore, a method for obtaining current in a contactless manner and being able to simultaneously monitor the operating current and the fault current is required. Summary of the invention
[0005] The present application provides a method, system, electronic device and storage medium for monitoring current, which have the effect of non-contact current acquisition and can simultaneously monitor working current and fault current.
[0006] In a first aspect of the present application, a method for monitoring current is provided, which is applied to a current monitoring platform, wherein the current monitoring platform includes a contactless current transformer, and the method includes:
[0007] Collecting the analog signal of the current to be monitored by the non-contact current transformer;
[0008] The analog signal is input into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the first channel is used to filter out the power frequency signal and harmonic components and amplify the signal, and the second channel is used to extract the power frequency signal and low-order harmonic signals and amplify the signal;
[0009] The first output analog signal and the second output analog signal are converted respectively to obtain a first output digital signal and a second output digital signal, and whether the monitored current is abnormal is determined according to the first output digital signal and the second output digital signal.
[0010] By adopting the above technical solution, the analog signal of the current to be monitored is collected using a non-contact current transformer, which avoids the circuit interference or damage problems that may occur in traditional contact measurement, and improves the safety and stability of the measurement. By inputting the analog signal into the first channel and the second channel respectively, abnormal signals and normal signals are monitored respectively, without the need for additional monitoring equipment, reducing the monitoring cost. By converting the output analog signals of the two channels into digital signals, subsequent digital signal processing and data analysis are facilitated. Digital signals are also easier to store, transmit and compare, providing a basis for the automation and intelligence of current monitoring.
[0011] Optionally, the operation of filtering out power frequency signals and harmonic components and amplifying the signal of the analog signal through the first channel includes:
[0012] The analog signal is filtered out by a notch circuit to obtain a first intermediate signal, and the first intermediate signal is amplified by a first amplifier circuit to obtain a second intermediate signal;
[0013] The second intermediate signal is filtered out of harmonic components by a high-pass filter circuit to obtain a third intermediate signal, and the third intermediate signal is amplified by a second amplifier circuit to obtain a first output analog signal.
[0014] By adopting the above technical solution, a high-pass filter circuit is used to further filter out the harmonic components in the signal. Harmonics are usually caused by nonlinear loads, and their presence may affect the waveform and quality of the current. By filtering out these harmonics, the first channel is better able to detect abnormal signals that are inconsistent with the normal current pattern. The signal processed by the trap circuit and the filter circuit is amplified to improve its amplitude and signal-to-noise ratio. This helps to improve the ability to identify abnormal signals, because abnormal signals may be relatively weak or submerged in background noise. In the amplified and filtered signal, any component or waveform that is inconsistent with the normal current pattern may be regarded as an abnormality. These anomalies may include sudden voltage fluctuations, abnormal waveform shapes, unexpected frequency components, etc. These anomalies can be detected in time through real-time monitoring.
[0015] Optionally, the operations of extracting the power frequency signal and the low-order harmonic signal and amplifying the signal from the analog signal through the second channel include:
[0016] The analog signal is passed through a low-pass filter circuit to extract the power frequency signal and the low-order harmonic signal, and the extracted power frequency signal and the low-order harmonic signal are amplified by a third amplifier circuit to obtain a second output analog signal.
[0017] By adopting the above technical solution, the power frequency signal and low-order harmonic signal in the analog signal can be accurately extracted through the low-pass filtering circuit. This step ensures the accurate capture of the key components in the current. The third amplifier circuit amplifies the extracted power frequency signal and low-order harmonic signal, further enhancing the amplitude of the signal and improving the signal-to-noise ratio. This helps the accuracy and reliability of subsequent analysis. The first channel and the second channel focus on different current components respectively, and the two complement each other to provide more comprehensive information for current monitoring.
[0018] Optionally, collecting the analog signal of the current to be monitored through the non-contact current transformer includes: obtaining a distance parameter between the non-contact current transformer and the current to be monitored and a magnetic field strength parameter generated by the current to be monitored, and determining the analog signal of the current to be monitored based on the distance parameter and the magnetic field strength parameter.
[0019] By adopting the above technical solution, the measurement of the current to be monitored is realized through the non-contact current transformer, which avoids the circuit interference or damage problems that may occur in traditional contact measurement, and improves the safety and stability of the measurement. The distance parameters between the non-contact current transformer and the current to be monitored and the magnetic field strength parameters generated by the current to be monitored are obtained, and the analog signal is determined by combining the distance and magnetic field strength parameters. This method can more accurately reflect the actual state of the current to be monitored and reduce the error caused by environmental factors or measurement errors.
[0020] Optionally, before inputting the analog signal into the first channel and the second channel respectively to obtain the first output analog signal and the second output analog signal respectively, the method further includes:
[0021] The analog signal is preprocessed, preset features are extracted from the preprocessed analog signal, and signal compensation is performed on the preprocessed analog signal according to the preset features using a compensation algorithm.
[0022] By adopting the above technical solution, the preprocessed analog signal is compensated using a compensation algorithm based on the extracted preset features, which may involve correcting the noise, distortion or other interference in the signal, thereby improving the accuracy and reliability of the signal. Through preprocessing and compensation, the key features of the current signal can be more accurately extracted and analyzed, thereby improving the accuracy and response speed of abnormality detection. Preprocessing and compensation help reduce the complexity and computational burden of subsequent analysis and improve the overall efficiency of the monitoring system. This method provides high-quality input data for subsequent signal processing and analysis, and has good compatibility with other advanced algorithms and monitoring technologies.
[0023] Optionally, the converting the first output analog signal and the second output analog signal respectively to obtain a first output digital signal and a second output digital signal comprises:
[0024] The first output analog signal and the second output analog signal are respectively input into a microprocessor to generate a fourth intermediate signal and a fifth intermediate signal respectively, and the fourth intermediate signal and the fifth intermediate signal are respectively level-converted through a logic gate circuit.
[0025] By adopting the above technical solution, the first output analog signal and the second output analog signal are converted into the first output digital signal and the second output digital signal, thereby improving the efficiency and accuracy of signal processing. By inputting the first output analog signal and the second output analog signal into the microprocessor, real-time processing and logic control of the signal are realized, thereby improving the automation and intelligence level of the system. The logic gate circuit performs level conversion on the fourth intermediate signal and the fifth intermediate signal, thereby ensuring the consistency and compatibility of the signal between different logic levels, thereby providing convenience for subsequent digital signal processing.
[0026] Optionally, determining whether the monitored current is abnormal according to the first output digital signal and the second output digital signal includes:
[0027] Determining whether the first output digital signal exceeds a threshold value, and determining that the current to be monitored is abnormal when the first output digital signal exceeds the threshold value;
[0028] When the first output digital signal does not exceed a threshold value and the second output digital signal belongs to a preset range, it is determined that the current to be monitored is normal.
[0029] By adopting the above technical solution, by comparing the first output digital signal with the threshold, it is possible to quickly and accurately determine whether the current to be monitored is abnormal. This method simplifies the process of abnormality detection and improves the response speed and accuracy of detection. Combined with the preset range analysis of the second output digital signal, the state of the current to be monitored can be more comprehensively evaluated. This method takes into account a variety of factors and improves the reliability and integrity of the judgment. The setting of the threshold and the preset range can be adjusted according to actual needs, so as to better adapt to different current characteristics and monitoring scenarios. This flexibility makes this method have a wider range of applications.
[0030] In a second aspect of the present application, a system for monitoring current is provided, including an acquisition module, a channel module and a conversion module, wherein:
[0031] An acquisition module, configured to acquire an analog signal of the current to be monitored through the non-contact current transformer;
[0032] A channel module, configured to input the analog signal into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the analog signal is subjected to an operation of filtering out power frequency signals and harmonic components and amplifying the signal through the first channel, and the analog signal is subjected to an operation of extracting power frequency signals and low-order harmonic signals and amplifying the signal through the second channel;
[0033] A conversion module is configured to convert the first output analog signal and the second output analog signal to obtain a first output digital signal and a second output digital signal, respectively, and determine whether the monitored current is abnormal based on the first output digital signal and the second output digital signal.
[0034] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.
[0035] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.
[0036] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0037] 1. The use of non-contact current transformers can achieve accurate measurement of the monitored current, improving the safety and stability of the measurement.
[0038] 2. Convert analog signals into digital signals to facilitate the subsequent application of digital signal processing and anomaly detection algorithms, thereby improving the efficiency and accuracy of signal processing.
[0039] 3. Abnormal signals and normal signals are monitored through the first channel and the second channel respectively, without the need for additional monitoring equipment, thus reducing monitoring costs. Moreover, by separating abnormal signals from normal signals through two channels, interference between signals can be reduced, thus improving signal accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the relationship between magnetic induction intensity and current in the prior art;
[0041] Figure 2 is a flow chart of a method for monitoring current disclosed in an embodiment of the present application;
[0042] Figure 3 is a schematic diagram of the structure of the device for monitoring current disclosed in the embodiment of the present application;
[0043] Figure 4 is a schematic diagram of the architecture of a device for monitoring current disclosed in an embodiment of the present application;
[0044] Figure 5 It is a module schematic diagram of a system for monitoring current disclosed in an embodiment of the present application;
[0045] Figure 6 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0046] Explanation of the reference numerals: 501, acquisition module; 502, channel module; 503, conversion module; 601, processor; 602, communication bus; 603, user interface; 604, network interface; 605, memory. DETAILED DESCRIPTION
[0047] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0048] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0049] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0050] Figure 1 It is a schematic diagram of the relationship between magnetic induction intensity and current in the prior art, such as Figure 1 As shown, according to Biot-Savart law,
[0051]
[0052] The current flowing through the wire is I, and the magnetic induction intensity in space is B. At a distance r above the wire, the magnetic induction intensity is detected in the direction perpendicular to the magnetic induction line.
[0053]
[0054] The detection scheme is designed according to this principle. The spatial magnetic induction intensity B data can be detected without touching the wire. The distance r above the wire is the distance between the detection point and the wire. This distance is a known quantity after the on-site installation is completed. μ is the magnetic permeability of the detection equipment, which is a known quantity. Based on the above, the wire current I can be calculated.
[0055] This embodiment discloses a method for monitoring current, which is applied to a current monitoring platform, wherein the current monitoring platform includes a non-contact current transformer, Figure 2 is a flow chart of the method for monitoring current disclosed in the embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0056] S110, collecting an analog signal of the current to be monitored through the non-contact current transformer;
[0057] Figure 3 is a schematic diagram of the structure of the current monitoring device disclosed in the embodiment of the present application, such as Figure 3 As shown, the device for monitoring current in the embodiment of the present application includes a magnetic induction module 31 and a printed circuit board 32, wherein the frame 33 of the magnetic induction module 31 adopts a cylindrical magnetic rod (made of nickel-zinc ferrite), the frame size is 30 mm in diameter and 30 mm in length, and 1000 turns of enameled wire 34 with a diameter of 0.2 mm are wound on the frame 33. Figure 3 The size of the middle frame and the winding of the enameled wire are only exemplary. The magnetic induction module does not require the measured current to pass through the coil. As long as the electromagnetic field generated by the measured current can pass through the cross section of its coil, current measurement can be performed.
[0058] Optionally, collecting the analog signal of the current to be monitored by the non-contact current transformer includes:
[0059] A distance parameter between the non-contact current transformer and the current to be monitored and a magnetic field strength parameter generated by the current to be monitored are obtained, and an analog signal of the current to be monitored is determined according to the distance parameter and the magnetic field strength parameter.
[0060] In the embodiment of the present application, the contactless current transformer can be installed near the current to be measured, and the distance between the contactless current transformer and the current to be measured can be determined during installation and recorded in the current monitoring platform. When the contactless current transformer is running, the magnetic field strength at the current position can be detected, and the analog signal of the current to be monitored can be determined based on the distance parameter and the magnetic field strength.
[0061] Through the non-contact current transformer, the measurement of the current to be monitored is realized, which avoids the circuit interference or damage problems that may occur in traditional contact measurement, and improves the safety and stability of the measurement. Since the non-contact measurement is not limited by the physical contact of the conductor, the embodiment of the present application can work stably under various environmental conditions, including extreme conditions such as high voltage and high current. Since the non-contact measurement has the characteristic of fast response, the embodiment of the present application can realize real-time monitoring of the current to be monitored, detect abnormalities in time and take corresponding measures.
[0062] S120, inputting the analog signal into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the first channel is used to filter out power frequency signals and harmonic components and to amplify the signals, and the second channel is used to extract power frequency signals and low-order harmonic signals and to amplify the signals;
[0063] The power frequency signal refers to the frequency of the voltage and current in the power system, usually 50Hz or 60Hz. The power frequency signal has a stable frequency, good waveform and amplitude, and can provide reliable power supply for industrial equipment. Harmonic components refer to the components with an integer multiple of order greater than 1 in the Fourier series of a period of electrical quantity. Grid harmonics mainly come from three aspects: harmonics generated by poor quality of power generation sources; harmonics generated by the power transmission and distribution system; harmonics generated by electrical equipment. Harmonic components are usually noise signals in the power grid. By filtering out the power frequency signal and harmonic components of the analog signal through the first channel and amplifying the signal, abnormal signals can be extracted. By extracting the power frequency signal and low-order harmonic signals from the analog signal through the second channel and amplifying the signal, normal signals can be extracted.
[0064] Optionally, before inputting the analog signal into the first channel and the second channel respectively to obtain the first output analog signal and the second output analog signal respectively, the method further includes:
[0065] The analog signal is preprocessed, preset features are extracted from the preprocessed analog signal, and signal compensation is performed on the preprocessed analog signal according to the preset features using a compensation algorithm.
[0066] Preprocess the collected analog signals to extract key features, such as the waveform, frequency, and amplitude of the current. Determine the actual parameter values of each feature in the preprocessed signal, such as voltage, current, and phase. Calculate the error value of each feature based on the actual parameter value of each feature and the set standard parameter value. Use the compensation algorithm to process the error value and obtain the corresponding compensation value. Add the compensation value to the preprocessed signal to achieve signal compensation. Convert the compensated signal to obtain the final output signal.
[0067] The compensation algorithm compensates the preprocessed analog signal based on the extracted preset features. This may involve correcting for noise, distortion or other interference in the signal to improve the accuracy and reliability of the signal. Through preprocessing and compensation, the key features of the current signal can be more accurately extracted and analyzed, thereby improving the accuracy and response speed of anomaly detection.
[0068] Optionally, the operation of filtering out power frequency signals and harmonic components and amplifying the signal of the analog signal through the first channel includes:
[0069] The analog signal is filtered out by a notch circuit to obtain a first intermediate signal, and the first intermediate signal is amplified by a first amplifier circuit to obtain a second intermediate signal;
[0070] The second intermediate signal is filtered out of harmonic components by a high-pass filter circuit to obtain a third intermediate signal, and the third intermediate signal is amplified by a second amplifier circuit to obtain a first output analog signal.
[0071] Optionally, the operations of extracting the power frequency signal and the low-order harmonic signal and amplifying the signal from the analog signal through the second channel include:
[0072] The analog signal is passed through a low-pass filter circuit to extract the power frequency signal and the low-order harmonic signal, and the extracted power frequency signal and the low-order harmonic signal are amplified by a third amplifier circuit to obtain a second output analog signal.
[0073] Figure 4 is a schematic diagram of the architecture of the device for monitoring current disclosed in the embodiment of the present application, such as Figure 4 As shown in the figure, the printed circuit board mainly consists of a power conversion unit, a signal conditioning unit and an analog-to-digital conversion unit. The power conversion unit consists of two circuits, one for converting 5V to -5V voltage and the other for converting 5V to 3.3V voltage. Among them, the -5V voltage and the 5V voltage are used to power the op amp, and the 3.3V voltage is used to power the MPU (microprocessor).
[0074] The signal conditioning unit realizes the separation, amplification and processing of normal signals and fault signals. The signal conditioning unit is designed with two signal channels, of which the first channel is the fault signal processing channel. The analog signal first passes through a 50Hz notch circuit to filter out the power frequency signal, then passes through the first amplifier circuit to amplify the signal, then passes through a 500Hz high-pass filter circuit to filter out the harmonic components, and finally passes through a second amplifier circuit to amplify the first output analog signal (that is, Figure 4 The analog output 1) in the figure is a fault signal output, such as a lightning strike, grounding, flashover, etc. The second channel is a normal signal processing channel to realize current detection when the line is operating normally. The analog signal first passes through a low-pass filter circuit to extract the power frequency and low-order harmonic signals, and then passes through a third amplifier circuit to amplify the signal. The second output analog signal (that is, Figure 4 The analog output 2) in the figure is a normal signal output, for example, a harmonic component signal of the power frequency + 7th or less.
[0075] Through the different processing methods of the first channel and the second channel, different components in the current signal can be analyzed and processed more comprehensively and accurately, providing more accurate and reliable data support for subsequent abnormality detection and fault diagnosis.
[0076] S130. Convert the first output analog signal and the second output analog signal respectively to obtain a first output digital signal and a second output digital signal, and determine whether the monitored current is abnormal according to the first output digital signal and the second output digital signal.
[0077] like Figure 4 As shown in the figure, the analog-to-digital conversion unit of the printed circuit board is composed of an MPU and a 485 conversion circuit. The conditioned analog signal is connected to the MPU AD interface to realize analog quantity acquisition. After the MPU calculates, calibrates and stores the data, it is output through the 485 bus according to the set protocol. Whether the current to be monitored is abnormal is determined based on the obtained digital signal.
[0078] Optionally, the converting the first output analog signal and the second output analog signal respectively to obtain a first output digital signal and a second output digital signal comprises:
[0079] The first output analog signal and the second output analog signal are respectively input into a microprocessor to generate a fourth intermediate signal and a fifth intermediate signal respectively, and the fourth intermediate signal and the fifth intermediate signal are respectively level-converted through a logic gate circuit.
[0080] The first output analog signal and the second output analog signal can be processed by a microprocessor to obtain a fourth intermediate signal and a fifth intermediate signal, and then the fourth intermediate signal and the fifth intermediate signal are converted into a digital signal by a logic gate circuit. The TTL (logic gate) level signal stipulates that +5V is equivalent to logic "1" and 0V is equivalent to logic "0" (when binary is used to represent data). Therefore, a digital signal can be finally obtained.
[0081] By converting analog quantities to digital quantities, the data processing and analysis capabilities of the current monitoring platform are improved, the stability and reliability of the current monitoring platform are enhanced, and strong support is provided for the normal operation of industrial equipment.
[0082] Optionally, determining whether the monitored current is abnormal according to the first output digital signal and the second output digital signal includes:
[0083] Determining whether the first output digital signal exceeds a threshold value, and determining that the current to be monitored is abnormal when the first output digital signal exceeds the threshold value;
[0084] When the first output digital signal does not exceed a threshold value and the second output digital signal belongs to a preset range, it is determined that the current to be monitored is normal.
[0085] Lightning signal is a natural phenomenon caused by the current and voltage generated by the contact between lightning and objects on the ground. Lightning signal has the characteristics of high voltage and high current, and its waveform changes quickly, which is impactful and destructive. Ground signal usually refers to the signal introduced by the equipment or system through the grounding wire. The grounding signal is usually generated by the contact between the internal circuit of the equipment and the outer casing, or it may be caused by external environmental factors. The voltage of the grounding signal is low, but the current is large, which may affect the normal operation of the equipment. Flashover signal usually refers to the phenomenon of partial discharge on the surface of the insulating material or the internal medium of the equipment or line under the action of a strong electric field. Flashover signal usually occurs in high-voltage equipment or lines, and its characteristics are small current but high voltage. Normal signal usually refers to the signal when the equipment or line is working normally. The voltage and current of the normal signal are within the normal range, the waveform is stable, and there is no abnormal change. The difference between normal signal and abnormal signal can be determined based on the above characteristics. If the current and voltage values are too large or too small, they are all abnormal signals.
[0086] When the first output digital signal does not exceed the threshold, a comprehensive judgment is made based on whether the second output digital signal belongs to the preset range, providing a double verification mechanism to enhance the accuracy and reliability of the judgment. Combining the comprehensive judgment of the first and second output digital signals, it is possible to more accurately judge whether the current is abnormal, avoiding the misjudgment that may be caused by a single threshold judgment. The threshold and preset range can be flexibly set according to actual application requirements to adapt to different current monitoring scenarios and equipment requirements.
[0087] This embodiment also discloses a system for monitoring current. Figure 5 is a schematic diagram of a module of a current monitoring system disclosed in an embodiment of the present application, such as Figure 5 As shown, the system includes a collection module 501, a channel module 502 and a conversion module 503, wherein:
[0088] The acquisition module 501 is configured to acquire the analog signal of the current to be monitored through the non-contact current transformer;
[0089] The channel module 502 is configured to input the analog signal into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the analog signal is filtered out of the power frequency signal and the harmonic component and the signal is amplified through the first channel, and the analog signal is extracted from the power frequency signal and the low-order harmonic signal and the signal is amplified through the second channel;
[0090] The conversion module 503 is configured to convert the first output analog signal and the second output analog signal to obtain a first output digital signal and a second output digital signal, respectively, and determine whether the monitored current is abnormal according to the first output digital signal and the second output digital signal.
[0091] Optionally, the channel module 502 is further configured to:
[0092] The analog signal is filtered out by a notch circuit to obtain a first intermediate signal, and the first intermediate signal is amplified by a first amplifier circuit to obtain a second intermediate signal;
[0093] The second intermediate signal is filtered out of harmonic components by a high-pass filter circuit to obtain a third intermediate signal, and the third intermediate signal is amplified by a second amplifier circuit to obtain a first output analog signal.
[0094] Optionally, the channel module 502 is further configured to:
[0095] The analog signal is passed through a low-pass filter circuit to extract the power frequency signal and the low-order harmonic signal, and the extracted power frequency signal and the low-order harmonic signal are amplified by a third amplifier circuit to obtain a second output analog signal.
[0096] Optionally, the acquisition module 501 is further configured to:
[0097] A distance parameter between the non-contact current transformer and the current to be monitored and a magnetic field strength parameter generated by the current to be monitored are obtained, and an analog signal of the current to be monitored is determined according to the distance parameter and the magnetic field strength parameter.
[0098] Optionally, the system further comprises a compensation module, wherein the compensation module is configured to:
[0099] The analog signal is preprocessed, preset features are extracted from the preprocessed analog signal, and signal compensation is performed on the preprocessed analog signal according to the preset features using a compensation algorithm.
[0100] Optionally, the conversion module 503 is further configured to:
[0101] The first output analog signal and the second output analog signal are respectively input into the microprocessor 601 to generate a fourth intermediate signal and a fifth intermediate signal respectively, and the fourth intermediate signal and the fifth intermediate signal are respectively level-converted through a logic gate circuit.
[0102] Optionally, the conversion module 503 is further configured to:
[0103] Determining whether the first output digital signal exceeds a threshold value, and determining that the current to be monitored is abnormal when the first output digital signal exceeds the threshold value;
[0104] When the first output digital signal does not exceed a threshold value and the second output digital signal belongs to a preset range, it is determined that the current to be monitored is normal.
[0105] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0106] This embodiment also discloses an electronic device, referring to Figure 6The electronic device may include: at least one processor 601 , at least one communication bus 602 , a user interface 603 , a network interface 604 , and at least one memory 605 .
[0107] The communication bus 602 is used to realize the connection and communication between these components.
[0108] The user interface 603 may include a display screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.
[0109] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0110] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 601 can integrate one or more combinations of a central processing unit 601 (Central Processing Unit, CPU), an image processor 601 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and it can be implemented by a single chip.
[0111] Among them, the memory 605 may include a random access memory 605 (Random Access Memory, RAM), and may also include a read-only memory 605 (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above various method embodiments, etc. The memory 605 may also be optionally at least one storage device located away from the aforementioned processor 601. As shown in the figure, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a method of monitoring current.
[0112] exist Figure 6 In the electronic device shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 601 can be used to call the application program of the method for monitoring current stored in the memory 605. When executed by one or more processors 601, the electronic device executes one or more methods in the above-mentioned embodiments.
[0113] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0114] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. 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 service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0116] 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.
[0117] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory 605. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 605 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory 605 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0119] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for monitoring current, characterized in that: Applied to a current monitoring platform, the current monitoring platform includes a contactless current transformer, and the method includes: Collecting the analog signal of the current to be monitored by the non-contact current transformer; The analog signal is input into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the first channel is used to filter out the power frequency signal and harmonic components and amplify the signal, and the second channel is used to extract the power frequency signal and low-order harmonic signals and amplify the signal; The first output analog signal and the second output analog signal are converted respectively to obtain a first output digital signal and a second output digital signal, and whether the current to be monitored is abnormal is determined according to the first output digital signal and the second output digital signal. The operation of filtering out the power frequency signal and harmonic components and amplifying the signal of the analog signal through the first channel includes: The analog signal is filtered out by a notch circuit to obtain a first intermediate signal, and the first intermediate signal is amplified by a first amplifier circuit to obtain a second intermediate signal; The second intermediate signal is filtered out of harmonic components by a high-pass filter circuit to obtain a third intermediate signal, and the third intermediate signal is amplified by a second amplifier circuit to obtain a first output analog signal. The operation of extracting the power frequency signal and the low-order harmonic signal from the analog signal through the second channel and amplifying the signal includes: The analog signal is passed through a low-pass filter circuit to extract the power frequency signal and the low-order harmonic signal, and the extracted power frequency signal and the low-order harmonic signal are amplified by a third amplifier circuit to obtain a second output analog signal. The determining whether the current to be monitored is abnormal according to the first output digital signal and the second output digital signal comprises: Determining whether the first output digital signal exceeds a threshold value, and determining that the current to be monitored is abnormal when the first output digital signal exceeds the threshold value; When the first output digital signal does not exceed a threshold value and the second output digital signal belongs to a preset range, it is determined that the current to be monitored is normal.
2. The method for monitoring current according to claim 1, characterized in that: The step of collecting the analog signal of the current to be monitored by the non-contact current transformer comprises: A distance parameter between the non-contact current transformer and the current to be monitored and a magnetic field strength parameter generated by the current to be monitored are obtained, and an analog signal of the current to be monitored is determined according to the distance parameter and the magnetic field strength parameter.
3. The method for monitoring current according to claim 2, characterized in that: Before inputting the analog signal into the first channel and the second channel respectively to obtain the first output analog signal and the second output analog signal respectively, the method further includes: The analog signal is preprocessed, preset features are extracted from the preprocessed analog signal, and signal compensation is performed on the preprocessed analog signal according to the preset features using a compensation algorithm.
4. The method for monitoring current according to claim 1, characterized in that: The converting the first output analog signal and the second output analog signal to obtain a first output digital signal and a second output digital signal comprises: The first output analog signal and the second output analog signal are respectively input into a microprocessor to generate a fourth intermediate signal and a fifth intermediate signal respectively, and the fourth intermediate signal and the fifth intermediate signal are respectively level-converted through a logic gate circuit.
5. A system for monitoring current, characterized in that: It includes acquisition module, channel module and conversion module, among which: An acquisition module, configured to acquire an analog signal of a current to be monitored through a contactless current transformer; A channel module, configured to input the analog signal into a first channel and a second channel respectively to obtain a first output analog signal and a second output analog signal respectively, wherein the analog signal is subjected to an operation of filtering out power frequency signals and harmonic components and amplifying the signal through the first channel, and the analog signal is subjected to an operation of extracting power frequency signals and low-order harmonic signals and amplifying the signal through the second channel; a conversion module, configured to convert the first output analog signal and the second output analog signal respectively to obtain a first output digital signal and a second output digital signal, and determine whether the current to be monitored is abnormal according to the first output digital signal and the second output digital signal, The operation of filtering out the power frequency signal and harmonic components and amplifying the signal of the analog signal through the first channel includes: The analog signal is filtered out by a notch circuit to obtain a first intermediate signal, and the first intermediate signal is amplified by a first amplifier circuit to obtain a second intermediate signal; The second intermediate signal is filtered out of harmonic components by a high-pass filter circuit to obtain a third intermediate signal, and the third intermediate signal is amplified by a second amplifier circuit to obtain a first output analog signal. The operation of extracting the power frequency signal and the low-order harmonic signal from the analog signal through the second channel and amplifying the signal includes: The analog signal is passed through a low-pass filter circuit to extract the power frequency signal and the low-order harmonic signal, and the extracted power frequency signal and the low-order harmonic signal are amplified by a third amplifier circuit to obtain a second output analog signal. The determining whether the current to be monitored is abnormal according to the first output digital signal and the second output digital signal comprises: Determining whether the first output digital signal exceeds a threshold value, and determining that the current to be monitored is abnormal when the first output digital signal exceeds the threshold value; When the first output digital signal does not exceed a threshold value and the second output digital signal belongs to a preset range, it is determined that the current to be monitored is normal.
6. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices except the electronic device, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 4 is performed.
