Chip-level relay control method and measurement and control device based on sampling data processing

By grouping multiple initial sampled data from the power system and dynamically adjusting the interpolation order, and updating the interpolation order in conjunction with the curve change rate and harmonic distortion rate, the problem of low accuracy in the processing of sampled data by the measurement and control device is solved, and the control precision of the chip-level relay is improved.

CN121028630APending Publication Date: 2025-11-28CHINA SOUTHERN POWER GRID NEW POWER SYSTEM (BEIJING) RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511160466.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

The low accuracy of the measurement and control devices in existing power systems in processing sampled data leads to insufficient accuracy in chip-level relay control methods.

Method used

By grouping multiple initial sampled data from the power system and dynamically adjusting the interpolation order based on the interpolated data, and updating the interpolation order in conjunction with the curve change rate and harmonic distortion rate, until the interpolation processing of all data is completed, more accurate target sampled data is obtained to control chip-level relays.

Benefits of technology

This improves the balance between interpolation computation and error, enhances the accuracy of sampled data processing, and thus improves the control precision of chip-level relays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121028630A_ABST
    Figure CN121028630A_ABST
Patent Text Reader

Abstract

The invention relates to a chip-level relay control method based on sampling data processing and a measurement and control device. The method comprises the following steps: acquiring a plurality of initial sampling data of a power system, and grouping the plurality of initial sampling data according to a sequence of time from front to back to obtain a plurality of groups of sampling data; performing interpolation processing on the first group of sampling data in the multiple groups of sampling data according to the initial interpolation order to obtain the first group of sampling data after interpolation processing; according to the first group of sampling data after interpolation processing and other groups of sampling data which are not subjected to interpolation processing in the multiple groups of sampling data, updating the initial interpolation order to obtain a target interpolation order; taking the target interpolation order as a new initial interpolation order, taking a next group of sampling data of the first group of sampling data as a new first group of sampling data, and returning to execute the step of interpolation processing to obtain a plurality of target sampling data; and controlling the chip-level relay according to the plurality of target sampling data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power systems, in particular to a chip-level relay control method based on sampling data processing and a measurement and control device. BACKGROUND

[0002] With the development of power systems, the measurement and control device in the power system can determine the operation of the primary equipment by collecting sampling data of the power system, and control the primary equipment according to the operation of the primary equipment, for example, the on-off of the chip-level relay. At present, due to the different sources of the sampling data collected by the measurement and control device, it is necessary to perform interpolation processing on the sampling data of the power system collected by the measurement and control device to obtain more accurate sampling data, so as to accurately control the chip-level relay.

[0003] However, the above-mentioned processing method of the sampling data in the power system has the problem of low accuracy, which leads to the problem of low accuracy of the current control method for the chip-level relay. SUMMARY

[0004] Therefore, it is necessary to provide a chip-level relay control method based on sampling data processing and a measurement and control device to improve the accuracy of processing the sampling data in the power system, thereby improving the accuracy of controlling the chip-level relay.

[0005] In a first aspect, the present application provides a chip-level relay control method based on sampling data processing, comprising:

[0006] Obtaining a plurality of initial sampling data of a power system, and grouping the plurality of initial sampling data according to the order from front to back in time to obtain a plurality of groups of sampling data;

[0007] Obtaining an initial interpolation order, and performing interpolation processing on the sampling data of a first group in the plurality of groups of sampling data according to the initial interpolation order to obtain the sampling data of the first group after interpolation processing;

[0008] Updating the initial interpolation order according to the sampling data of the first group after interpolation processing and the sampling data of other groups in the plurality of groups of sampling data which are not interpolated to obtain a target interpolation order;

[0009] Taking the target interpolation order as a new initial interpolation order, and taking the sampling data of the next group of the first group of sampling data as new sampling data of the first group, returning to perform the step of performing interpolation processing on the sampling data of the first group in the plurality of groups of sampling data according to the initial interpolation order until the processing of all groups of sampling data is completed to obtain a plurality of target sampling data;

[0010] controlling the chip-level relay according to the plurality of target sampling data.

[0011] In one of the embodiments, the initial interpolation order is updated to obtain a target interpolation order according to the first set of sampling data after interpolation processing and sampling data of other sets of the plurality of sets of sampling data without interpolation processing.

[0012] The curve change rate and the harmonic distortion rate are determined according to the first set of sampling data after interpolation processing and sampling data of other sets of the plurality of sets of sampling data without interpolation processing.

[0013] The initial interpolation order is updated to obtain a target interpolation order according to the curve change rate and the harmonic distortion rate.

[0014] In one of the embodiments, the curve change rate and the harmonic distortion rate are determined according to the first set of sampling data after interpolation processing and sampling data of other sets of the plurality of sets of sampling data without interpolation processing.

[0015] The sampling period and the current sampling point are determined according to the first set of sampling data after interpolation processing and sampling data of other sets of the plurality of sets of sampling data without interpolation processing.

[0016] The curve change rate is determined according to the sampling period and the current sampling point.

[0017] The harmonic distortion rate is determined according to the first set of sampling data after interpolation processing and sampling data of other sets of the plurality of sets of sampling data without interpolation processing.

[0018] In one of the embodiments, the curve change rate is determined according to the sampling period and the current sampling point.

[0019] The number of sampling points of the current sampling point from a target zero-crossing point is obtained; the target zero-crossing point is the first zero-crossing point in the sampling period.

[0020] The curve change rate is determined according to the number of sampling points and the sampling period.

[0021] In one of the embodiments, the initial interpolation order is updated to obtain a target interpolation order according to the curve change rate and the harmonic distortion rate.

[0022] If the initial interpolation order is less than a preset maximum order, it is determined whether the harmonic distortion rate is greater than a first distortion rate threshold.

[0023] if the harmonic distortion rate is not greater than the first distortion rate threshold, determining the target interpolation order according to the curve change rate, the harmonic distortion rate and the first distortion rate threshold;

[0024] if the harmonic distortion rate is greater than the first distortion rate threshold, determining the preset maximum order as the target interpolation order.

[0025] In one embodiment, the updating of the initial interpolation order according to the curve change rate and the harmonic distortion rate to obtain a target interpolation order comprises:

[0026] if the initial interpolation order is equal to the preset maximum order, determining whether the harmonic distortion rate meets a preset distortion rate condition; the preset distortion rate condition comprises that the harmonic distortion rate is less than a second distortion rate threshold and a duration of the harmonic distortion rate is not less than a preset time period;

[0027] if the harmonic distortion rate meets the preset distortion rate condition, determining the target interpolation order according to the curve change rate, the harmonic distortion rate and the first distortion rate threshold;

[0028] if the harmonic distortion rate does not meet the preset distortion rate condition, determining the preset maximum order as the target interpolation order.

[0029] In a second aspect, the present application further provides a measurement and control device, comprising:

[0030] a grouping module configured to obtain a plurality of initial sampling data of a power system, and group the plurality of initial sampling data according to a time sequence from front to back to obtain a plurality of groups of sampling data;

[0031] a first interpolation processing module configured to obtain an initial interpolation order, and perform interpolation processing on sampling data of a first group of the plurality of groups of sampling data according to the initial interpolation order to obtain interpolated sampling data of the first group;

[0032] an updating module configured to update the initial interpolation order according to the interpolated sampling data of the first group and sampling data of other groups of the plurality of groups of sampling data which are not interpolated to obtain a target interpolation order;

[0033] a second interpolation processing module configured to take the target interpolation order as a new initial interpolation order, take sampling data of a next group of the first group of sampling data as new sampling data of the first group, and return to perform the step of performing interpolation processing on sampling data of a first group of the plurality of groups of sampling data according to the initial interpolation order until processing of all groups of sampling data is completed to obtain a plurality of target sampling data;

[0034] The control module is used to control the chip-level relays based on the sampled data from the multiple targets.

[0035] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method in any of the above embodiments.

[0036] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the methods in any of the above embodiments.

[0037] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the methods in any of the above embodiments.

[0038] The aforementioned chip-level relay control method and measurement and control device based on sampled data processing acquires multiple initial sampled data from the power system and groups these initial sampled data into multiple groups according to their chronological order. It then acquires an initial interpolation order and interpolates the first group of sampled data within the multiple groups based on this initial interpolation order, resulting in the interpolated first group of sampled data. Based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups within the multiple groups, the initial interpolation order is updated to obtain a target interpolation order. This target interpolation order is used as the new initial interpolation order, and the sampled data from the next group of sampled data within the first group is used as the new first group of sampled data. The process returns to the previous step of interpolating the first group of sampled data based on the initial interpolation order, continuing until all groups of sampled data have been processed, resulting in multiple target sampled data. Finally, the chip-level relay is controlled based on these multiple target sampled data. To address the challenge of balancing interpolation computation and interpolation error, this application's embodiments dynamically adjust the interpolation order during the interpolation process and employ a new interpolation order to perform the interpolation of the next sampled data. This approach ensures both computational efficiency and accuracy, thereby improving the accuracy of sampled data processing in power systems and consequently enhancing the control accuracy of chip-level relays. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is an internal structural diagram of a computer device in one embodiment;

[0041] Figure 2 This is a flowchart illustrating a chip-level relay control method based on sampled data processing in one embodiment;

[0042] Figure 3 This is a flowchart illustrating the step of updating the initial interpolation order in one embodiment;

[0043] Figure 4 This is a flowchart illustrating the steps to be determined in one embodiment;

[0044] Figure 5 This is a flowchart illustrating a chip-level relay control method based on sampled data processing in another embodiment;

[0045] Figure 6 This is a structural block diagram of the measurement and control device in one embodiment. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0048] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. That is, in the description of the embodiments of this application, the technical terms "first," "second," etc., are only used to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary or secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined. The term "and / or" used in this application refers to one of the solutions or any combination of multiple solutions.

[0049] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0050] With the development of power systems, measurement and control devices in power systems can determine the operating status of primary equipment by collecting sampled data from the power system, and control the primary equipment accordingly. For example, these devices can collect analog quantities such as voltage and current, as well as switching information from primary equipment, and transmit this information to the backend or dispatch center via various communication methods. This allows power system operators to view the analog and switching information of primary equipment in real time at the backend or dispatch center. Currently, because the sources or channels of the sampled data collected by the measurement and control devices vary, the number of sampling points per cycle for different analog quantities may differ, necessitating resampling of the original data. Even if the number of sampling points per cycle is the same for all analog quantities, resampling may still be required due to different application scenarios or frequency offsets.

[0051] Currently, during resampling, except in cases of direct extraction, the sampling points of the resampled data are not necessarily at the same points as the original sampling data. Therefore, interpolation processing is required on the original sampling data collected by the monitoring and control device in the power system to obtain more accurate sampling data, thus enabling resampling. However, there are many methods for interpolating the original data in related technologies, typically polynomial interpolation and spline curve interpolation, with polynomial interpolation being the most widely used. Generally, the most significant factor affecting the interpolation error is the order of the polynomial. When the polynomial order is low, the interpolation computation is low, but the interpolation error is large; when the polynomial order is high, the interpolation error is relatively small, but the interpolation computation is large. When the order of the interpolation polynomial is fixed, it is difficult to simultaneously meet the requirements of low interpolation computation and high interpolation error. Therefore, the aforementioned methods for processing sampled data in power systems suffer from low accuracy.

[0052] Having described the background technology of the chip-level relay control method based on sampled data processing provided in the embodiments of this application, the implementation environment involved in the chip-level relay control method based on sampled data processing provided in the embodiments of this application will be briefly described below. The chip-level relay control method based on sampled data processing provided in the embodiments of this application can be applied to measurement and control devices in power systems. Measurement and control devices in power systems may include, but are not limited to, computer equipment, control components, etc., for example, such as... Figure 1 As shown, Figure 1This is an internal structural diagram of a computer device in one embodiment. The computer device can be a terminal or a server. It includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a chip-level relay control method based on sampled data processing. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0053] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. A specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0054] In one embodiment, such as Figure 2 As shown, a chip-level relay control method based on sampled data processing is provided. Taking the application of this method to a measurement and control device in a power system as an example, the method includes the following steps:

[0055] S201: Acquire multiple initial sampling data of the power system, and group the multiple initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data.

[0056] The initial sampling data refers to the analog quantities such as voltage and current of primary equipment and switch quantity information directly collected by the measurement and control devices in the power system. The multiple sets of sampling data include the initial sampling data within the corresponding time period of each set.

[0057] In this embodiment, the measurement and control device in the power system can collect multiple initial sampling data of the power system in real time or at regular intervals. Therefore, the measurement and control device in the power system can group the multiple initial sampling data according to the chronological order to obtain multiple groups of sampling data. For example, assuming the multiple initial sampling data include x1, x2, x3, x4, ..., x9, then x1 and x2 can be determined as the first group of sampling data, x2 and x3 as the second group of sampling data, x3 and x4 as the third group of sampling data, and so on, until x8 and x9 are determined as the eighth group of sampling data, thus obtaining multiple groups of sampling data.

[0058] S202, obtain the initial interpolation order, and perform interpolation processing on the first group of sampled data in the multiple groups of sampled data according to the initial interpolation order to obtain the first group of sampled data after interpolation processing.

[0059] The initial interpolation order can be set according to actual conditions, and the specific value of the initial interpolation order is not limited in the embodiments of this application. The interpolation processing method can include, but is not limited to, polynomial interpolation and spline curve interpolation.

[0060] In this embodiment of the application, the measurement and control device in the power system can pre-set the initial interpolation order and the interpolation processing method. Thus, the measurement and control device in the power system can perform interpolation processing on the first set of sampled data in multiple sets of sampled data according to the initial interpolation order and the interpolation processing method to obtain the first set of sampled data after interpolation processing.

[0061] S203. Based on the sampled data of the first group after interpolation processing, and the sampled data of other groups in the multiple groups that have not been interpolated, update the initial interpolation order to obtain the target interpolation order.

[0062] In this embodiment, the measurement and control device in the power system can combine the first set of interpolated sampled data and the uninterpolated sampled data from other sets of sampled data to generate initial sampled data after the first interpolation. Therefore, the measurement and control device in the power system can update the initial interpolation order based on the initial sampled data after the first interpolation to obtain the target interpolation order. The target interpolation order refers to the order of the polynomial interpolation to be used in the next interpolation process.

[0063] Optionally, the measurement and control device in the power system can directly update the initial interpolation order based on the initial sampling data after the first interpolation processing to obtain the target interpolation order; alternatively, the measurement and control device in the power system can first determine the curve change rate and harmonic distortion rate based on the initial sampling data after the first interpolation processing, and then update the initial interpolation order based on the curve change rate and harmonic distortion rate to obtain the target interpolation order. Of course, the specific implementation method for updating the initial interpolation order is not limited in the embodiments of this application.

[0064] S204: Use the target interpolation order as the new initial interpolation order, and use the sampled data of the next group of the first group of sampled data as the new first group of sampled data. Return to execute S202, and continue until the processing of all groups of sampled data is completed, resulting in multiple target sampled data.

[0065] In this embodiment, the measurement and control device in the power system can use the target interpolation order as the new initial interpolation order, and use the sampling data of the next group of the first group of sampling data (i.e., the sampling data of the second group) as the new sampling data of the first group. It then returns to execute the step of interpolating the sampling data of the first group of multiple groups of sampling data according to the initial interpolation order. This allows interpolation of the sampling data of the second group of multiple groups of sampling data according to the target interpolation order, resulting in the interpolated sampling data of the second group. This process is repeated until all groups of sampling data have been processed, thus obtaining multiple target sampling data sets. Here, the target sampling data refers to the total sampling data after interpolation processing of all groups of sampling data.

[0066] S205 controls chip-level relays based on multiple target sampling data.

[0067] In this embodiment, the measurement and control device in the power system can determine the operating status of primary equipment based on multiple target sampling data of the power system. Therefore, it can control the primary equipment based on its operating status; for example, it can control a chip-level relay to open or close. Thus, based on more accurate multiple target sampling data, more precise control of the chip-level relay is possible.

[0068] In the aforementioned chip-level relay control method based on sampled data processing, multiple initial sampled data from the power system are acquired and grouped according to time sequence to obtain multiple groups of sampled data. An initial interpolation order is obtained, and the first group of sampled data in the multiple groups is interpolated based on the initial interpolation order to obtain the first group of interpolated sampled data. Based on the first group of interpolated sampled data and the uninterpolated sampled data from other groups in the multiple groups, the initial interpolation order is updated to obtain a target interpolation order. The target interpolation order is used as the new initial interpolation order, and the sampled data of the next group of the first group is used as the new first group of sampled data. The process returns to the previous step of interpolating the first group of sampled data based on the initial interpolation order, until all groups of sampled data have been processed to obtain multiple target sampled data. Finally, the chip-level relay is controlled based on the multiple target sampled data. To address the challenge of balancing interpolation computation and interpolation error, this application's embodiments dynamically adjust the interpolation order during the interpolation process and employ a new interpolation order to perform the interpolation of the next sampled data. This approach ensures both computational efficiency and accuracy, thereby improving the accuracy of sampled data processing in power systems and consequently enhancing the control accuracy of chip-level relays.

[0069] In one embodiment, an implementation method for updating the initial interpolation order is provided, namely, in S203 above, "based on the sampled data of the first group after interpolation processing, and the sampled data of other groups of sampled data that have not undergone interpolation processing, the initial interpolation order is updated to obtain the target interpolation order," such as... Figure 3 As shown, it includes:

[0070] S301, Based on the sampled data of the first group after interpolation processing, and the sampled data of other groups of sampled data that have not been interpolated in multiple groups, determine the curve change rate and harmonic distortion rate.

[0071] In this embodiment, optionally, the measurement and control device in the power system can simultaneously determine the curve change rate and harmonic distortion rate based on the first set of interpolated sampled data and the other sets of uninterpolated sampled data from multiple sets of sampled data. Alternatively, the measurement and control device in the power system can first determine the curve change rate and then determine the harmonic distortion rate based on the first set of interpolated sampled data and the other sets of uninterpolated sampled data from multiple sets of sampled data. Alternatively, the measurement and control device in the power system can also first determine the harmonic distortion rate and then determine the curve change rate based on the first set of interpolated sampled data and the other sets of uninterpolated sampled data from multiple sets of sampled data. Of course, this embodiment does not limit the specific implementation method or order of determining the curve change rate and harmonic distortion rate. Here, the harmonic distortion rate refers to the total harmonic distortion rate of the interpolated sampled data, and the curve change rate can represent the magnitude of the change rate at the interpolation point.

[0072] S302, based on the curve change rate and harmonic distortion rate, update the initial interpolation order to obtain the target interpolation order.

[0073] In this embodiment, optionally, the measurement and control device in the power system can directly determine the target interpolation order based on the curve change rate, harmonic distortion rate, and initial interpolation order. Alternatively, the measurement and control device in the power system can first determine whether the harmonic distortion rate is greater than a first distortion rate threshold, obtain a determination result, and then update the initial interpolation order based on the determination result, the curve change rate, the harmonic distortion rate, and the initial interpolation order to obtain the target interpolation order. Of course, this embodiment does not limit the specific implementation method of updating the initial interpolation order.

[0074] In this embodiment, the curve change rate and harmonic distortion rate can be accurately determined based on the sampled data of the first group after interpolation and the sampled data of other groups of samples that have not been interpolated. Thus, the initial interpolation order can be updated based on the accurate curve change rate and harmonic distortion rate, thereby accurately determining the target interpolation order.

[0075] In one embodiment, a method for determining the curve change rate and harmonic distortion rate is provided, namely, "determining the curve change rate and harmonic distortion rate based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups of sampled data in multiple groups" in S301 above. Figure 4 As shown, it includes:

[0076] S401, based on the sampled data of the first group after interpolation and the sampled data of other groups in the multiple groups that have not been interpolated, determine the sampling period and the current sampling point.

[0077] In this embodiment of the application, the measurement and control device in the power system can determine the current sampling point k based on the first group of sampling data after interpolation and the other groups of sampling data that have not been interpolated in the multiple groups of sampling data, and thus, the sampling period can be determined based on the current sampling point k.

[0078] For example, the measurement and control device in the power system can determine whether the sampling data of the current sampling point k is greater than 0, and whether the sampling data of the previous sampling point is less than 0. If the sampling data of the current sampling point k is greater than 0, and the sampling data of the previous sampling point is less than 0, then the current value of k is assigned to t1, and the previously recorded value of t1 is assigned to t2. Thus, the sampling period can be determined as t1-t2, and N can be calculated, where N=(t1-t2) / 4.

[0079] S402, determine the curve change rate based on the sampling period and the current sampling point.

[0080] In this embodiment of the application, the measurement and control device in the power system can determine the rate of change of the curve based on the sampling period and the current sampling point. In one embodiment, S402 includes:

[0081] Get the number of sampling points from the current sampling point to the target zero-crossing point; the target zero-crossing point is the first zero-crossing point in the sampling period.

[0082] The rate of change of the curve is determined based on the number of sampling points and the sampling period.

[0083] In this embodiment, the measurement and control device in the power system can obtain the number of sampling points n1 between the current sampling point k and the target zero-crossing point, and determine the target number n3 based on the number of sampling points n1 between the current sampling point k and the target zero-crossing point. The target zero-crossing point is the first zero-crossing point t1 in the sampling period. For example, the measurement and control device in the power system can calculate n1, where n1 = k - t1, and determine whether n1 is greater than 2N. If n1 is greater than 2N, then n2 = n1 - 2N; if n1 is not greater than 2N, then n2 = n1. Next, it can determine whether n2 is greater than N. If n2 is greater than N, then n3 = 2N - n2; if n2 is not greater than N, then n3 = n2.

[0084] Therefore, the measurement and control device in the power system can determine the curve change rate based on the number of sampling points and the sampling period. For example, the formula for determining the curve change rate S1 is: S1=Smin+(Smax-Smin)cos(n3π / 2N). The curve change rate S1 can be calculated using the formula based on n3 and N calculated in the above steps, as well as the pre-set Smax and Smin.

[0085] S403, determine the harmonic distortion rate based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated.

[0086] In this embodiment of the application, the measurement and control device in the power system can combine the first set of interpolated sampling data and the other sets of uninterpolated sampling data from multiple sets of sampling data to generate the initial sampling data after the first interpolation. Thus, the measurement and control device in the power system can calculate the harmonic distortion rate R based on the initial sampling data after the first interpolation.

[0087] In this embodiment, the sampling period and the current sampling point can be accurately determined based on the interpolated first group of sampling data and the uninterpolated sampling data from other groups of sampling data. Therefore, the curve change rate can be accurately determined based on the accurate sampling period and the current sampling point. Furthermore, the harmonic distortion rate can also be accurately determined based on the interpolated first group of sampling data and the uninterpolated sampling data from other groups of sampling data.

[0088] In one embodiment, an implementation method for updating the initial interpolation order is provided, namely, "updating the initial interpolation order according to the curve change rate and harmonic distortion rate to obtain the target interpolation order" in S302 above, including:

[0089] If the initial interpolation order is less than the preset maximum order, then determine whether the harmonic distortion rate is greater than the first distortion rate threshold.

[0090] If the harmonic distortion rate is not greater than the first distortion rate threshold, then the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold.

[0091] If the harmonic distortion rate is greater than the first distortion rate threshold, then the preset maximum order is determined as the target interpolation order.

[0092] In this embodiment, the measurement and control device in the power system can determine whether the initial interpolation order is less than a preset maximum order Smax. If the initial interpolation order is less than the preset maximum order Smax, the measurement and control device in the power system can then determine whether the harmonic distortion rate R is greater than a first distortion rate threshold Rset. If the harmonic distortion rate R is greater than the first distortion rate threshold Rset, the preset maximum order Smax can be determined as the target interpolation order. If the harmonic distortion rate R is not greater than the first distortion rate threshold Rset, the target interpolation order can be determined based on the curve change rate S1, the harmonic distortion rate R, and the first distortion rate threshold Rset.

[0093] For example, the target interpolation order can be determined based on the curve change rate, harmonic distortion rate, and the first distortion rate threshold as follows: First, the monitoring and control device in the power system can calculate S2 based on the curve change rate S1, the harmonic distortion rate R, and the first distortion rate threshold Rset, where S2 = S1 × R / Rset. Then, S2 can be rounded to the nearest integer to obtain S3. Thus, if the harmonic distortion rate R is not greater than the first distortion rate threshold Rset, S3 is the target interpolation order.

[0094] In this embodiment, when the initial interpolation order is less than the preset maximum order, the target interpolation order can be accurately determined based on whether the harmonic distortion rate is greater than the first distortion rate threshold, as well as the curve change rate, harmonic distortion rate, and the first distortion rate threshold.

[0095] In one embodiment, an implementation method for updating the initial interpolation order is provided, namely, "updating the initial interpolation order according to the curve change rate and harmonic distortion rate to obtain the target interpolation order" in S302 above, including:

[0096] If the initial interpolation order is equal to the preset maximum order, then determine whether the harmonic distortion rate meets the preset distortion rate condition; the preset distortion rate condition includes that the harmonic distortion rate is less than the second distortion rate threshold and the duration of the harmonic distortion rate is not less than the preset time period.

[0097] If the harmonic distortion rate meets the preset distortion rate condition, the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold.

[0098] If the harmonic distortion rate does not meet the preset distortion rate condition, then the preset maximum order will be determined as the target interpolation order.

[0099] In this embodiment, the measurement and control device in the power system can determine whether the initial interpolation order is less than a preset maximum order Smax. If the initial interpolation order is equal to the preset maximum order Smax, the measurement and control device in the power system can then determine whether the harmonic distortion rate R meets a preset distortion rate condition. The preset distortion rate condition includes that the harmonic distortion rate R is less than a second distortion rate threshold, and the duration of the harmonic distortion rate R is not less than or reaches a preset time period Rtset. For example, the second distortion rate threshold can be Rset × 0.9. If the harmonic distortion rate does not meet the preset distortion rate condition, i.e., the harmonic distortion rate R is not less than the second distortion rate threshold, or the duration of the harmonic distortion rate R is less than the preset time period Rtset, then the preset maximum order Smax can be determined as the target interpolation order.

[0100] If the harmonic distortion rate R meets the preset distortion rate condition, i.e., the harmonic distortion rate R is less than the second distortion rate threshold, and the duration of the harmonic distortion rate R is not less than or reaches the preset time period Rtset, then the target interpolation order can be determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold. For example, the method for determining the target interpolation order based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold can be as follows: First, the monitoring and control device in the power system can calculate S2 based on the curve change rate S1, the harmonic distortion rate R, and the first distortion rate threshold Rset, where S2 = S1 × R / Rset. Then, S2 can be rounded to the nearest integer to obtain S3. Thus, when the harmonic distortion rate R meets the preset distortion rate condition, S3 is the target interpolation order.

[0101] In this embodiment, when the initial interpolation order is equal to the preset maximum order, the target interpolation order can be accurately determined based on whether the harmonic distortion rate meets the preset distortion rate condition, as well as the curve change rate, harmonic distortion rate, and the first distortion rate threshold.

[0102] In one exemplary embodiment, such as Figure 5 As shown, a chip-level relay control method based on sampled data processing is provided, applied to a measurement and control device in a power system, including:

[0103] S501: Acquire multiple initial sampling data of the power system, and group the multiple initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data;

[0104] S502, obtain the initial interpolation order, and perform interpolation processing on the first group of sampled data in the multiple groups of sampled data according to the initial interpolation order to obtain the first group of sampled data after interpolation processing;

[0105] S503, determine the current sampling point k based on the sampling data of the first group after interpolation and the sampling data of other groups that have not been interpolated in the multiple groups of sampling data;

[0106] In addition, the highest order of the polynomial interpolation (i.e., the preset maximum order) Smax, the lowest order Smin, the harmonic distortion rate (i.e., the first distortion rate threshold) Rset, and the return time (i.e., the preset time period) Rtset are given in advance.

[0107] S504, determine whether the sampled data of the current sampling point k is greater than 0, and whether the sampled data of the previous sampling point of the current sampling point k is less than 0. If the sampled data of the current sampling point k is greater than 0, and the sampled data of the previous sampling point of the current sampling point k is less than 0, then execute S505; if the following conditions are not met: the sampled data of the current sampling point k is greater than 0, and the sampled data of the previous sampling point of the current sampling point k is less than 0, then execute S506.

[0108] S505, assign the current k value to t1, assign the previously recorded t1 value to t2, determine the sampling period as t1-t2, and calculate N, where N=(t1-t2) / 4;

[0109] S506, calculate n1, where n1 = k - t1;

[0110] S507, determine if n1 is greater than 2N; if n1 is greater than 2N, then execute S508; if n1 is not greater than 2N, then execute S509.

[0111] S508, n2=n1-2N;

[0112] S509, n2=n1;

[0113] S510, determine if n2 is greater than N; if n2 is greater than N, then execute S511; if n2 is not greater than N, then execute S512.

[0114] S511, n3=2N-n2;

[0115] S512, n3=n2;

[0116] S513, based on n3 and N, and the pre-set Smax and Smin, the curve change rate S1 is calculated using the formula S1=Smin+(Smax-Smin)cos(n3π / 2N);

[0117] S5154, Based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated, determine the harmonic distortion rate R;

[0118] S515, determine whether the initial interpolation order is less than the preset maximum order Smax; if the initial interpolation order is less than the preset maximum order Smax, then execute S516; if the initial interpolation order is equal to the preset maximum order, then execute S520.

[0119] S516, determine whether the harmonic distortion rate R is greater than the first distortion rate threshold Rset; if the harmonic distortion rate R is not greater than the first distortion rate threshold Rset, then execute S517; if the harmonic distortion rate R is greater than the first distortion rate threshold Rset, then execute S519.

[0120] S517, calculate S2 based on the curve change rate S1, harmonic distortion rate R, and the first distortion rate threshold Rset, where S2 = S1 × R / Rset;

[0121] S518, rounding S2 to the nearest integer, yields S3, which is then determined as the target interpolation order;

[0122] S519, the preset maximum order Smax is determined as the target interpolation order;

[0123] S520, determine whether the harmonic distortion rate R meets the preset distortion rate conditions; the preset distortion rate conditions include that the harmonic distortion rate R is less than the second distortion rate threshold Rset × 0.9, and the duration of the harmonic distortion rate R is not less than the preset time period Rtset; if the harmonic distortion rate R meets the preset distortion rate conditions, then execute S517; if the harmonic distortion rate R does not meet the preset distortion rate conditions, then execute S519.

[0124] S521, take the target interpolation order as the new initial interpolation order, and take the next group of sampled data of the first group as the new first group of sampled data, return to execute S502, until the processing of all groups of sampled data is completed, and obtain multiple target sampled data;

[0125] S522 controls chip-level relays based on sampled data from multiple targets.

[0126] In the aforementioned chip-level relay control method based on sampled data processing, to address the difficulty of balancing interpolation computation and interpolation error, the interpolation order can be dynamically adjusted continuously during the interpolation process. A new interpolation order is then used to perform the interpolation processing for the next sampled data. This approach ensures both computational efficiency and accuracy, thereby improving the accuracy of sampled data processing in power systems and consequently enhancing the accuracy of chip-level relay control. Therefore, this application relates to the field of power system automation, particularly to the field of power system relay protection, and specifically to a sampled data interpolation method for measurement and control devices.

[0127] Generally, analog quantities in power systems are sinusoidal curves. For a sinusoidal curve, its derivative is a cosine curve. The derivative reflects the curve's variation. Furthermore, the degree of curve distortion can be measured by the waveform distortion rate. Based on this, in the embodiments of this application, the order of the polynomial interpolation can be dynamically adjusted according to the magnitude of the derivative (i.e., the curve's rate of change) and the waveform distortion rate (i.e., the harmonic distortion rate). For example, when the derivative and waveform distortion rate are relatively large, a larger order can be used to ensure interpolation accuracy when the curve changes significantly; when the derivative and waveform distortion rate are relatively small, a smaller order can be used without significantly affecting interpolation accuracy due to the smaller curve changes. Thus, by dynamically adjusting the order of the polynomial interpolation and using the latest adjusted order to interpolate the sampled data at the next sampling point, the computational load can be reduced while maintaining interpolation accuracy, thus balancing computational load and accuracy. Furthermore, it should be noted that regardless of whether the method in the embodiments of this application is used, the measurement and control device in the power system needs to calculate the harmonic distortion rate. Therefore, the process of calculating the harmonic distortion rate in the embodiments of this application will not increase the calculation time of the measurement and control device.

[0128] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0129] Based on the same inventive concept, this application also provides a measurement and control device for implementing the chip-level relay control method based on sampled data processing described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more measurement and control device embodiments provided below can be found in the limitations of the chip-level relay control method based on sampled data processing described above, and will not be repeated here.

[0130] In one exemplary embodiment, such as Figure 6As shown, a measurement and control device is provided, including: a grouping module 31, a first interpolation processing module 32, an update module 33, a second interpolation processing module 34, and a control module 35, wherein:

[0131] Grouping module 31 is used to acquire multiple initial sampling data of the power system and group the multiple initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data.

[0132] The first interpolation processing module 32 is used to obtain the initial interpolation order and perform interpolation processing on the first group of sampled data in multiple groups of sampled data according to the initial interpolation order to obtain the first group of sampled data after interpolation processing.

[0133] The update module 33 is used to update the initial interpolation order based on the sampled data of the first group after interpolation processing and the sampled data of other groups of sampled data that have not been interpolated, so as to obtain the target interpolation order.

[0134] The second interpolation processing module 34 is used to take the target interpolation order as the new initial interpolation order, and take the next group of sampled data of the first group as the new first group of sampled data, and return to execute the step of interpolating the sampled data of the first group of sampled data in multiple groups of sampled data according to the initial interpolation order, until the processing of all groups of sampled data is completed, and multiple target sampled data are obtained.

[0135] The control module 35 is used to control the chip-level relay based on sampled data from multiple targets.

[0136] In one embodiment, the update module 33 includes:

[0137] The determining unit is used to determine the curve change rate and harmonic distortion rate based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated.

[0138] The update unit is used to update the initial interpolation order based on the curve change rate and harmonic distortion rate to obtain the target interpolation order.

[0139] In one embodiment, the determining unit includes:

[0140] The first determining subunit is used to determine the sampling period and the current sampling point based on the interpolated sampling data of the first group and the uninterpolated sampling data of other groups among the multiple groups of sampling data.

[0141] The second determining subunit is used to determine the curve change rate based on the sampling period and the current sampling point;

[0142] The third determining subunit is used to determine the harmonic distortion rate based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated.

[0143] In one embodiment, the second determining subunit is specifically used for:

[0144] Get the number of sampling points from the current sampling point to the target zero-crossing point; the target zero-crossing point is the first zero-crossing point in the sampling period.

[0145] The rate of change of the curve is determined based on the number of sampling points and the sampling period.

[0146] In one embodiment, the update unit includes:

[0147] The first judgment subunit is used to determine whether the harmonic distortion rate is greater than the first distortion rate threshold if the initial interpolation order is less than the preset maximum order.

[0148] The first update subunit is used to determine the target interpolation order based on the curve change rate, harmonic distortion rate and first distortion rate threshold if the harmonic distortion rate is not greater than the first distortion rate threshold.

[0149] The second update subunit is used to determine the preset maximum order as the target interpolation order if the harmonic distortion rate is greater than the first distortion rate threshold.

[0150] In one embodiment, the update unit includes:

[0151] The second judgment subunit is used to determine whether the harmonic distortion rate meets the preset distortion rate condition if the initial interpolation order is equal to the preset maximum order. The preset distortion rate condition includes that the harmonic distortion rate is less than the second distortion rate threshold and the duration of the harmonic distortion rate is not less than the preset time period.

[0152] The third update subunit is used to determine the target interpolation order based on the curve change rate, harmonic distortion rate and first distortion rate threshold if the harmonic distortion rate meets the preset distortion rate condition.

[0153] The fourth update sub-unit is used to determine the preset maximum order as the target interpolation order if the harmonic distortion rate does not meet the preset distortion rate condition.

[0154] Each module in the aforementioned measurement and control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0155] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 1 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a chip-level relay control method based on sampled data processing. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0156] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0157] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0158] Acquire multiple initial sampling data from the power system, and group these initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data;

[0159] Obtain the initial interpolation order, and perform interpolation processing on the first group of sampled data in multiple groups of sampled data according to the initial interpolation order to obtain the first group of sampled data after interpolation processing;

[0160] Based on the sampled data of the first group after interpolation and the sampled data of other groups that have not been interpolated in the multiple groups of sampled data, the initial interpolation order is updated to obtain the target interpolation order;

[0161] The target interpolation order is used as the new initial interpolation order, and the sampled data of the next group of the first group of sampled data is used as the new first group of sampled data. The process of interpolating the sampled data of the first group of sampled data in multiple groups according to the initial interpolation order is repeated until the sampled data of all groups are processed and multiple target sampled data are obtained.

[0162] The chip-level relay is controlled based on sampling data from multiple targets.

[0163] In one embodiment, the initial interpolation order is updated based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated, to obtain the target interpolation order. When the processor executes the computer program, it also implements the following steps:

[0164] Based on the sampled data of the first group after interpolation, and the sampled data of other groups in multiple groups that have not been interpolated, determine the curve change rate and harmonic distortion rate.

[0165] The initial interpolation order is updated based on the curve change rate and harmonic distortion rate to obtain the target interpolation order.

[0166] In one embodiment, based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups of sampled data, the curve change rate and harmonic distortion rate are determined. When the processor executes the computer program, it further performs the following steps:

[0167] Based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups of sampled data, determine the sampling period and the current sampling point;

[0168] Determine the rate of change of the curve based on the sampling period and the current sampling point;

[0169] The harmonic distortion rate is determined based on the first set of sampled data after interpolation, and the uninterpolated sampled data from other sets of sampled data.

[0170] In one embodiment, the rate of change of the curve is determined based on the sampling period and the current sampling point. When the processor executes the computer program, it also performs the following steps:

[0171] Get the number of sampling points from the current sampling point to the target zero-crossing point; the target zero-crossing point is the first zero-crossing point in the sampling period.

[0172] The rate of change of the curve is determined based on the number of sampling points and the sampling period.

[0173] In one embodiment, the initial interpolation order is updated based on the curve change rate and harmonic distortion rate to obtain the target interpolation order. When the processor executes the computer program, it also performs the following steps:

[0174] If the initial interpolation order is less than the preset maximum order, then determine whether the harmonic distortion rate is greater than the first distortion rate threshold.

[0175] If the harmonic distortion rate is not greater than the first distortion rate threshold, then the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold.

[0176] If the harmonic distortion rate is greater than the first distortion rate threshold, then the preset maximum order is determined as the target interpolation order.

[0177] In one embodiment, the initial interpolation order is updated based on the curve change rate and harmonic distortion rate to obtain the target interpolation order. When the processor executes the computer program, it also performs the following steps:

[0178] If the initial interpolation order is equal to the preset maximum order, then determine whether the harmonic distortion rate meets the preset distortion rate condition; the preset distortion rate condition includes that the harmonic distortion rate is less than the second distortion rate threshold and the duration of the harmonic distortion rate is not less than the preset time period.

[0179] If the harmonic distortion rate meets the preset distortion rate condition, then the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold.

[0180] If the harmonic distortion rate does not meet the preset distortion rate condition, then the preset maximum order will be determined as the target interpolation order.

[0181] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in any of the above embodiments.

[0182] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method in any of the above embodiments.

[0183] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0184] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0185] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A chip-level relay control method based on sampled data processing, characterized in that, The method includes: Acquire multiple initial sampling data from the power system, and group the multiple initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data; Obtain the initial interpolation order, and perform interpolation processing on the first group of sampled data in the multiple groups of sampled data according to the initial interpolation order to obtain the first group of sampled data after interpolation processing; Based on the sampled data of the first group after interpolation processing, and the sampled data of other groups of sampled data that have not been interpolated in the multiple groups of sampled data, the initial interpolation order is updated to obtain the target interpolation order; The target interpolation order is used as the new initial interpolation order, and the sampled data of the next group of the first group of sampled data is used as the new first group of sampled data. The process of interpolating the sampled data of the first group of the multiple groups of sampled data according to the initial interpolation order is repeated until the processing of all groups of sampled data is completed, and multiple target sampled data are obtained. The chip-level relay is controlled based on the multiple target sampling data.

2. The method according to claim 1, characterized in that, The step of updating the initial interpolation order based on the sampled data of the first group after interpolation processing and the sampled data of other groups of uninterpolated data in the multiple groups of sampled data to obtain the target interpolation order includes: Based on the sampled data of the first group after interpolation and the sampled data of other groups of sampled data that have not been interpolated, the curve change rate and harmonic distortion rate are determined. The initial interpolation order is updated based on the curve change rate and the harmonic distortion rate to obtain the target interpolation order.

3. The method according to claim 2, characterized in that, The step of determining the curve change rate and harmonic distortion rate based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups of sampled data in the plurality of groups includes: Based on the interpolated first group of sampled data and the uninterpolated sampled data from other groups of sampled data in the multiple groups, the sampling period and the current sampling point are determined. The rate of change of the curve is determined based on the sampling period and the current sampling point; The harmonic distortion rate is determined based on the first set of sampled data after interpolation and the sampled data of other sets of sampled data that have not been interpolated.

4. The method according to claim 3, characterized in that, Determining the rate of change of the curve based on the sampling period and the current sampling point includes: Obtain the number of sampling points that are currently sampling points away from the target zero-crossing point; the target zero-crossing point is the first zero-crossing point in the sampling period. The rate of change of the curve is determined based on the number of sampling points and the sampling period.

5. The method according to any one of claims 2-4, characterized in that, The step of updating the initial interpolation order based on the curve change rate and the harmonic distortion rate to obtain the target interpolation order includes: If the initial interpolation order is less than the preset maximum order, then it is determined whether the harmonic distortion rate is greater than the first distortion rate threshold. If the harmonic distortion rate is not greater than the first distortion rate threshold, then the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold. If the harmonic distortion rate is greater than the first distortion rate threshold, then the preset maximum order is determined as the target interpolation order.

6. The method according to any one of claims 2-4, characterized in that, The step of updating the initial interpolation order based on the curve change rate and the harmonic distortion rate to obtain the target interpolation order includes: If the initial interpolation order is equal to the preset maximum order, then it is determined whether the harmonic distortion rate meets the preset distortion rate condition; the preset distortion rate condition includes that the harmonic distortion rate is less than the second distortion rate threshold, and the duration of the harmonic distortion rate is not less than a preset time period. If the harmonic distortion rate satisfies the preset distortion rate condition, then the target interpolation order is determined based on the curve change rate, the harmonic distortion rate, and the first distortion rate threshold. If the harmonic distortion rate does not meet the preset distortion rate condition, then the preset maximum order is determined as the target interpolation order.

7. A measurement and control device, characterized in that, The device includes: The grouping module is used to acquire multiple initial sampling data of the power system and group the multiple initial sampling data according to the time sequence from front to back to obtain multiple groups of sampling data; The first interpolation processing module is used to obtain an initial interpolation order and perform interpolation processing on the sampled data of the first group among the multiple groups of sampled data according to the initial interpolation order to obtain the sampled data of the first group after interpolation processing. The update module is used to update the initial interpolation order based on the sampled data of the first group after interpolation processing and the sampled data of other groups of sampled data that have not been interpolated in the multiple groups of sampled data, so as to obtain the target interpolation order. The second interpolation processing module is used to take the target interpolation order as the new initial interpolation order, and take the sampled data of the next group of the sampled data of the first group as the new sampled data of the first group, and return to execute the step of interpolating the sampled data of the first group of the multiple groups of sampled data according to the initial interpolation order, until the processing of all groups of sampled data is completed, and multiple target sampled data are obtained. The control module is used to control the chip-level relays based on the sampled data from the multiple targets.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.