Current compensation method and device, computer equipment, storage medium and program product
By obtaining the target voltage value and calculating the current compensation coefficient in the array tunnel magnetoresistive current sensor, the problem of inaccurate current measurement caused by the position deviation of the current-carrying conductor is solved and higher measurement accuracy is achieved.
Patent Information
- Application Number
- CN202411538869.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-01-24
AI Technical Summary
When the array tunnel magnetoresistive current sensor is offset at the position of the current-carrying conductor, there is a problem of inaccurate current measurement.
By obtaining multiple target voltage values output by the circular current sensor, multiple current compensation coefficients are determined according to the measurement parameters and target voltage values of the load conductor, and the current value after compensation is calculated to improve the accuracy of the measurement.
This method can accurately correct and compensate for the current measurement error caused by the carrier conductor departing the center of the array, and improve the accuracy and accuracy of the current measurement.
Smart Images

Figure CN119355345A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of current measurement, and in particular to a current compensation method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] Current sensors play an important role in the power supply and distribution systems of launch vehicles, aircraft and ships. Their high precision, small size and anti-interference ability are key technical indicators. Usually, array current sensors are used to measure the current of the current-carrying conductor located at the center of the array current sensor, for example, array tunnel magnetoresistance current sensors based on tunnel magnetoresistance devices.
[0003] However, when the current-carrying conductor is shifted in position, the array tunnel magnetoresistive current sensor has the problem of inaccurate current measurement of the current-carrying conductor. Summary of the invention
[0004] Based on this, it is necessary to provide a current compensation method, device, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of current measurement of a current-carrying conductor in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a current compensation method. The method comprises:
[0006] In the process of the circumferential array current sensor measuring the current of an eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor;
[0007] determining a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and the plurality of target voltage values;
[0008] The compensated current value corresponding to the eccentric current-carrying conductor is determined according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients.
[0009] In one embodiment, determining the compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients includes:
[0010] Determining an average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values;
[0011] Determine a ratio between the sum of the plurality of current compensation coefficients and the number of the circumferential array current sensors as an average current compensation coefficient;
[0012] The ratio between the average sampled current value and the average current compensation coefficient is determined as the compensated current value.
[0013] In one embodiment, determining the average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values includes:
[0014] performing differential amplification processing on the plurality of target voltage values according to a plurality of differential amplification circuits to obtain a plurality of differentially amplified target voltage values;
[0015] Obtaining a plurality of sampling current values according to the plurality of differentially amplified target voltage values and a resistance value corresponding to the differential amplification circuit;
[0016] The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as the average sampled current value.
[0017] In one embodiment, determining a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and the plurality of target voltage values comprises:
[0018] Determine a corresponding plurality of target current values according to the plurality of target voltage values;
[0019] Determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the plurality of target current values and the measurement parameters;
[0020] The multiple current compensation coefficients are determined according to the multiple first magnetic induction intensities and the multiple target current values.
[0021] In one embodiment, the measurement parameters include:
[0022] An offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array, wherein the offset distance is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0023] A measuring angle between each current sensor in the circumferential array of current sensors and the position of the eccentric current-carrying conductor and the center of the circumferential array.
[0024] In one embodiment, determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the plurality of target current values and the measurement parameters comprises:
[0025] For each of the current sensors, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle and the radius of the circumferential array;
[0026] Determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the sampled current value;
[0027] Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor;
[0028] A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the sampled current value.
[0029] In a second aspect, the present application also provides a current compensation device. The device comprises:
[0030] An acquisition module, used for acquiring a plurality of target voltage values output by the circumferential array current sensor during a process in which the circumferential array current sensor measures a current on an eccentric current-carrying conductor, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of a circumferential array corresponding to the circumferential array current sensor;
[0031] A first determination module, configured to determine a plurality of current compensation coefficients according to the measurement parameters of the eccentric current-carrying conductor and the plurality of target voltage values;
[0032] The second determination module is used to determine the compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients.
[0033] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0035] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0036] The above-mentioned current compensation method, device, computer equipment, computer-readable storage medium and computer program product, the server obtains multiple target voltage values output by the circumferential array current sensor during the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, the eccentric current-carrying conductor is a current-carrying conductor that is offset from the circumferential array center corresponding to the circumferential array current sensor, and then, according to the measurement parameters of the eccentric current-carrying conductor and the multiple target voltage values, multiple current compensation coefficients are determined. Since the current compensation coefficient is determined based on the measurement parameters of the eccentric current-carrying conductor and the multiple target voltage values, it is possible to accurately correct and compensate for the current value that is inaccurately measured due to the eccentric current-carrying conductor deviating from the circumferential array center of the circumferential array current sensor. Then, according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients, the compensated current value corresponding to the eccentric current-carrying conductor is determined, and the current value measured by the circumferential array current sensor can be accurately compensated, thereby improving the accuracy and precision of the circumferential array current sensor measurement, and then improving the accuracy of the current measurement of the current-carrying conductor. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] FIG1 is a diagram showing an application environment of a current compensation method according to an embodiment;
[0039] FIG2 is a schematic diagram of a flow chart of a current compensation method in one embodiment;
[0040] FIG3 is a schematic diagram of a circumferential array current sensor in one embodiment;
[0041] FIG4 is a schematic diagram of a flow chart of step 203 in one embodiment;
[0042] FIG5 is a schematic diagram of a flow chart of step 301 in one embodiment;
[0043] FIG6 is a schematic diagram of a differential amplifier circuit in one embodiment;
[0044] FIG7 is a schematic diagram of a flow chart of step 202 in one embodiment;
[0045] FIG8 is a schematic diagram of a flow chart of step 502 in one embodiment;
[0046] FIG9 is a block diagram of a current compensation device in one embodiment;
[0047] FIG. 10 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] In traditional technology, magnetically sensitive current sensors are usually used to measure the current of current-carrying conductors, such as Hall sensors, anisotropic magnetoresistance devices, giant magnetoresistance devices, and tunnel magnetoresistance devices. Among them, Hall sensors are widely used due to their simple manufacturing, high reliability, and excellent measurement accuracy. However, as the power supply and distribution system has continuously improved its requirements for monitoring accuracy, volume, and operating temperature range, traditional Hall sensors can no longer meet the needs in some applications, especially in situations where complex temperature compensation circuits are required in a wide temperature range and high dynamic environment. The performance of Hall sensors is insufficient. Therefore, tunnel magnetoresistance current sensors based on tunnel magnetoresistance devices have become a hot topic of current research due to their obvious advantages in sensitivity, magnetic field measurement range, and operating temperature range.
[0050] However, the tunnel magnetoresistance current sensor essentially measures the current indirectly by measuring the magnetic field generated by the target current. Therefore, the measurement result mainly reflects the magnetic field information. During the measurement process, in addition to the magnetic field generated by the measured current, interference from other magnetic field sources will also introduce magnetic field interference errors. Due to the magnetic sensitivity of the tunnel magnetoresistance chip, the tunnel magnetoresistance current sensor does not have anti-interference ability, so it cannot overcome the influence of the interfering magnetic field on the measurement results.
[0051] In order to solve the problem of magnetic field interference, the prior art proposes an array distributed current sensor to measure the current of a current-carrying conductor located at the center of the array current sensor. However, when the current-carrying conductor is offset, the array tunnel magnetoresistance current sensor has the problem of inaccurate current measurement of the current-carrying conductor. In view of this, the present application proposes a current compensation method, which can improve the accuracy of current measurement of the current-carrying conductor.
[0052] The current compensation method provided in the embodiment of the present application can be applied to the application environment as shown in Figure 1. Among them, the server 102 communicates with the circumferential array current sensor 104 through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. During the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, the server 102 obtains multiple target voltage values output by the circumferential array current sensor. The eccentric current-carrying conductor is the current-carrying conductor at the center of the circumferential array corresponding to the offset circumferential array current sensor. Then, the server 102 determines multiple current compensation coefficients based on the measurement parameters of the eccentric current-carrying conductor and the multiple target voltage values. Then, the server 102 determines the compensated current value corresponding to the eccentric current-carrying conductor based on the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients. The server 102 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0053] In an exemplary embodiment, as shown in FIG2 , a current compensation method is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps:
[0054] Step 201 , when the circumferential array current sensor measures the current of an eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained. The eccentric current-carrying conductor is a current-carrying conductor that is offset from the center of the circumferential array corresponding to the circumferential array current sensor.
[0055] It is understandable that when the circumferential array current sensor measures the current value flowing through the current-carrying conductor, the current-carrying conductor is set at the center point of the circumferential array of the circumferential array current sensor, and multiple current sensors are evenly distributed around the current-carrying conductor to form a ring. When the current-carrying conductor is offset, the measured current value is inaccurate due to magnetic field interference. Therefore, the embodiment of the present application compensates for the current value of the eccentric current-carrying conductor measured by the circumferential array current sensor to obtain an accurate actual current value. Among them, the target voltage value is the voltage value output by the circumferential array current sensor. At the same measurement time point, the number of target voltage values is consistent with the number of current sensors in the circumferential array current sensor.
[0056] Among them, the circumferential array current sensor refers to a plurality of current sensors arranged circumferentially, wherein the current sensors may be 4 or 12, and this embodiment does not limit this. Optionally, the circumferential array current sensor may be a circumferential array tunnel magnetoresistance current sensor. Preferably, taking 8 circumferential array tunnel magnetoresistance current sensors as an example, 8 tunnel magnetoresistance current sensors are evenly distributed on the circumference of the same radius to form a ring, wherein the sensitive axis direction of each tunnel magnetoresistance sensor is the tangent direction of the circle, and the magnetic sensitivity direction of each tunnel magnetoresistance is counterclockwise, and the angle formed by each two adjacent tunnel magnetoresistances and the center of the circle is 45 ° Exemplarily, the distribution diagram of the circumferential array current sensor may be shown in FIG3 , in which the circumferential array current sensor includes 8 current sensors, namely T1, T2, T3, T4, T5, T6, T7, and T8, A is the original position of the current-carrying conductor, and B is the current position of the eccentric current-carrying conductor.
[0057] It should be noted that the target voltage value output by the tunnel magnetoresistance current sensor is linearly related to the current value. When there is current in the current-carrying conductor, a magnetic field proportional to the current will be generated around the current-carrying conductor. After the current sensor detects the strength of the magnetic field, a voltage signal linearly related to the current can be generated.
[0058] In this embodiment, the server can obtain the voltage value output by each current sensor in the circumferential array of current sensors during the process of measuring the current of the eccentric current-carrying conductor using the circumferential array of current sensors to obtain multiple target voltage values.
[0059] Step 202, determining a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and a plurality of target voltage values.
[0060] The measurement parameter of the eccentric current-carrying conductor refers to the relevant parameter when correcting the target voltage value output by the circumferential array current sensor. In this embodiment, the coefficient for correcting the current value measured by the circumferential array current sensor can be determined as a current compensation coefficient, wherein each current compensation coefficient corresponds to a current sensor one by one, and the number of current compensation coefficients is consistent with the number of current sensors in the circumferential array current sensor.
[0061] It should be noted that, since the position of the eccentric current-carrying conductor is offset relative to the center of the circumferential array, the magnetic field generated by the current passing through the current-carrying conductor changes, and therefore, the output target voltage value needs to be corrected according to the offset distance between the eccentric current-carrying conductor and the center of the circumferential array. Since the eccentric current-carrying conductor is offset, the output target voltage value also needs to be corrected according to the angular offset caused by the position offset.
[0062] In this embodiment, the measurement parameters of the eccentric current-carrying conductor and multiple target voltage values can be used to calculate multiple magnetic induction intensities corresponding to the eccentric current-carrying conductor, and then each magnetic induction intensity is used with the magnetic induction intensity of the corresponding current-carrying conductor to determine the compensation coefficient, thereby obtaining multiple compensation coefficients.
[0063] Step 203 : determining a compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, a plurality of target voltage values, and a plurality of current compensation coefficients.
[0064] It can be understood that the circumferential array current sensor measures current simultaneously through multiple current sensors. Therefore, when compensating the current value measured by the circumferential array current sensor, the current value can be compensated in combination with multiple target voltage values and multiple current compensation coefficients. Among them, the compensated current value corresponding to the eccentric current-carrying conductor refers to the current value obtained after correcting the current value measured by the circumferential array current sensor.
[0065] In this embodiment, the server can respectively determine a compensation current value using each target voltage value and the corresponding current compensation coefficient, and then determine the ratio between the sum of multiple compensation current values and the number of circumferential array current sensors as the compensated current value corresponding to the eccentric current-carrying conductor.
[0066] As a possible implementation, if the difference between the maximum target voltage value and the minimum target voltage value is less than a preset deviation after the server sequentially sorts the acquired multiple target voltage values, it can be considered that there is no eccentricity in the current-carrying conductor, and the server can sum and average the multiple target voltage values, and use the average value as the current value measured by the circumferential array sensor.
[0067] In the above-mentioned current compensation method, the server obtains multiple target voltage values output by the circumferential array current sensor during the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor. The eccentric current-carrying conductor is a current-carrying conductor that is offset from the center of the circumferential array corresponding to the circumferential array current sensor. Then, multiple current compensation coefficients are determined based on the measurement parameters of the eccentric current-carrying conductor and the multiple target voltage values. Since the current compensation coefficient is determined based on the measurement parameters of the eccentric current-carrying conductor and the multiple target voltage values, it is possible to accurately correct and compensate for the inaccurate current value measured due to the eccentric current-carrying conductor deviating from the circumferential array center of the circumferential array current sensor. Then, based on the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients, the compensated current value corresponding to the eccentric current-carrying conductor is determined, and the current value measured by the circumferential array current sensor can be accurately compensated, thereby improving the accuracy and precision of the measurement of the circumferential array current sensor, and then improving the accuracy of the current measurement of the current-carrying conductor.
[0068] In the above scenario where the compensated current value corresponding to the eccentric current-carrying conductor is determined based on the number of current sensors included in the circumferential array current sensor, multiple target voltage values, and multiple current compensation coefficients, the server can determine the compensated current value using multiple current values corresponding to the multiple target voltage values and multiple current compensation coefficients. In an exemplary embodiment, as shown in FIG4 , the above step 203 includes:
[0069] Step 301 : determining average sampled current values corresponding to a plurality of target voltage values according to the number of current sensors included in the circumferential array current sensor and a plurality of target voltage values.
[0070] The average sampled current value refers to an average value calculated after sampling the current signal output by each circumferential array current sensor in the circumferential array current sensor.
[0071] In this embodiment, the server can sample the current value corresponding to the target voltage value to obtain multiple sampled current values, then calculate the sum of the multiple sampled current values, and then determine the ratio between the sum of the multiple sampled current values and the number of circumferential array current sensors as the average sampled current value.
[0072] Step 302: Determine the ratio between the sum of the multiple current compensation coefficients and the number of the circumferential array current sensors as the average current compensation coefficient.
[0073] The average current compensation coefficient refers to the average value of multiple current compensation coefficients. In this embodiment, the server can calculate the sum of multiple current compensation coefficients, then calculate the ratio between the sum of multiple current compensation coefficients and the number of circumferential array current sensors, and then determine the result as the average current compensation coefficient.
[0074] Step 303: determine the ratio between the average sampled current value and the average current compensation coefficient as the compensated current value.
[0075] It can be understood that the average sampled current value represents the current value measured by the circumferential array current sensor, and the average current compensation coefficient represents the coefficient for correcting and compensating the measured current value. Therefore, by calculating the ratio between the average sampled current value and the average current compensation coefficient, the compensated current value can be obtained.
[0076] In this embodiment, the server may calculate the ratio of the average sampled current value to the average current compensation coefficient, and then determine the ratio as the compensated current value.
[0077] The compensated current value can be expressed as:
[0078]
[0079] in, is the current value after compensation, is the average sampling current value, is the average current compensation coefficient.
[0080] In this embodiment, the server determines the average sampled current value corresponding to multiple target voltage values based on the number of current sensors included in the circumferential array current sensor and multiple target voltage values, and then determines the ratio between the sum of multiple current compensation coefficients and the number of circumferential array current sensors as the average current compensation coefficient, and then determines the ratio between the average sampled current value and the average current compensation coefficient as the compensated current value. Since the average sampled current value and the average circuit compensation coefficient take into account the sampled current values and circuit compensation coefficients corresponding to all current sensors in the circumferential array current sensor, the current value measured by the circumferential array sensor can be accurately compensated, thereby improving the accuracy of the compensated current value.
[0081] In the above scenario of determining the average sampled current value corresponding to multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and multiple target voltage values, the server can use a differential amplifier circuit to perform differential amplification processing on the multiple target voltage values, and then use the multiple target voltage values after differential amplification processing to obtain multiple sampled current values, and then obtain the average sampled current value. In an exemplary embodiment, as shown in FIG5 , the above step 301 includes:
[0082] Step 401 , performing differential amplification processing on a plurality of target voltage values according to a plurality of differential amplification circuits to obtain a plurality of differentially amplified target voltage values.
[0083] It should be noted that, since the server can only process the positive DC current signal when compensating the current value measured by the circumferential array current sensor, if the circuit value measured by the circumferential array current sensor is an AC signal and is negative, compensation cannot be performed. Therefore, the target voltage value output by the circumferential array current sensor can be processed using a differential amplifier circuit to obtain a target voltage value that can be processed by the server.
[0084] The differential amplifier circuit is also called a differential amplifier circuit, which amplifies the voltage difference between the two input terminals and suppresses the common part of the two input signals. In this embodiment, multiple differential amplifier circuits can be set to perform differential amplification processing on the target voltage value output by each current sensor in the circumferential array current sensor, and the number of differential amplifier circuits is consistent with the number of current sensors included in the circumferential array current sensor.
[0085] For example, the schematic diagram of the differential amplifier circuit can be shown in FIG6 , wherein the two input terminals of the differential amplifier circuit are respectively the positive target voltage value T output by one of the current sensors in the circumferential array current sensor and the positive target voltage value T i+ and negative target voltage value, T i- , the left ends of R1 and R2 are respectively connected to the output voltage T of the i-th current sensor i+ 、T i- The right ends of R1 and R2 are connected to C1 and C2, and the other ends of C1 and C2 are connected to the ground. R1 and C1, R2 and C2 form a low-pass filter to filter out high-frequency interference signals; the right ends of R1 and R2 are connected to the left ends of R3 and R4 at the same time, and the right ends of R3 and R4 are connected to the negative and positive input terminals of the operational amplifier respectively. At the same time, the negative input terminal of the operational amplifier is connected to the output terminal of the operational amplifier through R5, and the positive input terminal is connected to the reference voltage V through R6. ref When the input signal is an AC signal and is a negative voltage, it can be connected through V ref Raise the voltage.
[0086] In this embodiment, for a current sensor in a circumferential array current sensor, the server can input the positive target voltage value and the negative target voltage value output by the current sensor into the two input ends of the differential amplifier circuit, and use the low-pass filter in the differential amplifier circuit to filter the high-frequency interference signals in the positive target voltage value and the negative target voltage value. Then, when it is detected that the positive target voltage value and the negative target voltage value are AC signals or negative voltages, the target voltage value is raised by the reference voltage in the differential amplifier circuit and converted into a positive voltage, thereby obtaining the target voltage value after differential amplification.
[0087] Among them, the cutoff frequency of the low-pass filter composed of R1 and C1, R2 and C2 is:
[0088]
[0089] Step 402 , obtaining a plurality of sampling current values according to a plurality of target voltage values after differential amplification and resistance values corresponding to the differential amplifier circuit.
[0090] In this embodiment, for a target voltage value after differential amplification, the server can determine the ratio of the target voltage value to the resistance value corresponding to the differential amplifier circuit as the sampling current value, so that multiple sampling current values can be obtained according to the ratio of each target voltage value after differential amplification to the resistance value corresponding to the differential amplifier circuit. The sampling current value can be expressed by the following formula:
[0091] When R1=R2, R3=R4, R5=R6, the differential mode gain of the differential amplifier circuit is:
[0092]
[0093] in, Represents the sampled current value corresponding to the i-th current sensor.
[0094] Step 403: determine the ratio between the sum of the multiple sampled current values and the number of the circumferential array current sensors as the average sampled current value.
[0095] In this embodiment, the server may add multiple sampled current values to obtain the sum of the multiple sampled current values, and then calculate the ratio between the sum of the multiple sampled current values and the number of circumferential array current sensors, and determine the calculation result as the average sampled current value.
[0096] In the present embodiment, the server can obtain multiple target voltage values after differential amplification by performing differential amplification processing on multiple target voltage values according to multiple differential amplification circuits, and then can obtain multiple sampling current values according to the multiple target voltage values after differential amplification and the resistance values corresponding to the differential amplification circuits. Then, the ratio between the sum of the multiple sampling current values and the number of circumferential array current sensors is determined as the average sampling current value. Since the differential amplification circuit can perform differential amplification on the target voltage value output by the circumferential array current sensor, the problem of being unable to perform current compensation due to the target voltage value being an AC signal or the target voltage value being a negative voltage is avoided, thereby improving the reliability of compensating the current value measured by the circumferential array current sensor.
[0097] In the above scenario of determining multiple current compensation coefficients based on the measurement parameters of the eccentric current-carrying conductor and multiple target voltage values, the server can first determine the target current values corresponding to the multiple target voltage values, and then determine the magnetic induction intensity based on the measurement parameters and the target current values, thereby determining the compensation coefficient based on the magnetic induction intensity and the target current value. In an exemplary embodiment, as shown in FIG7 , the above step 202 includes:
[0098] Step 501, determining a plurality of corresponding target current values according to a plurality of target voltage values.
[0099] The target current value refers to the current value measured by each current sensor in the circumferential array current sensor, and the target voltage value output by each current sensor is linearly related to the corresponding current signal.
[0100] In this embodiment, the server may determine the target current value corresponding to each target voltage value according to the linear relationship between each target voltage value and the corresponding current signal.
[0101] Step 502: determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to a plurality of target current values and measurement parameters.
[0102] In this embodiment, the server can determine the first magnetic induction intensity of the eccentric current-carrying conductor on the circumferential tangent according to each target current value and the measurement parameter, thereby obtaining a plurality of first magnetic induction intensities.
[0103] Optionally, the above measurement parameters may include:
[0104] The offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0105] Please refer to FIG3 , since the offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is less than the radius, i.e., d <r, , it can be assumed that the closer the current sensor is to the eccentric current-carrying conductor, the greater the magnetic induction intensity in the magnetic sensitive direction. Correspondingly, the farther the current sensor is from the eccentric current-carrying conductor, the weaker the magnetic induction intensity in the magnetic sensitive direction. Therefore, it can be determined that the eccentric current-carrying conductor has a maximum magnetic induction intensity and a minimum magnetic induction intensity in the same axial direction. The maximum magnetic induction intensity and minimum magnetic induction intensity The difference between can be expressed as:
[0106]
[0107] in, is the vacuum permeability, is the target current value corresponding to the target voltage value.
[0108] By transforming the above formula, we can get:
[0109]
[0110] By solving this formula, the value of d can be obtained.
[0111] The above measurement parameters may also include: a measurement angle between each current sensor in the circumferential array of current sensors and the position of the eccentric current-carrying conductor and the center of the circumferential array.
[0112] Please continue to refer to Figure 3. The measurement angle is It can be understood that, since each current sensor is evenly distributed, the current sensors corresponding to each other Can add / subtract 45 degrees to a measured angle 。 get.
[0113] As a possible implementation, as shown in FIG8 , the above step 502 may include:
[0114] Step 601 : for each current sensor, determine the measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle and the radius of the circumferential array.
[0115] Continuing with FIG. 3 , the measurement distance between the eccentric current-carrying conductor and the current sensor can be expressed as:
[0116]
[0117] in, To measure distance.
[0118] Step 602: Determine a second magnetic induction intensity of the eccentric current-carrying conductor according to the measured distance and the sampled current value.
[0119] In this embodiment, the second magnetic induction intensity of the eccentric current-carrying conductor can be expressed as:
[0120]
[0121] in, is the second magnetic induction intensity.
[0122] Step 603: Determine a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor.
[0123] In this embodiment, the third magnetic induction intensity of the eccentric current-carrying conductor in the magnetic sensitive direction can be expressed as:
[0124]
[0125] in, is the third magnetic induction intensity, It is the deviation angle of the magnetic sensitivity direction of the eccentric current-carrying conductor.
[0126] Step 604: Determine a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the third magnetic induction intensity and the sampled current value.
[0127] In this embodiment, the first magnetic induction intensity of an eccentric current-carrying conductor on a circumferential tangent can be expressed as:
[0128]
[0129] in, is the first magnetic induction intensity.
[0130] In this embodiment, the server can calculate the second magnetic induction intensity of the eccentric current-carrying conductor based on multiple target current values and measurement parameters corresponding to the eccentric current-carrying conductor, and determine the third magnetic induction intensity of the eccentric current-carrying conductor in the magnetic sensitive direction in combination with the offset angle of the magnetic sensitive direction of the eccentric current-carrying conductor, so that multiple first magnetic induction intensities of the eccentric current-carrying conductor on the circumferential tangent can be determined based on the third magnetic induction intensity and the target current value. Since the third magnetic induction intensity for calculating the first magnetic induction intensity is determined based on the offset angle of the magnetic sensitive direction corresponding to the eccentric current-carrying conductor, the magnetic induction intensity of the eccentric current-carrying conductor can be corrected, so that the first magnetic induction intensity can accurately characterize the magnetic induction characteristics of the eccentric current-carrying conductor.
[0131] Step 503: Determine a plurality of current compensation coefficients according to a plurality of first magnetic induction intensities and a plurality of target current values.
[0132] In this embodiment, the server can determine the ratio between each first magnetic induction intensity and the corresponding target current value as the corresponding current compensation coefficient based on the relationship between each first magnetic induction intensity and the corresponding target current value, and the corresponding current compensation coefficient, thereby obtaining multiple current compensation coefficients.
[0133] In this embodiment, the server determines the corresponding multiple target current values based on the multiple target voltage values, and can determine the multiple first magnetic induction intensities of the eccentric current-carrying conductor on the circumferential tangent based on the multiple target current values and the measurement parameters. Since the measurement parameters are parameters related to the eccentric current-carrying conductor, the multiple first magnetic induction intensities can be accurately determined, and thus the multiple current compensation coefficients can be accurately determined based on the multiple first magnetic induction intensities and the multiple target current values, thereby improving the accuracy of determining the multiple current compensation coefficients.
[0134] To facilitate understanding by those skilled in the art, the current compensation method provided by the present application is described in detail below. The method may include:
[0135] S1, when the circumferential array current sensor measures the current of an eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained.
[0136] S2, determining a plurality of corresponding target current values according to the plurality of target voltage values.
[0137] S3, for each current sensor, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle, and the radius of the circumferential array.
[0138] S4, determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measured distance and the sampled current value.
[0139] S5, determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor.
[0140] S6, determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the third magnetic induction intensity and the sampled current value.
[0141] S7, determining multiple current compensation coefficients according to the multiple first magnetic induction intensities and the multiple sampled current values.
[0142] S8, performing differential amplification processing on the multiple target voltage values according to the multiple differential amplification circuits to obtain multiple differentially amplified target voltage values.
[0143] S9, obtaining a plurality of sampling current values according to a plurality of target voltage values after differential amplification and resistance values corresponding to the differential amplification circuit.
[0144] S10, determining a ratio between a sum of a plurality of sampled current values and the number of circumferential array current sensors as an average sampled current value.
[0145] S11, determining a ratio between a sum of a plurality of current compensation coefficients and the number of circumferential array current sensors as an average current compensation coefficient.
[0146] S12, determining the ratio between the average sampled current value and the average current compensation coefficient as the compensated current value.
[0147] It should be noted that for the descriptions in the above S1-S12, reference may be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.
[0148] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0149] Based on the same inventive concept, the embodiment of the present application also provides a current compensation device for implementing the current compensation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more current compensation device embodiments provided below can refer to the limitations of the current compensation method above, and will not be repeated here.
[0150] In one embodiment, as shown in FIG. 9 , a current compensation device is provided, including: an acquisition module 701, a first determination module 702, and a second determination module 703, wherein:
[0151] An acquisition module 701 is used to acquire multiple target voltage values output by the circumferential array current sensor during the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor;
[0152] A first determination module 702, configured to determine a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and a plurality of target voltage values;
[0153] The second determination module 703 is used to determine the compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, multiple target voltage values and multiple current compensation coefficients.
[0154] The current compensation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0155] In one embodiment, the second determining module 703 includes: a first determining unit, a second determining unit and a third determining unit, wherein:
[0156] A first determining unit, configured to determine an average sampled current value corresponding to a plurality of target voltage values according to the number of current sensors included in the circumferential array current sensor and a plurality of target voltage values;
[0157] A second determining unit, configured to determine a ratio between a sum of the plurality of current compensation coefficients and the number of circumferential array current sensors as an average current compensation coefficient;
[0158] The third determining unit is used to determine the ratio between the average sampled current value and the average current compensation coefficient as the compensated current value.
[0159] The current compensation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0160] In one embodiment, the first determining unit is specifically configured to:
[0161] Performing differential amplification processing on the multiple target voltage values according to the multiple differential amplification circuits to obtain multiple differentially amplified target voltage values;
[0162] Obtaining multiple sampling current values according to multiple differentially amplified target voltage values and resistance values corresponding to the differential amplification circuit;
[0163] The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as an average sampled current value.
[0164] The current compensation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0165] In one embodiment, the first determining module 702 includes: a fourth determining unit, a fifth determining unit and a sixth determining unit, wherein:
[0166] a fourth determining unit, configured to determine a plurality of corresponding target current values according to a plurality of target voltage values;
[0167] a fifth determining unit, configured to determine a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to a plurality of target current values and measurement parameters;
[0168] Optionally, the above measurement parameters include:
[0169] The offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0170] Each current sensor in the circumferential array of current sensors measures an angle between the location of the eccentric current-carrying conductor and the center of the circumferential array.
[0171] The sixth determining unit is used to determine a plurality of current compensation coefficients according to a plurality of first magnetic induction intensities and a plurality of target current values.
[0172] The current compensation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0173] In one embodiment, the fifth determining unit is specifically configured to:
[0174] For each current sensor, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle, and the radius of the circumferential array;
[0175] determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the target current value;
[0176] Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor;
[0177] A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the target current value.
[0178] The current compensation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0179] Each module in the above-mentioned current compensation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0180] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG10. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data measured by a circumferential array current sensor. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a circumferential array current sensor method is implemented.
[0181] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0182] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0183] In the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor;
[0184] determining a plurality of current compensation coefficients based on the measured parameters of the eccentric current-carrying conductor and a plurality of target voltage values;
[0185] According to the number of current sensors included in the circumferential array current sensor, a plurality of target voltage values and a plurality of current compensation coefficients, a compensated current value corresponding to the eccentric current-carrying conductor is determined.
[0186] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0187] Determine an average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values;
[0188] Determine a ratio between a sum of the plurality of current compensation coefficients and the number of circumferential array current sensors as an average current compensation coefficient;
[0189] The ratio between the average sampled current value and the average current compensation coefficient is determined as the compensated current value.
[0190] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0191] Performing differential amplification processing on the multiple target voltage values according to the multiple differential amplification circuits to obtain multiple differentially amplified target voltage values;
[0192] Obtaining multiple sampling current values according to multiple differentially amplified target voltage values and resistance values corresponding to the differential amplification circuit;
[0193] The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as an average sampled current value.
[0194] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0195] Determine a plurality of corresponding target current values according to a plurality of target voltage values;
[0196] Determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to a plurality of target current values and measurement parameters;
[0197] Optionally, the above measurement parameters include:
[0198] The offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0199] Each current sensor in the circumferential array of current sensors measures an angle between the location of the eccentric current-carrying conductor and the center of the circumferential array.
[0200] A plurality of current compensation coefficients are determined according to a plurality of first magnetic induction intensities and a plurality of target current values.
[0201] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0202] For each current sensor, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle, and the radius of the circumferential array;
[0203] determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the target current value;
[0204] Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor;
[0205] A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the target current value.
[0206] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0207] In the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor;
[0208] determining a plurality of current compensation coefficients based on the measured parameters of the eccentric current-carrying conductor and a plurality of target voltage values;
[0209] According to the number of current sensors included in the circumferential array current sensor, a plurality of target voltage values and a plurality of current compensation coefficients, a compensated current value corresponding to the eccentric current-carrying conductor is determined.
[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0211] Determine an average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values;
[0212] Determine a ratio between a sum of the plurality of current compensation coefficients and the number of circumferential array current sensors as an average current compensation coefficient;
[0213] The ratio between the average sampled current value and the average current compensation coefficient is determined as the compensated current value.
[0214] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0215] Performing differential amplification processing on the multiple target voltage values according to the multiple differential amplification circuits to obtain multiple differentially amplified target voltage values;
[0216] Obtaining multiple sampling current values according to multiple differentially amplified target voltage values and resistance values corresponding to the differential amplification circuit;
[0217] The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as an average sampled current value.
[0218] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0219] Determine a plurality of corresponding target current values according to a plurality of target voltage values;
[0220] Determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to a plurality of target current values and measurement parameters;
[0221] Optionally, the above measurement parameters include:
[0222] The offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0223] Each current sensor in the circumferential array of current sensors measures an angle between the location of the eccentric current-carrying conductor and the center of the circumferential array.
[0224] A plurality of current compensation coefficients are determined according to a plurality of first magnetic induction intensities and a plurality of target current values.
[0225] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0226] For each current sensor, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle, and the radius of the circumferential array;
[0227] determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the target current value;
[0228] Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor;
[0229] A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the target current value.
[0230] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0231] In the process of the circumferential array current sensor measuring the current of the eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor;
[0232] determining a plurality of current compensation coefficients based on the measured parameters of the eccentric current-carrying conductor and a plurality of target voltage values;
[0233] According to the number of current sensors included in the circumferential array current sensor, a plurality of target voltage values and a plurality of current compensation coefficients, a compensated current value corresponding to the eccentric current-carrying conductor is determined.
[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0235] Determine an average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values;
[0236] Determine a ratio between a sum of the plurality of current compensation coefficients and the number of circumferential array current sensors as an average current compensation coefficient;
[0237] The ratio between the average sampled current value and the average current compensation coefficient is determined as the compensated current value.
[0238] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0239] Performing differential amplification processing on the multiple target voltage values according to the multiple differential amplification circuits to obtain multiple differentially amplified target voltage values;
[0240] Obtaining multiple sampling current values according to multiple differentially amplified target voltage values and resistance values corresponding to the differential amplification circuit;
[0241] The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as an average sampled current value.
[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0243] Determine a plurality of corresponding target current values according to a plurality of target voltage values;
[0244] Determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to a plurality of target current values and measurement parameters;
[0245] Optionally, the above measurement parameters include:
[0246] The offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction;
[0247] Each current sensor in the circumferential array of current sensors measures an angle between the location of the eccentric current-carrying conductor and the center of the circumferential array.
[0248] A plurality of current compensation coefficients are determined according to a plurality of first magnetic induction intensities and a plurality of target current values.
[0249] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0250] For each current sensor, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle, and the radius of the circumferential array;
[0251] determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the target current value;
[0252] Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor;
[0253] A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the target current value.
[0254] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0255] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 specification.
[0256] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A current compensation method, characterized in that: The method comprises: In the process of the circumferential array current sensor measuring the current of an eccentric current-carrying conductor, a plurality of target voltage values output by the circumferential array current sensor are obtained, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of the circumferential array corresponding to the circumferential array current sensor; determining a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and the plurality of target voltage values; The compensated current value corresponding to the eccentric current-carrying conductor is determined according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients.
2. The method according to claim 1, characterized in that The step of determining the compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values, and the multiple current compensation coefficients includes: Determining an average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values; Determine a ratio between the sum of the plurality of current compensation coefficients and the number of the circumferential array current sensors as an average current compensation coefficient; The ratio between the average sampled current value and the average current compensation coefficient is determined as the compensated current value.
3. The method according to claim 2, characterized in that The step of determining the average sampled current value corresponding to the multiple target voltage values according to the number of current sensors included in the circumferential array current sensor and the multiple target voltage values comprises: performing differential amplification processing on the plurality of target voltage values according to a plurality of differential amplification circuits to obtain a plurality of differentially amplified target voltage values; Obtaining a plurality of sampling current values according to the plurality of differentially amplified target voltage values and a resistance value corresponding to the differential amplification circuit; The ratio between the sum of the plurality of sampled current values and the number of the circumferential array current sensors is determined as the average sampled current value.
4. The method according to any one of claims 1 to 3, characterized in that: The step of determining a plurality of current compensation coefficients according to the measured parameters of the eccentric current-carrying conductor and the plurality of target voltage values comprises: Determine a corresponding plurality of target current values according to the plurality of target voltage values; Determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the plurality of target current values and the measurement parameters; The multiple current compensation coefficients are determined according to the multiple first magnetic induction intensities and the multiple target current values.
5. The method according to any one of claims 1 to 3, characterized in that: The measurement parameters include: An offset distance of the eccentric current-carrying conductor relative to the center of the circumferential array, wherein the offset distance is determined according to the maximum magnetic induction intensity and the minimum magnetic induction intensity of the eccentric current-carrying conductor in the same axial direction; A measuring angle between each current sensor in the circumferential array of current sensors and the position of the eccentric current-carrying conductor and the center of the circumferential array.
6. The method according to claim 5, characterized in that The step of determining a plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent according to the plurality of target current values and the measurement parameters comprises: For each of the current sensors, determining a measurement distance between the eccentric current-carrying conductor and the current sensor according to the offset distance, the measurement angle and the radius of the circumferential array; Determining a second magnetic induction intensity of the eccentric current-carrying conductor according to the measurement distance and the target current value; Determining a third magnetic induction intensity of the eccentric current-carrying conductor in the magnetically sensitive direction according to the second magnetic induction intensity and the offset angle of the magnetically sensitive direction of the eccentric current-carrying conductor; A plurality of first magnetic induction intensities of the eccentric current-carrying conductor on a circumferential tangent are determined according to the third magnetic induction intensity and the target current value.
7. A current compensation device, characterized in that: The device comprises: An acquisition module, used for acquiring a plurality of target voltage values output by the circumferential array current sensor during a process in which the circumferential array current sensor measures a current on an eccentric current-carrying conductor, wherein the eccentric current-carrying conductor is a current-carrying conductor offset from the center of a circumferential array corresponding to the circumferential array current sensor; A first determination module, configured to determine a plurality of current compensation coefficients according to the measurement parameters of the eccentric current-carrying conductor and the plurality of target voltage values; The second determination module is used to determine the compensated current value corresponding to the eccentric current-carrying conductor according to the number of current sensors included in the circumferential array current sensor, the multiple target voltage values and the multiple current compensation coefficients.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Lattice type Hall electric current transducer
CN101271130A
Uniaxial tunnel magnetoresistive current measuring method
CN113325343A
Current sensor based on TMR chip array, current measurement system and method
CN116008644A
Elliptical array Hall current sensor and current high-precision detection method
CN118362771A
Current sensor
US20050156587A1
Cited By
Eccentricity error suppression method and system of array sensor and array sensor
CN120370023A
Method and system for suppressing eccentricity error of array sensor and array sensor
CN120370023B