Control method and system of electric quantity sensor, electronic equipment and storage medium
Through real -time monitoring and switching of the current signal of the measurement level CT and the protective grade CT, and the calculation of the current signal fusion, the problem of data deviation of the traditional power sensor in faults and improve the stability of the system.
Patent Information
- Application Number
- CN202411448042.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-21
AI Technical Summary
When a traditional power sensor fails, the measurement stage CT is easily saturated, resulting in a deviation in current signal acquisition, which in turn affects the accuracy and stability of the control system.
Through real -time monitoring and measurement of the current signal of the scale CT and the protection grade CT, switch according to the default current threshold, and perform the fusion calculation of the current signal during the switching process to reduce data fluctuations.
The stable excessive stability of the power sensor in the switching process is achieved, reducing data fluctuations, and improving the stability of system operation.
Smart Images

Figure CN119335244A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of sensor control technology, and in particular relates to a control method, system, electronic device, and storage medium for a power sensor. Background Art
[0002] The original use of a power sensor was to convert the AC analog output from the secondary side of the voltage and current transformers at the generator end into a small DC signal of 4 to 20 mA, which was then sent to the power station's computer monitoring system. The AC analog output from the secondary side of the voltage transformer is generally 0 to 100 V, and the AC analog output from the secondary side of the current transformer is generally 0 to 1 A or 0 to 5 A. After passing through the power sensor, both are converted into a DC signal of 4 to 20 mA.
[0003] After a period of development, power sensors are no longer just simple conversions of voltage and current, but have built-in microcomputer calculation functions. They calculate electrical quantities such as active power, reactive power, and frequency through voltage and current, and then send them to the computer monitoring system in the form of 4 to 20 mA.
[0004] However, traditional electrical quantity sensors often only collect the AC analog current signal from the measurement-grade CT (current transformer). However, measurement-grade CTs are characterized by high accuracy, low saturation multiples (typically 1.2 times the rated current), and poor transient characteristics. When a short circuit occurs at the generator end, a large current is generated, which can saturate the measurement-grade CT. This can lead to significant deviations in the current sensor data collected, resulting in significant errors in the calculated current, active power, and reactive power. Consequently, the data transmitted to the control system can be erroneous, causing the control system to malfunction.
[0005] In existing technology, a protection-level CT is added to enable dual current inputs for power sensors. In the event of a fault or other current surge exceeding the measurement-level CT, measurement is switched to the protection-level CT to continue, preventing data errors that could lead to system malfunctions. However, the accuracy of measurement-level and protection-level CTs differ, and switching between them can cause data fluctuations, impacting system stability. Summary of the Invention
[0006] To solve the above problems, the present disclosure provides a control method and system for a power sensor, which calculates and fuses the current signal based on the time points before and after switching and the current signal, and provides feedback to the system, thereby achieving a smooth transition of the system to data before and after switching, and improving the stability of the system operation.
[0007] This application is implemented through the following technical solutions:
[0008] A method for controlling a power sensor, the method comprising:
[0009] monitoring a first current signal of the first current transformer and a second current signal of the second current transformer in real time;
[0010] Switching the current signal source of the power sensor according to the results of comparing and analyzing the first current signal and the second current signal with the preset current threshold;
[0011] When the current signal source is switched, the current signal is preprocessed.
[0012] Furthermore, according to the results of comparing and analyzing the first current signal and the second current signal with the preset current threshold, the current signal source of the power sensor is switched, including:
[0013] When the first current signal is higher than the current threshold, switching the current signal source to a second current signal;
[0014] When the second current signal is lower than the current threshold, the current signal source is switched to the first power signal.
[0015] Furthermore, when switching the current signal source, the current signal is pre-processed and the switching process is transitioned, including:
[0016] Obtaining a first time point at which the current signal source switching starts and a second time point at which the current signal source switching ends;
[0017] According to the first time point and the second time point, a fusion calculation is performed on the first current signal and the second current signal to obtain a fused current signal, and a transition is performed according to the fused current signal.
[0018] Furthermore, according to the first time point and the second time point, the first current signal and the second current signal are fused and calculated to obtain a fused current signal, including:
[0019] The fusion formula is:
[0020] I f (t)=α(t)*I m (t)+(1-α(t))*I p (t)
[0021] Among them, I f is the fusion current signal, I m is the first current signal, I p is the second current signal, α is the switching weight coefficient, and t is the current time point;
[0022] Among them, α(t) changes linearly with time, and its expression is:
[0023]
[0024] Where, t sis the first time point, t e The second time point.
[0025] An inductive sensor control system, the system comprising:
[0026] An input module, configured to receive a first current signal of the first current transformer and a second current signal of the second current transformer;
[0027] a switching control module, switching the current signal source of the power sensor according to the results of comparison and analysis between the first current signal and the second current signal and the preset current threshold;
[0028] The switching transition module pre-processes the current signal and performs transition on the switching process when switching the current signal source.
[0029] Compared with the prior art, the present disclosure has the following advantages:
[0030] When switching between measurement-level CT and protection-level CT, the current signal is calculated and fused to make the switching process smooth, reducing data fluctuations and improving the stability of system operation.
[0031] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1 A flow chart of a method for controlling a power sensor is shown;
[0034] Figure 2 A block diagram of a power sensor control system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0036] Example 1
[0037] like Figure 1 As shown, the power sensor control method of the embodiment of the present disclosure includes:
[0038] monitoring a first current signal of the first current transformer and a second current signal of the second current transformer in real time;
[0039] In the above steps, the first current transformer is a measurement-level CT (current transformer), the second current transformer is a protection-level CT, and the electrical quantity sensor monitors the two CTs simultaneously.
[0040] Switching the current signal source of the power sensor according to the results of comparing and analyzing the first current signal and the second current signal with the preset current threshold value;
[0041] In the above steps, the current threshold is determined based on the rated measurement value of the measurement stage CT, preferably 1.2 times the rated measurement value.
[0042] The specific switching steps are:
[0043] When the first current signal is higher than the current threshold, switching the current signal source to the second current signal;
[0044] When the second current signal is lower than the current threshold, the current signal source is switched to the first power signal.
[0045] When the current signal source is switched, the current signal is preprocessed.
[0046] In the above steps, the transition is to prevent large fluctuations in the data before and after the switching is completed, and the data before and after the switching are fused. The specific fusion process is as follows:
[0047] Obtaining a first time point at which the current signal source switching starts and a second time point at which the current signal source switching ends;
[0048] According to the first time point and the second time point, the first current signal and the second current signal are fused and calculated to obtain a fused current signal, and transition is performed according to the fused current signal.
[0049] The fusion formula is:
[0050] I f (t)=α(t)*I m (t)+(1-α(t))*I p (t)
[0051] Among them, I f is the fusion current signal, I m is the first current signal, I p is the second current signal, α is the switching weight coefficient, and t is the current time point;
[0052] Wherein, α(t) changes linearly with time, and its expression is:
[0053]
[0054] Where, t s is the first time point, t e is the second time point.
[0055] The above steps are the transition from a measurement-grade CT to a protection-grade CT. The same applies to switching from a protection-grade CT to a measurement-grade CT.
[0056] The overall process of the above method is as follows: when the current signal of the measurement-level CT exceeds the current threshold, the power sensor will switch the current signal source to the protection-level CT. After the switch, the current signal is calculated and fused to provide feedback to the system, reducing data fluctuations and improving the stability of system operation.
[0057] Example 2
[0058] In one embodiment, an inductive sensor control system includes:
[0059] An input module, configured to receive a first current signal of the first current transformer and a second current signal of the second current transformer;
[0060] a switching control module, switching a current signal source of the power sensor according to a result of comparing and analyzing the first current signal and the second current signal with a preset current threshold value;
[0061] Specifically include:
[0062] a switching unit, configured to switch the current signal source to the second current signal when the first current signal is higher than the current threshold;
[0063] A switching back unit is configured to switch the current signal source to the first power supply signal when the second current signal is lower than the current threshold.
[0064] The switching transition module pre-processes the current signal when switching the current signal source.
[0065] Specifically include:
[0066] an acquiring unit, acquiring a first time point at which the current signal source switching starts and a second time point at which the current signal source switching ends;
[0067] The transition unit performs a fusion calculation on the first current signal and the second current signal according to the first time point and the second time point to obtain a fused current signal, and performs a transition according to the fused current signal.
[0068] Wherein, the transition unit is specifically:
[0069] The fusion formula is:
[0070] I f (t)=α(t)*I m (t)+(1-α(t))*I p (t)
[0071] Among them, I f is the fusion current signal, I m is the first current signal, I p is the second current signal, α is the switching weight coefficient, and t is the current time point;
[0072] Wherein, α(t) changes linearly with time, and its expression is:
[0073]
[0074] Where, t s is the first time point, t e is the second time point.
[0075] Example 3
[0076] Based on the same inventive concept as the above disclosure, the present disclosure also provides an electronic device. The electronic device of the present disclosure embodiment includes at least one electrically connected processor and at least one memory, the memory being electrically connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.
[0077] It should be noted that the electrical connection between the above-mentioned units does not necessarily mean the connection between lines. An indirect connection method can be applied to the embodiments of the present disclosure as long as the purpose of the present disclosure is achieved.
[0078] Example 4
[0079] Based on the same inventive concept, the present disclosure also provides a computer storage medium storing a computer program, which implements the steps of the above-mentioned power sensor control method when executed by a processor.
[0080] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A method for controlling a power sensor, characterized in that: The method comprises, Real-time monitoring of a first current signal of a first current transformer and a second current signal of a second current transformer; Switching the current signal source of the electric quantity sensor according to the results of comparing and analyzing the first current signal and the second current signal with the preset current threshold respectively; When the current signal source is switched, the current signal is preprocessed.
2. The method according to claim 1, characterized in that The switching of the current signal source of the electric quantity sensor according to the results of comparing and analyzing the first current signal and the second current signal with the preset current thresholds respectively includes: When the first current signal is higher than the current threshold, switching the current signal source to the second current signal; When the second current signal is lower than the current threshold, the current signal source is switched to the first power supply signal.
3. The method according to claim 1, characterized in that When the current signal source is switched, preprocessing the current signal includes: Acquire a first time point at which the current signal source switching starts and a second time point at which the current signal source switching ends; According to the first time point and the second time point, the first current signal and the second current signal are fused and calculated to obtain a fused current signal, and transition is performed according to the fused current signal.
4. The method according to claim 3, characterized in that The step of performing fusion calculation on the first current signal and the second current signal according to the first time point and the second time point to obtain a fused current signal includes: The fusion formula is: I f (t)=α(t)*I m (t)+(1-α(t))*I p (t) Among them, I f is the fusion current signal, I m is the first current signal, I p is the second current signal, α is the switching weight coefficient, and t is the current time point; Wherein, the α(t) changes linearly with time, and its expression is: Where, t s is the first time point, t e is the second time point.
5. An inductive sensor control system, characterized in that: The system comprises: An input module, configured to receive a first current signal of a first current transformer and a second current signal of a second current transformer; A switching control module switches the current signal source of the electric quantity sensor according to the results of comparing and analyzing the first current signal and the second current signal with the preset current threshold respectively; The switching transition module pre-processes the current signal when switching the current signal source.
6. The system according to claim 5, characterized in that The switching control module comprises: a switching unit, configured to switch the current signal source to the second current signal when the first current signal is higher than the current threshold; A switch-back unit is used to switch the current signal source to the first power supply signal when the second current signal is lower than the current threshold.
7. The system according to claim 5, characterized in that The switching transition module comprises: An acquisition unit, which acquires a first time point at which the current signal source switching starts and a second time point at which the current signal source switching ends; A transition unit performs a fusion calculation on the first current signal and the second current signal according to the first time point and the second time point to obtain a fused current signal, and performs a transition according to the fused current signal.
8. The system according to claim 7, characterized in that The transition unit is specifically: The fusion formula is: I f (t)=α(t)*I m (t)+(1-α(t))*I p (t) Among them, I f is the fusion current signal, I m is the first current signal, I p is the second current signal, α is the switching weight coefficient, and t is the current time point; Among them, the α(t) changes linearly with time, and its expression is: Where, t s is the first time point, t e is the second time point.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.