Current sampling method and device of current transformer in nonlinear region

By preprocessing the current parameters of the current transformer and correcting the model, the problem of current sampling accuracy in the nonlinear region of the current transformer is solved, thereby improving the accuracy and stability of power metering.

CN118858732BActive Publication Date: 2026-11-24SHENZHEN CLOU ELECTRONICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410726049.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2026-11-24
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Current transformers suffer from accuracy and stability issues in current sampling in the nonlinear region, leading to decreased accuracy and reliability in power metering.

Method used

Preprocessing is performed by acquiring the current parameter information of the current transformer to generate preprocessed information. The nonlinear secondary current is corrected using a preset sampling correction model and target correction coefficients. Error compensation is performed using the first correction formula and polynomial fitting algorithm.

Benefits of technology

This improves the current sampling accuracy of current transformers in the nonlinear region, reduces metering errors, and enhances the stability and reliability of the power metering system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118858732B_ABST
    Figure CN118858732B_ABST
Patent Text Reader

Abstract

This application relates to the field of power systems and discloses a method, apparatus, computer equipment, and storage medium for sampling current in the nonlinear region of a current transformer. The method includes acquiring current parameter information of a target current transformer and preprocessing the current parameter information to generate preprocessed information; determining a target correction coefficient based on a preset sampling correction model and the preprocessed information; and correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate a corrected current of the target current transformer in the nonlinear region. Through this method, this application, by preprocessing the rated parameters of the target current transformer, determining the target correction coefficient using a sampling correction model and preprocessed information, and then correcting the nonlinear secondary current using the target correction coefficient, refines the control of errors caused by nonlinear characteristics and improves the accuracy of the current in the nonlinear region of the current transformer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power systems, and in particular to a current sampling method, device, computer equipment, and storage medium for a current transformer in the nonlinear region. Background Technology

[0002] Current transformers are sensors used to detect and measure current in circuits. They have a current range from tens to thousands of amperes and are crucial current signal acquisition devices in electricity metering systems. Due to factors such as the magnetic materials and coil structure of current transformers, their output signals often exhibit certain nonlinear characteristics. This nonlinearity is mainly manifested in the relationship between the output signal and the input current not being a linear function, but rather showing a certain deviation and distortion. The impact of the nonlinear characteristics of current transformers on electricity metering systems is mainly reflected in the following aspects: 1. The nonlinear characteristics of current transformers cause a certain deviation and distortion between their output signal and input current, which directly affects the accuracy of the electricity metering system, leading to metering errors; 2. Nonlinear characteristics cause instability in the output signal of current transformers, affecting the stability of the electricity metering system. This may lead to the continuous accumulation of metering errors over long-term operation, affecting the reliability of metering results; 3. Nonlinear characteristics also affect the reliability of current transformers, potentially shortening their lifespan and impacting the reliability and stability of the entire electricity metering system. Therefore, improving the accuracy of current in the nonlinear region of current transformers has become an urgent technical problem to be solved. Summary of the Invention

[0003] This application provides a current sampling method, device, computer equipment, and storage medium for a current transformer in the nonlinear region, so as to improve the accuracy of the current in the nonlinear region of the current transformer.

[0004] In a first aspect, this application provides a current sampling method for a current transformer in the nonlinear region, the method comprising:

[0005] Obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessed information;

[0006] The target correction coefficient is determined based on the preset sampling correction model and the preprocessed information;

[0007] Based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate the corrected current of the target current transformer in the nonlinear region.

[0008] Further, based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate a corrected current for the target current transformer in the nonlinear region, including:

[0009] If the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold, the nonlinear secondary current is corrected using a first correction formula and the target correction coefficient.

[0010] The first correction formula is I compensated =I1+k*(I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient.

[0011] Furthermore, based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate a corrected current for the target current transformer in the nonlinear region, which further includes:

[0012] If the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold, the nonlinear secondary current is corrected by a polynomial fitting algorithm and the target correction coefficient.

[0013] The polynomial fitting algorithm is as follows: I compensated = I1 + a1(I2 - I1) + a2(I2 - I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1) n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current.

[0014] Further, based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected. Before generating the corrected current of the target current transformer in the nonlinear region, the following steps are included:

[0015] Calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer;

[0016] If the initial secondary current of the target current transformer is greater than the saturation current value, the initial current is determined as the nonlinear secondary current.

[0017] The preset saturation current calculation formula is as follows: Among them, I satLet μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 and N2 are the magnetic flux density of the target current transformer, respectively, and the number of turns of the coil of the target current transformer.

[0018] Further, before determining the target correction coefficient based on the preset sampling correction model and the preprocessed information, the following steps are included:

[0019] Obtain at least one set of data from the test current transformer;

[0020] The initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model.

[0021] Further, the initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model, including:

[0022] Calculate the secondary current test value of the test current transformer based on the rated parameters of the test current transformer and the primary current test value of the test current transformer.

[0023] The actual value of the secondary side current is acquired by the test current transformer. Based on the actual value of the secondary side current and the test value of the secondary side current, a test correction coefficient is determined. The actual value of the secondary side current is the nonlinear region current value of the test current transformer.

[0024] Based on the test correction coefficients and the test magnetic field strengths, the test current transformers are classified, and the preset sampling correction model under magnetic field saturation is established.

[0025] Further, the current parameter information of the target current transformer is obtained, and the current parameter information is preprocessed to generate preprocessed information, including:

[0026] Obtain the current temperature information and the current magnetic field strength information;

[0027] The current temperature information and the current magnetic field strength information are standardized respectively to obtain standardized temperature information and standardized magnetic field strength information under the same dimension.

[0028] Extract the current features of the standardized temperature information and the standardized magnetic field strength information, and use the current features as the preprocessing information.

[0029] Secondly, this application also provides a current sampling device for a current transformer in the nonlinear region, the device comprising:

[0030] The preprocessing information generation module is used to obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessing information;

[0031] The target correction coefficient determination module is used to determine the target correction coefficient based on the preset sampling correction model and the preprocessed information;

[0032] The corrected current module is used to correct the nonlinear secondary current of the target current transformer based on the target correction coefficient, and generate the corrected current of the target current transformer in the nonlinear region.

[0033] Thirdly, this application also provides a computer device, the computer device including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and, when executing the computer program, implement the current sampling method of the current transformer in the nonlinear region as described above.

[0034] Fourthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the current sampling method for a current transformer in the nonlinear region as described above.

[0035] This application discloses a current sampling method, apparatus, computer device, and storage medium for a current transformer in the nonlinear region. The current sampling method for a current transformer in the nonlinear region includes acquiring the current parameter information of a target current transformer, preprocessing the current parameter information to generate preprocessed information, determining a target correction coefficient based on a preset sampling correction model and the preprocessed information, and correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate a corrected current for the target current transformer in the nonlinear region. Through this method, this application, by preprocessing the rated parameters of the target current transformer, determining the target correction coefficient through a sampling correction model and preprocessed information, and then correcting the nonlinear secondary current using the target correction coefficient, finely controls the error caused by nonlinear characteristics, thereby improving the accuracy of the current in the nonlinear region of the current transformer. Attached Figure Description

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

[0037] Figure 1 This is a schematic flowchart of a current sampling method for a current transformer in the nonlinear region provided by an embodiment of this application;

[0038] Figure 2 A schematic block diagram of a current sampling device for a current transformer in the nonlinear region, provided for embodiments of this application;

[0039] Figure 3 A schematic block diagram of the structure of a computer device provided for an embodiment of this application. Detailed Implementation

[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0041] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0042] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0043] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0044] This application provides a method, apparatus, computer device, and storage medium for sampling the current of a current transformer in the nonlinear region. The current sampling method for the current transformer in the nonlinear region can be applied to a server. After preprocessing the rated parameters of the target current transformer, a target correction coefficient is determined using a sampling correction model and preprocessed information. This target correction coefficient is then used to correct the nonlinear secondary current, finely controlling the error caused by the nonlinear characteristics and improving the accuracy of the current in the nonlinear region of the current transformer. The server can be a standalone server or a server cluster.

[0045] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0046] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a current sampling method for a current transformer in the nonlinear region, provided by an embodiment of this application. This current sampling method for a current transformer in the nonlinear region can be applied in a server. It involves preprocessing the rated parameters of the target current transformer, determining the target correction coefficient using a sampling correction model and preprocessed information, and then using the target correction coefficient to correct the nonlinear secondary current. This refined control of errors caused by nonlinear characteristics improves the accuracy of the current in the nonlinear region of the current transformer.

[0047] like Figure 1 As shown, the current sampling method of the current transformer in the nonlinear region specifically includes steps S10 to S30.

[0048] Step S10: Obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessed information;

[0049] In one embodiment, preprocessing the target temperature information and target magnetic field strength is a crucial step in the current sampling method for current transformers, as it directly affects the accuracy of the current sampling correction model and the precision of energy metering. The following are the general steps for preprocessing the target temperature information and target magnetic field strength:

[0050] Data collection:

[0051] Collect temperature information and magnetic field strength data of the target current transformer under different operating conditions.

[0052] Data cleaning:

[0053] Remove outliers: Inspect the dataset for outliers or erroneous data and remove them from the dataset.

[0054] Imputing missing values: For missing data, interpolation or statistical methods can be used to impute them.

[0055] Data standardization:

[0056] Temperature information and magnetic field strength data are standardized to give them uniform dimensions and numerical ranges, which facilitates subsequent processing.

[0057] Feature extraction:

[0058] Extract useful features from the raw data, such as the rate of temperature change and the trend of magnetic field strength.

[0059] Data transformation:

[0060] Mathematical transformations, such as Fourier transform and wavelet transform, are applied to facilitate the analysis of the frequency domain characteristics of the data.

[0061] Model building:

[0062] Establish a model of the relationship between temperature, magnetic field strength and current error using statistical or machine learning methods.

[0063] Model training:

[0064] The model established above is trained using historical data to determine the model parameters.

[0065] Model validation:

[0066] The accuracy and generalization ability of the model are verified through methods such as cross-validation.

[0067] Real-time monitoring:

[0068] In practical applications, the temperature and magnetic field strength of the current transformer are monitored in real time, and the data is processed using a preprocessing model.

[0069] Anomaly detection:

[0070] Implement a real-time anomaly detection mechanism to identify and respond to anomalies that may affect the accuracy of current sampling.

[0071] Data fusion:

[0072] If multiple sensors provide temperature and magnetic field strength data, data fusion is required to obtain more accurate preprocessing information.

[0073] Output preprocessing information:

[0074] The preprocessed information is output as the input to the current sampling correction model.

[0075] Step S20: Determine the target correction coefficient based on the preset sampling correction model and the preprocessed information;

[0076] In one embodiment, a correction coefficient is calculated using a trained model based on real-time or near-real-time target temperature information and target magnetic field strength.

[0077] Step S30: Based on the target correction coefficient, correct the nonlinear secondary current of the target current transformer to generate the corrected current of the target current transformer in the nonlinear region.

[0078] In one embodiment, the calculated correction coefficient is applied to the secondary current measurement of the target current transformer to compensate for nonlinear errors.

[0079] Magnetic field compensation for current transformers is a crucial technique for ensuring accurate current measurement. Based on search results, the following are several methods for magnetic field compensation in current transformers:

[0080] Turns compensation method: This method mainly compensates for the secondary winding. By reducing the number of turns in the secondary winding, the ratio error of the current transformer can be adjusted, thereby improving measurement accuracy. This method has almost no effect on the phase angle error, but it has a significant impact on the ratio error.

[0081] Active compensation scheme: In some cases, current transformers may need to adapt to environments with large load variations. The proposed active compensation scheme, by combining similarity and response number similarity with a holistic active compensation method for the current transformer, can improve measurement accuracy.

[0082] Magnetic valve type electromagnetic current transformer: This type of current transformer uses an iron core with a magnetic valve structure and a magnetic field sensor, which improves its anti-saturation capability. This structure is similar to traditional electromagnetic current transformers, and it has lower cost and better practical engineering application value.

[0083] DC bias compensation: DC bias can affect the measurement and metering accuracy of current transformers. Studying the impact of DC bias on the transmission characteristics of current transformers and researching related compensation measures are important measures to ensure fairness in the electricity market.

[0084] Auxiliary core compensation: For high-precision miniature current transformers, auxiliary cores can be used for compensation. This method can compensate for both phase difference and phase angle difference, but it requires auxiliary means such as double windings and double cores.

[0085] Current transformer based on active external magnetic field compensation: This method adds two pairs of mutually orthogonal measuring windings and compensation windings to the traditional current transformer, and realizes magnetic field compensation through two active external magnetic field compensation circuits.

[0086] This embodiment discloses a current sampling method, apparatus, computer device, and storage medium for a current transformer in the nonlinear region. The current sampling method for the current transformer in the nonlinear region includes acquiring the current parameter information of the target current transformer, preprocessing the current parameter information to generate preprocessed information, determining a target correction coefficient based on a preset sampling correction model and the preprocessed information, and correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate a corrected current for the target current transformer in the nonlinear region. Through the above method, this application, by preprocessing the rated parameters of the target current transformer, determining the target correction coefficient through a sampling correction model and preprocessed information, and then correcting the nonlinear secondary current using the target correction coefficient, refines the control of errors caused by nonlinear characteristics and improves the accuracy of the current in the nonlinear region of the current transformer.

[0087] based on Figure 1 In the illustrated embodiment, step S30 includes:

[0088] If the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold, the nonlinear secondary current is corrected using a first correction formula and the target correction coefficient.

[0089] The first correction formula is I compensated =I1+k*(I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient.

[0090] based on Figure 1 In the illustrated embodiment, step S30 further includes:

[0091] If the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold, the nonlinear secondary current is corrected by a polynomial fitting algorithm and the target correction coefficient.

[0092] The polynomial fitting algorithm is as follows: I compensated = I1 + a1(I2 - I1) + a2(I2 - I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1) n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current.

[0093] Specifically, when a current transformer is operating normally, there is a linear relationship between the primary and secondary currents, meaning the primary current is directly proportional to the secondary current. However, when the primary current exceeds the rated current of the current transformer, the transformer enters the nonlinear region, and the linear relationship between the primary and secondary currents is broken.

[0094] To determine whether a current transformer is in the nonlinear region, the following methods can be used:

[0095] Current measurement: Directly measure the current on the primary and secondary sides. If the primary side current is found to be much greater than the secondary side current, or the secondary side current does not increase with the increase of the primary side current, it may indicate that the transformer has entered the nonlinear region.

[0096] Error analysis: By comparing the actual measured value with the theoretical calculated value (based on the rated transformation ratio of the transformer), if the error is found to exceed the accuracy class of the transformer, it may mean that the transformer is in the nonlinear region.

[0097] Periodic Interval Detection: According to the description, when a current transformer is saturated, there is a periodic interval repetition between the linear transmission region and the saturation region within each power frequency cycle, and the interval between the linear transmission regions is usually shorter than 1 / 2 power frequency cycle. By detecting this periodic interval, it can be determined whether the transformer is in the nonlinear region.

[0098] Harmonic analysis: When a current transformer enters the nonlinear region, additional harmonics may be generated. By analyzing the spectrum of the current signal, if abnormal harmonic components are found, it may indicate that the transformer is operating in the nonlinear region.

[0099] Protection device response: In power systems, current transformers are typically used in conjunction with relay protection devices. If the protection device fails to respond correctly to a fault current, it may be because the transformer has entered the nonlinear region, resulting in inaccurate current signals received by the protection device.

[0100] based on Figure 1 In the illustrated embodiment, before step S30, the following steps are included:

[0101] Calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer;

[0102] If the initial secondary current of the target current transformer is greater than the saturation current value, the initial current is determined as the nonlinear secondary current.

[0103] The preset saturation current calculation formula is as follows: Among them, I satLet μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 and N2 are the magnetic flux density of the target current transformer, respectively, and the number of turns of the coil of the target current transformer.

[0104] Specifically, the saturation current of a current transformer can be estimated using the following steps:

[0105] Step 1: Determine the saturation magnetic flux density Bm of the core material (the unit is usually T, i.e., Tesla).

[0106] Step 2: Calculate the effective cross-sectional area A of the magnetic circuit (unit: m²). 2 ).

[0107] Step 3: Determine the total length l of the magnetic circuit (in meters).

[0108] Step 4: Calculate the magnetic permeability μ of the current transformer using the following formula: Where μ0 is the permeability of vacuum, approximately equal to 4π × 10⁻⁶. -7 H / m, g is the length of the air gap (in meters).

[0109] Step 5: Based on the design of the current transformer, determine the number of turns N1 and N2 of the primary and secondary windings.

[0110] Step 6: Calculate the saturation current of the current transformer using the following formula.

[0111] based on Figure 1 In the illustrated embodiment, before step S20, the following steps are included:

[0112] Obtain at least one set of data from the test current transformer;

[0113] The initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model.

[0114] Specifically, training an initial sampling correction model based on data from a test current transformer can be roughly achieved through the following steps: Collect test data from the current transformer under different operating conditions, including but not limited to input and output data under varying current magnitudes, frequencies, and load changes. Clean the collected data, removing outliers and noise, and perform necessary data transformations, such as normalization, to suit the needs of model training. Select useful features from the preprocessed data; these features may include current magnitude, frequency, and load changes. Choose an appropriate algorithm based on the nature of the problem, such as neural networks, support vector machines, or decision trees, to establish an initial sampling correction model, and train the model using the collected data. During training, the dataset is typically divided into training and testing sets to evaluate the model's performance. After training and validation, a well-performing sampling correction model is obtained and can be saved as a preset model for subsequent current transformer sampling correction. Deploy the trained preset model to practical applications to correct the current transformer's sampling data in real time.

[0115] More preferably, the initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model, including:

[0116] Calculate the secondary current test value of the test current transformer based on the rated parameters of the test current transformer and the primary current test value of the test current transformer.

[0117] The actual value of the secondary side current is acquired by the test current transformer. Based on the actual value of the secondary side current and the test value of the secondary side current, a test correction coefficient is determined. The actual value of the secondary side current is the nonlinear region current value of the test current transformer.

[0118] Based on the test correction coefficients and the test magnetic field strengths, the test current transformers are classified, and the preset sampling correction model under magnetic field saturation is established.

[0119] Specifically, a series of test data are collected, including parameters such as the primary current, secondary current, magnetic field strength, and temperature of the current transformer. The magnetic field strength in the test data is analyzed to determine the threshold for magnetic field saturation. Magnetic field saturation typically occurs when the magnetic field strength reaches a certain level, at which point the core material of the current transformer reaches a saturated state, leading to nonlinear errors. Based on whether the magnetic field strength exceeds the preset saturation threshold, the test data is divided into two categories: saturated and non-saturated states. For data in the saturated state, a correction model is established. This model may be based on a physical model, empirical formulas, or a data-driven model (such as polynomials, neural networks, etc.). The parameters of the correction model are determined using the test data in the saturated state, involving techniques such as curve fitting and parameter optimization. The accuracy and effectiveness of the correction model are verified by comparing it with the primary and secondary currents in the test data. For each test sample, correction coefficients are calculated based on the correction model. The correction coefficients can be a scalar or a function, depending on the complexity of the model.

[0120] Based on any of the above embodiments, in this embodiment, step S10 includes:

[0121] Obtain the current temperature information and the current magnetic field strength information;

[0122] The current temperature information and the current magnetic field strength information are standardized respectively to obtain standardized temperature information and standardized magnetic field strength information under the same dimension.

[0123] Extract the current features of the standardized temperature information and the standardized magnetic field strength information, and use the current features as the preprocessing information.

[0124] Please see Figure 2 , Figure 2 This application provides a schematic block diagram of a current sampling device for a current transformer in the nonlinear region, which is used to perform the aforementioned current sampling method for a current transformer in the nonlinear region. The current sampling device for the current transformer in the nonlinear region can be configured on a server.

[0125] like Figure 2 As shown, the current sampling device 400 for the current transformer in the nonlinear region includes:

[0126] The preprocessing information generation module 410 is used to obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessing information;

[0127] The target correction coefficient determination module 420 is used to determine the target correction coefficient based on the preset sampling correction model and the preprocessed information;

[0128] The corrected current module 430 is used to correct the nonlinear secondary current of the target current transformer based on the target correction coefficient, and generate the corrected current of the target current transformer in the nonlinear region.

[0129] Furthermore, the corrected current module 430 includes:

[0130] The first correction unit is used to correct the nonlinear secondary current by means of a first correction formula and the target correction coefficient when the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold.

[0131] The first correction formula is I compensated =I1+k*(I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient.

[0132] Furthermore, the corrected current module 430 also includes:

[0133] The second correction unit is used to correct the nonlinear secondary current by using a polynomial fitting algorithm and the target correction coefficient when the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold.

[0134] The polynomial fitting algorithm is as follows: I compensated = I1 + a1(I2 - I1) + a2(I2 - I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1) n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current.

[0135] Furthermore, the current sampling device 400 for the current transformer in the nonlinear region further includes:

[0136] The saturation current value determination module is used to calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer.

[0137] A nonlinear secondary current determination module is used to determine the initial current as the nonlinear secondary current when the original secondary current of the target current transformer is greater than the saturation current value.

[0138] The preset saturation current calculation formula is as follows: Among them, I sat Let μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 and N2 are the magnetic flux density of the target current transformer, respectively, and the number of turns of the coil of the target current transformer.

[0139] Furthermore, the current sampling device 400 for the current transformer in the nonlinear region includes:

[0140] A test current transformer data acquisition module is used to acquire data from at least one set of test current transformers.

[0141] The sampling correction model generation module is used to train the initial sampling correction model based on the data of each of the test current transformers, and generate the preset sampling correction model.

[0142] Furthermore, the sampling correction model generation module includes:

[0143] The secondary current test value calculation unit is used to calculate the secondary current test value of the test current transformer based on the rated parameters of the test current transformer and the primary current test value of the test current transformer.

[0144] The test correction coefficient determination unit is used to collect the actual value of the secondary side current through the test current transformer, and determine the test correction coefficient based on the actual value of the secondary side current and the test value of the secondary side current, wherein the actual value of the secondary side current is the nonlinear region current value of the test current transformer;

[0145] The sampling correction model generation unit is used to classify each of the test current transformers based on each of the test correction coefficients and each of the test magnetic field strengths, and to establish the preset sampling correction model under the magnetic field saturation state.

[0146] Furthermore, the preprocessing information generation module 410 includes:

[0147] The current parameter information acquisition unit is used to acquire the current temperature information and the current magnetic field strength information;

[0148] The standardization processing unit is used to standardize the current temperature information and the current magnetic field strength information respectively to obtain standardized temperature information and standardized magnetic field strength information under the same dimension.

[0149] The preprocessing information determination unit is used to extract the current features of the standardized temperature information and the standardized magnetic field strength information, and use the current features as the preprocessing information.

[0150] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the above-described apparatus and modules can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0151] The aforementioned apparatus can be implemented as a computer program, which can be used in, for example... Figure 3 It runs on the computer device shown.

[0152] Please see Figure 3 , Figure 3 This is a schematic block diagram illustrating the structure of a computer device according to an embodiment of this application. The computer device may be a server.

[0153] See Figure 3 The computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include non-volatile storage media and internal memory.

[0154] Non-volatile storage media can store operating systems and computer programs. These computer programs include program instructions that, when executed, cause the processor to perform any current sampling method for the current transformer in the non-linear region.

[0155] The processor provides computing and control capabilities, supporting the operation of the entire computer device.

[0156] The internal memory provides an environment for the execution of computer programs in non-volatile storage media. When the computer program is executed by the processor, it enables the processor to execute any current sampling method of the current transformer in the nonlinear region.

[0157] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 3 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.

[0158] It should be understood that the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, a general-purpose processor can be a microprocessor or any conventional processor.

[0159] In one embodiment, the processor is configured to run a computer program stored in memory to perform the following steps:

[0160] Obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessed information;

[0161] The target correction coefficient is determined based on the preset sampling correction model and the preprocessed information;

[0162] Based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate the corrected current of the target current transformer in the nonlinear region.

[0163] In one embodiment, before determining the target correction coefficient based on the preset sampling correction model and the preprocessing information, the following steps are taken:

[0164] Obtain at least one set of data from the test current transformer;

[0165] The initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model.

[0166] In one embodiment, an initial sampling correction model is trained based on data from each of the test current transformers to generate the preset sampling correction model, which is used to achieve:

[0167] Calculate the secondary current test value of the test current transformer based on the rated parameters of the test current transformer and the primary current test value of the test current transformer.

[0168] The actual value of the secondary side current is acquired by the test current transformer. Based on the actual value of the secondary side current and the test value of the secondary side current, a test correction coefficient is determined. The actual value of the secondary side current is the nonlinear region current value of the test current transformer.

[0169] Based on the test correction coefficients and the test magnetic field strengths, the test current transformers are classified, and the preset sampling correction model under magnetic field saturation is established.

[0170] In one embodiment, the current parameter information of the target current transformer is obtained, and the current parameter information is preprocessed to generate preprocessed information for the purpose of:

[0171] Obtain the current temperature information and the current magnetic field strength information;

[0172] The current temperature information and the current magnetic field strength information are standardized respectively to obtain standardized temperature information and standardized magnetic field strength information under the same dimension.

[0173] Extract the current features of the standardized temperature information and the standardized magnetic field strength information, and use the current features as the preprocessing information.

[0174] In one embodiment, based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate a corrected current for the target current transformer in the nonlinear region, for the purpose of:

[0175] If the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold, the nonlinear secondary current is corrected using a first correction formula and the target correction coefficient.

[0176] The first correction formula is I compensated =I1+k*(I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient.

[0177] In one embodiment, based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate a corrected current for the target current transformer in the nonlinear region. This process is also used to achieve:

[0178] If the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold, the nonlinear secondary current is corrected by a polynomial fitting algorithm and the target correction coefficient.

[0179] The polynomial fitting algorithm is as follows: I compensated = I1 + a1(I2 - I1) + a2(I2 - I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1)n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current.

[0180] In one embodiment, before correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient and generating the corrected current of the target current transformer in the nonlinear region, the following is performed:

[0181] Calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer;

[0182] If the initial secondary current of the target current transformer is greater than the saturation current value, the initial current is determined as the nonlinear secondary current.

[0183] The preset saturation current calculation formula is as follows: Among them, I sat Let μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 and N2 are the magnetic flux density of the target current transformer, respectively, and the number of turns of the coil of the target current transformer.

[0184] The embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions, and the processor executing the program instructions to implement any of the current sampling methods for current transformers in the nonlinear region provided in the embodiments of this application.

[0185] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiments, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the computer device.

[0186] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A current sampling method for a current transformer in the nonlinear region, characterized in that, include: Obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessed information; The target correction coefficient is determined based on the preset sampling correction model and the preprocessed information; Based on the target correction coefficient, the nonlinear secondary current of the target current transformer is corrected to generate the corrected current of the target current transformer in the nonlinear region. The step of correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate a corrected current for the target current transformer in the nonlinear region includes: If the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold, the nonlinear secondary current is corrected using a first correction formula and the target correction coefficient. The first correction formula is I compensated =I1+k (I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient. The step of correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate a corrected current for the target current transformer in the nonlinear region further includes: If the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold, the nonlinear secondary current is corrected by a polynomial fitting algorithm and the target correction coefficient. The polynomial fitting algorithm is as follows: I compensated =I1+a1(I2-I1)+a2(I2-I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1) n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current. Before correcting the nonlinear secondary current of the target current transformer based on the target correction coefficient to generate the corrected current of the target current transformer in the nonlinear region, the process includes: Calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer; If the original secondary current of the target current transformer is greater than the saturation current value, the original secondary current is determined to be the nonlinear secondary current. The preset saturation current calculation formula is as follows: , , among which, I sat Let μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 represents the magnetic flux density of the target current transformer, and N2 represents the number of turns in the primary and secondary windings of the target current transformer, respectively.

2. The current sampling method for a current transformer in the nonlinear region according to claim 1, characterized in that, Before determining the target correction coefficient based on the preset sampling correction model and the preprocessed information, the following steps are included: Obtain at least one set of data from the test current transformer; The initial sampling correction model is trained based on the data from each of the test current transformers to generate the preset sampling correction model.

3. The current sampling method for a current transformer in the nonlinear region according to claim 2, characterized in that, The data from the test current transformer includes the test magnetic field strength. The process of training an initial sampling correction model based on the data from each of the test current transformers to generate the preset sampling correction model includes: Calculate the secondary current test value of the test current transformer based on the rated parameters of the test current transformer and the primary current test value of the test current transformer. The actual value of the secondary side current is acquired by the test current transformer. Based on the actual value of the secondary side current and the test value of the secondary side current, a test correction coefficient is determined. The actual value of the secondary side current is the nonlinear region current value of the test current transformer. Based on the test correction coefficients and the test magnetic field strengths, the test current transformers are classified, and the preset sampling correction model under magnetic field saturation is established.

4. The current sampling method for a current transformer in the nonlinear region according to any one of claims 1 to 3, characterized in that, The current parameter information includes current temperature information and current magnetic field strength information. The process of acquiring the current parameter information of the target current transformer and preprocessing the current parameter information to generate preprocessed information includes: Obtain the current temperature information and the current magnetic field strength information; The current temperature information and the current magnetic field strength information are standardized respectively to obtain standardized temperature information and standardized magnetic field strength information under the same dimension. Extract the current features of the standardized temperature information and the standardized magnetic field strength information, and use the current features as the preprocessing information.

5. A current sampling device for a current transformer in the nonlinear region, characterized in that, include: The preprocessing information generation module is used to obtain the current parameter information of the target current transformer, and preprocess the current parameter information to generate preprocessing information; The target correction coefficient determination module is used to determine the target correction coefficient based on the preset sampling correction model and the preprocessed information; The correction current module is used to correct the nonlinear secondary current of the target current transformer based on the target correction coefficient, and generate the correction current of the target current transformer in the nonlinear region. The corrected current module further includes a first correction unit, used for: If the difference between the linear secondary current and the nonlinear secondary current is less than a preset threshold, the nonlinear secondary current is corrected using a first correction formula and the target correction coefficient. The first correction formula is I compensated =I1+k (I2-I1), where I compensated I1 is the corrected current, I2 is the nonlinear secondary current, I2 is the linear secondary current, and k is the target correction coefficient. The corrected current module further includes a second corrected unit, used for: If the difference between the linear secondary current and the nonlinear secondary current is greater than or equal to the preset threshold, the nonlinear secondary current is corrected by a polynomial fitting algorithm and the target correction coefficient. The polynomial fitting algorithm is as follows: I compensated =I1+a1(I2-I1)+a2(I2-I1) 2 +a3(I2-I1) 3 +……+a n (I2-I1) n , among which, I compensated Let a1, a2, ..., a be the corrected currents. n I1 is the target correction coefficient, I2 is the nonlinear secondary current, and I2 is the linear secondary current. The current sampling device further includes a saturation current value determination module, used for: Calculate the saturation current value of the target current transformer based on the preset saturation current calculation formula and the parameters of the target current transformer; If the original secondary current of the target current transformer is greater than the saturation current value, the original secondary current is determined to be the nonlinear secondary current. The preset saturation current calculation formula is as follows: , , Among them, I sat Let μ be the saturation current value, μ be the magnetic permeability of the target current transformer, μ0 be the free permeability, l be the total length of the magnetic circuit of the target current transformer, A be the effective area of ​​the magnetic circuit of the target current transformer, g be the air gap length, and B be the saturation current value. m N1 represents the magnetic flux density of the target current transformer, and N2 represents the number of turns in the primary and secondary windings of the target current transformer, respectively.

6. A computer device, characterized in that, The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and, in executing the computer program, implement the current sampling method of the current transformer in the nonlinear region as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the current sampling method for a current transformer in the nonlinear region as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Current sampling method and device of current transformer in non-linear region, and medium

    CN117607520A