Current measurement method and device, computer equipment, storage medium and program product

By obtaining the dimensional parameters of the current-carrying conductor to be measured and the initial position and strength of the magnetic field sensor, determining the target position and calculating the current, the problem of low current measurement accuracy is solved, and high-precision and flexible current measurement is achieved, which is suitable for complex power systems.

CN120539463APending Publication Date: 2025-08-26TSINGHUA UNIVERSITY +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510175697.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

In complex power systems, the measurement of current in current-carrying conductors based on current transformers or Hall effect sensors has a problem of low accuracy.

Method used

By obtaining the dimensional parameters of the current-carrying conductor to be measured, the initial positions and magnetic field strengths of multiple magnetic field sensors, the target position of the magnetic field sensor is determined, and the current is calculated using a linear system of equations and least squares solution to reduce the influence of the position deviation of the magnetic field sensor.

Benefits of technology

It improves the accuracy and flexibility of current measurement, adapts to complex shapes of current-carrying conductors, simplifies the operation process, reduces the volume and weight of the measurement device, and meets the high-precision needs of modern power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120539463A_ABST
    Figure CN120539463A_ABST
Patent Text Reader

Abstract

The invention relates to a current measurement method and device, computer equipment, a storage medium and a program product. The method comprises the steps of obtaining size parameters of a current-carrying conductor to be measured, initial positions of a plurality of magnetic field sensors arranged above the current-carrying conductor to be measured and magnetic field intensities measured by the magnetic field sensors, and determining target positions of the magnetic field sensors according to the size parameters, the initial positions and the magnetic field intensities, and determining the current of the current-carrying conductor to be measured according to the target position of each magnetic field sensor, each magnetic field intensity and the size parameter. According to the embodiment of the invention, the target position can be inverted according to the initial position of the magnetic field sensor, so that the influence of the position deviation of the magnetic field sensor on the current measurement can be reduced, and the accuracy of the current measurement is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of current measurement technology, and in particular to a current measurement method, apparatus, computer equipment, storage medium, and program product. Background Art

[0002] With the increasing complexity of power systems, especially in modern power systems such as smart grids and microgrids, real-time and accurate measurement of physical quantities such as current and voltage has become the key to improving the operating efficiency of power systems, ensuring the safety of power equipment and optimizing scheduling.

[0003] Currently, the current of a current-carrying conductor is usually measured based on a current transformer or a Hall effect sensor. However, in complex power systems, the current of the current-carrying conductor measured based on a current transformer or a Hall effect sensor has the problem of low accuracy. Summary of the Invention

[0004] Based on this, it is necessary to provide a current measurement method, device, computer equipment, storage medium and program product that can improve the accuracy of the measured current of the current-carrying conductor in order to address the above technical problems.

[0005] In a first aspect, the present application provides a current measurement method. The method comprises:

[0006] Obtaining dimensional parameters of a current-carrying conductor to be measured, initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and magnetic field strengths measured by each of the magnetic field sensors;

[0007] determining a target position of each magnetic field sensor according to the size parameter, each initial position, and each magnetic field strength;

[0008] The current of the current-carrying conductor to be measured is determined according to the target position of each magnetic field sensor, the magnetic field strength and the size parameter.

[0009] In one embodiment, determining the current of the current-carrying conductor to be measured based on the target position of each magnetic field sensor, each magnetic field strength, and the size parameter includes:

[0010] determining a proportional coefficient corresponding to each magnetic field sensor according to the target position of each magnetic field sensor and the size parameter;

[0011] The current of the current-carrying conductor to be measured is determined according to the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0012] In one embodiment, determining the current of the current-carrying conductor to be measured according to the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor includes:

[0013] For each magnetic field sensor, determining a linear equation corresponding to the magnetic field sensor according to a proportional coefficient and magnetic field strength of the magnetic field sensor, and the current of the current-carrying conductor to be measured;

[0014] Determine a linear equation group according to the linear equations corresponding to each of the magnetic field sensors;

[0015] The least square solution of the linear equation group is determined according to each of the proportional coefficients and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0016] In one embodiment, determining the target position of each magnetic field sensor according to the size parameter, each initial position, and each magnetic field strength includes:

[0017] Constructing an objective function based on the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position, and each target position;

[0018] The objective function is solved according to the size parameter, each initial position and each magnetic field strength to obtain the target position of each magnetic field sensor.

[0019] In one embodiment, solving the objective function according to the size parameter, each initial position, and each magnetic field strength to obtain the target position of each magnetic field sensor includes:

[0020] Based on the interior point method, with minimizing the target position as the goal, the objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0021] In one embodiment, the magnetic field sensors are disposed above the current-carrying conductor to be measured at equal intervals, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0022] In a second aspect, the present application also provides a current measuring device. The device comprises:

[0023] an acquisition module, configured to acquire the dimension parameters of the current-carrying conductor to be measured, the initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each of the magnetic field sensors;

[0024] a first determining module, configured to determine a target position of each magnetic field sensor according to the size parameter, each initial position, and each magnetic field strength;

[0025] The second determination module is configured to determine the current of the current-carrying conductor to be measured according to the target position of each magnetic field sensor, the magnetic field strength and the size parameter.

[0026] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0027] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.

[0028] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, which implements the steps of any of the above methods when executed by a processor.

[0029] The above-mentioned current measurement method, apparatus, computer equipment, storage medium, and program product obtain the dimensional parameters of the current-carrying conductor to be measured, the initial positions of multiple magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor. Based on the dimensional parameters, each initial position, and each magnetic field strength, the target position of each magnetic field sensor is determined. Then, based on the target position, each magnetic field strength, and dimensional parameters of each magnetic field sensor, the current of the current-carrying conductor to be measured is determined. Because the target position can be inverted based on the initial position of the magnetic field sensor in the embodiment of the present application, the influence of the position deviation of the magnetic field sensor on the current measurement can be reduced, thereby improving the accuracy of the current measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a diagram of the internal structure of a computer device provided in an embodiment of the present application;

[0031] Figure 2 This is a flow chart of a current measurement method provided in an embodiment of the present application;

[0032] Figure 3 This is a schematic diagram of the positions of a magnetic field sensor and a current-carrying conductor to be measured provided by an embodiment of the present application;

[0033] Figure 4 1 is a schematic diagram of a curve showing a change in a proportional coefficient with the horizontal coordinate of a magnetic field sensor provided in an embodiment of the present application;

[0034] Figure 5 1 is a schematic diagram of a curve showing a change in a proportional coefficient with the vertical coordinate of a magnetic field sensor provided in an embodiment of the present application;

[0035] Figure 6 This is a flow chart of a method for determining the current of a current-carrying conductor to be measured provided by an embodiment of the present application;

[0036] Figure 7 1 is a flow chart of another method for determining the current of a current-carrying conductor to be measured provided by an embodiment of the present application;

[0037] Figure 8 1 is a flow chart of a method for determining a target position of a magnetic field sensor provided in an embodiment of the present application;

[0038] Figure 9 This is a flow chart of a current measurement method based on a distributed magnetic field sensor array provided in an embodiment of the present application;

[0039] Figure 10 is a schematic diagram of a current measurement error provided by an embodiment of the present application;

[0040] Figure 11 This is a structural block diagram of a current measuring device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0042] With the increasing complexity of power systems, especially in modern power systems such as smart grids and microgrids, real-time and accurate measurement of physical quantities such as current and voltage has become the key to improving the operating efficiency of power systems, ensuring the safety of power equipment and optimizing scheduling.

[0043] Currently, the current of a current-carrying conductor is usually measured based on a current transformer or a Hall effect sensor. However, in complex power systems, the current of the current-carrying conductor measured based on a current transformer or a Hall effect sensor has the problem of low accuracy.

[0044] The current measurement method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 This is an internal structure diagram of a computer device provided in an embodiment of the present application. The computer device may be a server, and its internal structure diagram may be as follows: Figure 1 As shown. The computer device includes a processor, memory, and a network interface connected via a system bus. 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 computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a current measurement method.

[0045] Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the 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 component arrangement.

[0046] In one embodiment, Figure 2 As shown, Figure 2 This is a flow chart of a current measurement method provided by an embodiment of the present application, which can be applied to Figure 1 In a computer device, the method comprises the following steps:

[0047] S201 , obtaining size parameters of a current-carrying conductor to be measured, initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and magnetic field strengths measured by the magnetic field sensors.

[0048] For example, refer to Figure 3 , Figure 3 Schematic diagram of the position of a magnetic field sensor and a current-carrying conductor to be measured provided by an embodiment of the present application. Figure 3 As shown, multiple magnetic field sensors can be evenly spaced above the current-carrying conductor to be measured, with each magnetic field sensor being equidistant from the current-carrying conductor to be measured (i.e., each magnetic field sensor is at the same height). The horizontal spacing between each magnetic field sensor is d, and the distance between each magnetic field sensor and the current-carrying conductor to be measured is h.

[0049] It should be noted that if Figure 3 The cross-sectional shape of the current-carrying conductor to be measured shown is only one possible implementation method, and does not limit the cross-sectional shape of the current-carrying conductor to be measured to be a rectangle. In actual applications, the cross-sectional shape of the current-carrying conductor to be measured may also be, for example, rounded or other complex shapes, which is not specifically limited here.

[0050] In one possible implementation, it is assumed that the current of the current-carrying conductor to be measured has a rectangular cross-section and flows in a direction perpendicular to the cross-section of the current-carrying conductor to be measured and outward, and the origin of the rectangular coordinate system coincides with the center of the current-carrying conductor to be measured. If it is placed above the current-carrying conductor to be measured, the magnetic field sensor The horizontal axis is , the vertical axis is , the sensitive axis direction is the positive direction of the x-axis. In the absence of external magnetic field interference, the current I of the current-carrying conductor to be measured and the coordinates are Magnetic field sensor Measured magnetic field strength The proportional coefficient between It can be calculated by the following formula (1):

[0051] (1)

[0052] In formula (1), is the cross-sectional area of ​​the current-carrying conductor to be measured, 、 、 、 It can be expressed as the following formula (2):

[0053] (2)

[0054] In formula (2), is the width of the current-carrying conductor to be measured, is the thickness of the current-carrying conductor to be measured. Based on the above formulas (1) and (2), it can be concluded that the proportionality coefficient About magnetic field sensors The horizontal axis , vertical axis , the width of the current-carrying conductor to be measured ,thickness The function of the same variable is denoted as , then the proportionality coefficient It can also be expressed as the following formula (3):

[0055] (3)

[0056] Based on the above formula, it is not difficult to see that the position of the magnetic field sensor is related to the proportional coefficient of the magnetic field sensor. size and stability. The larger the value is, the greater the signal-to-noise ratio of the magnetic field sensor is, and the higher the current measurement accuracy is under external magnetic field interference. The smoother the spatial magnetic field change at the location of the magnetic field sensor, that is, Function about and The smaller the absolute value of the partial derivative, the smaller the influence of the position deviation of the magnetic field sensor, and the more stable the measurement scheme.

[0057] In the embodiment of the present application, based on the principles shown in the above formulas (1)-(3), the size parameters of the current-carrying conductor to be measured, the initial positions of multiple magnetic field sensors arranged above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor can be obtained, and then the current of the current-carrying conductor to be measured can be determined based on the size parameters, each initial position and each magnetic field strength.

[0058] Alternatively, the magnetic field sensor may comprise, for example, a tunneling magnetoresistive (TMR) sensor.

[0059] S202 : Determine the target position of each magnetic field sensor according to the size parameters, each initial position, and each magnetic field strength.

[0060] In an embodiment of the present application, the preset initial positions of each magnetic field sensor can be obtained. Since in the actual measurement process, the actual setting position (i.e., the target position) of each magnetic field sensor is not necessarily the same as the preset initial position, the target position of each magnetic field sensor can be inverted based on the dimensional parameters, each initial position and each magnetic field strength, so as to eliminate the influence of the position uncertainty of the magnetic field sensor on the current measurement as much as possible, thereby improving the accuracy of the current measurement of the current-carrying conductor to be measured.

[0061] Optionally, an objective function can be constructed regarding the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position and each target position, and then the size parameters, each initial position and each magnetic field strength are substituted into the objective function to solve the objective function and obtain the target position of each magnetic field sensor.

[0062] It should be noted that in actual applications, it is only necessary to invert the target position based on the initial position of the magnetic field sensor when the magnetic field sensor is first installed. There is no need to repeat the measurement in subsequent uses, which further simplifies the operational process of current measurement.

[0063] S203 , determining the current of the current-carrying conductor to be measured according to the target position, magnetic field strength and size parameters of each magnetic field sensor.

[0064] In one embodiment, the proportional coefficient corresponding to each magnetic field sensor can be determined according to the target position and size parameters of each magnetic field sensor according to the above formulas (1) and (2), and then the current of the current-carrying conductor to be measured can be determined according to each proportional coefficient and each corresponding magnetic field strength based on formula (1).

[0065] In an embodiment of the present application, the dimensional parameters of a current-carrying conductor to be measured, the initial positions of multiple magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor are obtained. Based on the dimensional parameters, each initial position, and each magnetic field strength, a target position of each magnetic field sensor is determined. Then, based on the target position of each magnetic field sensor, each magnetic field strength, and the dimensional parameters, the current of the current-carrying conductor to be measured is determined. Because the target position can be inverted based on the initial position of the magnetic field sensor in this embodiment of the present application, the effect of the positional deviation of the magnetic field sensor on the current measurement can be reduced, thereby improving the accuracy of the current measurement.

[0066] For example, refer to Figure 4-5 , Figure 4 : is a curve diagram showing the change of a proportional coefficient with the horizontal coordinate of a magnetic field sensor provided in an embodiment of the present application. Figure 5This is a curve diagram of a proportional coefficient that varies with the vertical coordinate of the magnetic field sensor provided in an embodiment of the present application. When measuring the current of a current-carrying conductor to be measured based on a single magnetic field sensor, assuming that the size of the current-carrying conductor to be measured is 125mm×10mm, the magnetic field sensor can be made The vertical coordinate The magnetic field sensor is calculated based on the above formulas (1) and (2) to obtain the following equations: The proportionality factor Magnetic field sensor The horizontal axis Schematic diagram of the changing curve, such as Figure 4 As shown. You can also make the magnetic field sensor The horizontal axis are 0mm, 10mm, 30mm and 50mm respectively, then the magnetic field sensor is calculated based on the above formulas (1) and (2): The proportionality factor Magnetic field sensor The vertical coordinate Schematic diagram of the changing curve, such as Figure 5 shown.

[0067] according to Figure 4-5 It can be seen that the proportional coefficient Magnetic field sensor The horizontal axis The changing curve shows a trend of being gentle in the middle and steep at both ends, and the magnetic field sensor The farther away from the center of the current-carrying conductor to be measured, The smaller the absolute value of Magnetic field sensor The vertical coordinate The changing curve shows monotonicity, and the magnetic field sensor The greater the height, That is, when the magnetic field sensor Set it in the center just above the current-carrying conductor to be measured, i.e. When the magnetic field sensor is in the optimal horizontal position, The lower the height of the magnetic field sensor, the closer it is to the optimal vertical position.

[0068] It should be noted that if there are no uncertainty factors, the current of the current-carrying conductor to be measured can be accurately measured based on a single magnetic field sensor based on the above principle. However, in the actual measurement process, there are uncertainty factors such as parameter uncertainty of the current-carrying conductor to be measured, position uncertainty of the magnetic field sensor, and external magnetic field interference uncertainty. Therefore, it is impossible to accurately measure the current of the current-carrying conductor to be measured based on a single magnetic field sensor. Therefore, multiple magnetic field sensors are introduced in the embodiment of the present application to eliminate the influence of the position uncertainty of the magnetic field sensor on the current measurement as much as possible, thereby improving the accuracy of the current measurement of the current-carrying conductor to be measured.

[0069] Reference Figure 6 , Figure 6 This is a flow chart of a method for determining the current of a current-carrying conductor to be measured, provided in an embodiment of the present application. This embodiment relates to a possible implementation method for determining the current of a current-carrying conductor to be measured based on the target position, magnetic field strength, and dimensional parameters of each magnetic field sensor. Based on the above embodiment, the above S203 includes the following steps:

[0070] S601 : Determine a proportional coefficient corresponding to each magnetic field sensor according to a target position and size parameters of each magnetic field sensor.

[0071] In the embodiment of the present application, for each magnetic field sensor, the target position of the magnetic field sensor and the size parameters of the current-carrying conductor to be measured can be substituted into the above formulas (1)-(2) to obtain the proportional coefficient corresponding to the magnetic field sensor.

[0072] S602 : Determine the current of the current-carrying conductor to be measured according to the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0073] In one embodiment, for each magnetic field sensor, a linear equation corresponding to the magnetic field sensor is determined based on the proportional coefficient and magnetic field strength of the magnetic field sensor, as well as the current of the current-carrying conductor to be measured. Then, a linear equation group is determined based on the multiple linear equations. Then, the linear equation group is solved based on the proportional coefficients and magnetic field strengths, and the current of the current-carrying conductor to be measured can be determined.

[0074] In an embodiment of the present application, a proportionality coefficient corresponding to each magnetic field sensor is determined based on the target position and size parameters of each magnetic field sensor, and the current of the current-carrying conductor to be measured is determined based on the proportionality coefficient corresponding to each magnetic field sensor and the magnetic field strength. This allows the current of the current-carrying conductor to be measured to be determined based on a linear relationship between the parameters of the magnetic field sensor and the current of the current-carrying conductor to be measured, without being restricted by the shape of the current-carrying conductor to be measured, thereby improving the flexibility and adaptability of the current measurement of the current-carrying conductor to be measured. Furthermore, determining the current of the current-carrying conductor to be measured based on the linear relationship between the parameters of the magnetic field sensor and the current of the current-carrying conductor to be measured can also increase the speed of current measurement, thereby improving the real-time performance of the measured current.

[0075] Reference Figure 7 , Figure 7 This is a flow chart of another method for determining the current of a current-carrying conductor to be measured provided by an embodiment of the present application. This embodiment relates to a possible implementation method for determining the current of a current-carrying conductor to be measured based on the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor. Based on the above embodiment, the above S602 includes the following steps:

[0076] S701 , for each magnetic field sensor, determine a linear equation corresponding to the magnetic field sensor according to the proportional coefficient and magnetic field strength of the magnetic field sensor and the current of the current-carrying conductor to be measured.

[0077] S702: Determine a linear equation group according to the linear equations corresponding to the magnetic field sensors.

[0078] In one embodiment, if the number of magnetic field sensors is , we can define the scale factor vector and the magnetic field strength vector , whose dimensions are . Scale factor vector and the magnetic field strength vector It can be shown as formula (4):

[0079] (4)

[0080] When the current I flows through the current-carrying conductor to be measured, based on formula (1), the proportional coefficient vector and the magnetic field strength vector The following linear equations (5) can be satisfied:

[0081] (5)

[0082] S703 , determining a least square solution of the linear equations according to the proportional coefficients and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0083] In one embodiment, due to , and the only unknown quantity is the current I of the current-carrying conductor to be measured. Therefore, the linear equations shown in formula (5) are overdetermined linear equations, which do not have an analytical solution, and the proportional coefficient vector is a non-zero column vector, so Greater than 0. Therefore, the Moore-Penrose method can be used to determine the minimum norm least squares solution of the linear equations according to the proportional coefficients and magnetic field strength to obtain the current of the current-carrying conductor to be measured. The above process of finding the least squares solution can be expressed as the following formula (6):

[0084] (6)

[0085] In an embodiment of the present application, for each magnetic field sensor, a linear equation corresponding to the magnetic field sensor is determined based on the proportional coefficient and magnetic field strength of the magnetic field sensor, as well as the current of the current-carrying conductor to be measured. A linear equation group is determined based on the linear equation corresponding to each magnetic field sensor. Then, a least squares solution of the linear equation group is determined based on each proportional coefficient and magnetic field strength to obtain the current of the current-carrying conductor to be measured. Thus, the current of the current-carrying conductor to be measured can be determined based on the linear relationship between the parameters of the magnetic field sensor and the current of the current-carrying conductor to be measured, without being restricted by the shape of the current-carrying conductor to be measured, thereby improving the flexibility and adaptability of the current measurement of the current-carrying conductor to be measured. Furthermore, determining the current of the current-carrying conductor to be measured based on the linear relationship between the parameters of the magnetic field sensor and the current of the current-carrying conductor to be measured can also increase the speed of current measurement, thereby improving the real-time performance of the measured current.

[0086] Reference Figure 8 , Figure 8 This is a flow chart of a method for determining the target position of a magnetic field sensor provided in an embodiment of the present application. This embodiment involves a possible implementation method for determining the target position of each magnetic field sensor based on dimensional parameters, initial positions, and magnetic field strengths. Based on the above embodiment, S202 includes the following steps:

[0087] S801 , constructing an objective function regarding the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position, and each target position.

[0088] For example, the objective function regarding the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position and each target position can be expressed as the following formula (7):

[0089] (7)

[0090] In formula (7), is the target position of the magnetic field sensor, is the initial position, is a preset constant.

[0091] It should be noted that since multiple magnetic field sensors are arranged at equal intervals above the current-carrying conductor to be measured, and the distance between each magnetic field sensor and the current-carrying conductor to be measured is equal, when inverting the target position based on the initial position, the target positions of all magnetic field sensors can be determined by inverting the corresponding target position based on the initial position of any one magnetic field sensor.

[0092] S802 , solving the target function according to the size parameters, the initial positions, and the magnetic field intensities to obtain the target position of each magnetic field sensor.

[0093] In one embodiment, the target position can be minimized based on the interior point method. As the target, solve the objective function (7) according to the size parameters, initial positions and magnetic field strengths to obtain the target position of each magnetic field sensor .

[0094] In an embodiment of the present application, an objective function is constructed based on the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, the magnetic field strength, the initial position, and the target position. The objective function is then solved based on the dimensional parameters, the initial position, and the magnetic field strength to obtain the target position of each magnetic field sensor. This allows the target position to be inverted based on the initial position of the magnetic field sensor, thereby reducing the impact of the position deviation of the magnetic field sensor on the current measurement and improving the accuracy and flexibility of the current measurement. Furthermore, inverting the target position from the initial position can reduce the requirements for setting up the magnetic field sensor, simplify the installation operation of the magnetic field sensor, improve the convenience of operation, and better meet the needs of actual measurement.

[0095] Based on the above embodiment, the above S802 can be implemented in the following manner:

[0096] Based on the interior point method, with the goal of minimizing the target position, the objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0097] For example, the interior point method can be used based on the fmincon function in MATLAB to minimize the target position. The objective function is solved according to the size parameters, the initial positions and the magnetic field intensities to obtain the target position of each magnetic field sensor.

[0098] In the embodiments of the present application, based on the interior point method, the objective function is solved based on the dimensional parameters, the initial positions, and the magnetic field strengths to minimize the target position, thereby obtaining the target position of each magnetic field sensor. This reduces the impact of the magnetic field sensor's positional deviation on current measurement, improving the computational efficiency, accuracy, and flexibility of current measurement. Furthermore, inverting the target position from the initial position reduces the requirements for setting up the magnetic field sensor, simplifies the installation of the magnetic field sensor, improves operational convenience, and better adapts to actual measurement needs.

[0099] On the basis of the above embodiment, the magnetic field sensors are arranged above the current-carrying conductor to be measured at equal intervals, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0100] For example, refer to Figure 3 , Figure 3 Schematic diagram of the position of a magnetic field sensor and a current-carrying conductor to be measured provided by an embodiment of the present application. Figure 3 As shown, multiple magnetic field sensors can be evenly spaced above the current-carrying conductor to be measured, with each magnetic field sensor being equidistant from the current-carrying conductor to be measured (i.e., each magnetic field sensor is at the same height). The horizontal spacing between each magnetic field sensor is d, and the distance between each magnetic field sensor and the current-carrying conductor to be measured is h.

[0101] It should be noted that if Figure 3 The cross-sectional shape of the current-carrying conductor to be measured shown is only one possible implementation method, and does not limit the cross-sectional shape of the current-carrying conductor to be measured to be a rectangle. In actual applications, the cross-sectional shape of the current-carrying conductor to be measured may also be, for example, rounded or other complex shapes, which is not specifically limited here.

[0102] Since, in the embodiment of the present application, the magnetic field sensor is directly attached to the surface of the current-carrying conductor to be measured, the use of structures such as magnetic rings in traditional measuring equipment is reduced, and the volume and weight of the measuring device are greatly reduced. At the same time, the installation and insulation design are simplified, and it can be better applied to the power equipment environment with limited space. In addition, it does not limit the cross-sectional shape of the current-carrying conductor to be measured, and can be more widely used in complex smart grid and microgrid environments, especially in DC power supply systems, high-frequency current equipment and other power devices that require compact design, and can better meet the needs of modern power systems for high-precision and high-reliability current measurement.

[0103] Reference Figure 9 , Figure 9 : This is a flow chart of a current measurement method based on a distributed magnetic field sensor array provided in an embodiment of the present application. The method includes the following steps:

[0104] S901 , arranging a plurality of magnetic field sensors at equal intervals above a current-carrying conductor to be measured, with the distance between each magnetic field sensor and the current-carrying conductor to be measured being equal.

[0105] S902 , obtaining the size parameters of the current-carrying conductor to be measured, the initial positions of multiple magnetic field sensors, and the magnetic field strength measured by each magnetic field sensor.

[0106] S903 , based on the interior point method, with the goal of minimizing the target position, solving the objective function according to the size parameters, each initial position and each magnetic field strength, and obtaining the target position of each magnetic field sensor.

[0107] S904 : Determine a proportional coefficient corresponding to each magnetic field sensor according to the target position and size parameters of each magnetic field sensor.

[0108] S905 , determining a least square solution of the linear equations according to the proportional coefficients and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0109] In order to introduce the embodiments of the present application more clearly, Figure 10 An exemplary description is given. Figure 10 Schematic diagram of a current measurement error provided by an embodiment of the present application. Figure 10 As shown in the figure, taking a 125mm×10mm rectangular current-carrying conductor to be tested as an example, a distributed magnetic field sensor array (i.e., the multiple magnetic field sensors mentioned above) is placed on the current-carrying conductor to be tested, ensuring that it is located at the center of the current-carrying conductor to be tested as much as possible. Under the condition of no external interference, the known DC current generated by the current source is measured. The current measurement range is set between 0A and 200A, and the experimental test is performed at intervals of 5A. The experimental test results are shown in the figure below. Figure 10 As shown, Figure 10 The left vertical axis represents the current measurement value of the distributed magnetic field sensor array, while the right vertical axis represents the current measurement error of the distributed magnetic field sensor array. Considering that when the measured current value is small, the interference caused by noise can seriously affect the current measurement accuracy of the distributed magnetic field sensor array, only the current measurement error in the range of 20A-200A is calculated.

[0110] Figure 10 The current measurement error of the distributed magnetic field sensor array is demonstrated. It can be seen that the current measurement value of the magnetic field sensor shows good linearity with the actual current. Its relative current measurement error fluctuates within the range of ±0.5%, which reaches the current sensor standard of level 0.5.

[0111] It should be understood that, although the various steps in the flowcharts involved in the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion 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 performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0112] Based on the same inventive concept, embodiments of the present application further provide a current measuring device for implementing the current measurement method described above. The solution provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more current measuring device embodiments provided below can be found in the above-described limitations of the current measurement method and are not further elaborated here.

[0113] In one embodiment, Figure 11 As shown, Figure 11 1 is a block diagram of a current measurement device provided in an embodiment of the present application. The device 1100 includes:

[0114] The acquisition module 1101 is used to obtain the size parameters of the current-carrying conductor to be measured, the initial positions of multiple magnetic field sensors arranged above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor.

[0115] The first determining module 1102 is configured to determine a target position of each magnetic field sensor according to the size parameters, each initial position, and each magnetic field strength.

[0116] The second determining module 1103 is configured to determine the current of the current-carrying conductor to be measured according to the target position, magnetic field strength and size parameters of each magnetic field sensor.

[0117] In one embodiment, the second determining module 1103 includes:

[0118] The first determining unit is configured to determine a proportional coefficient corresponding to each magnetic field sensor according to a target position and size parameters of each magnetic field sensor.

[0119] The second determining unit is configured to determine the current of the current-carrying conductor to be measured according to the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0120] In one embodiment, the second determining unit includes:

[0121] The first determination subunit is configured to determine, for each magnetic field sensor, a linear equation corresponding to the magnetic field sensor according to a proportional coefficient and magnetic field strength of the magnetic field sensor and the current of the current-carrying conductor to be measured.

[0122] The second determining subunit is configured to determine a linear equation group according to the linear equations corresponding to the magnetic field sensors.

[0123] The third determining subunit is used to determine the least square solution of the linear equation group according to each proportional coefficient and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0124] In one embodiment, the first determining module 1102 includes:

[0125] The construction unit is used to construct an objective function regarding the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position and each target position.

[0126] The solving unit is used to solve the target function according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0127] In one embodiment, the solving unit is specifically configured to solve the objective function based on the size parameters, the initial positions and the magnetic field intensities based on the interior point method with the goal of minimizing the target position, so as to obtain the target position of each magnetic field sensor.

[0128] In one embodiment, the magnetic field sensors are arranged at equal intervals above the current-carrying conductor to be measured, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0129] Each module in the current measurement device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0130] 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:

[0131] Obtaining the size parameters of the current-carrying conductor to be measured, the initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor;

[0132] Determining target positions of the magnetic field sensors based on the size parameters, the initial positions, and the magnetic field strengths;

[0133] The current of the current-carrying conductor to be measured is determined according to the target position of each magnetic field sensor, the strength of each magnetic field and the size parameters.

[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0135] Determine the proportional coefficient corresponding to each magnetic field sensor according to the target position and size parameters of each magnetic field sensor;

[0136] The current of the current-carrying conductor to be measured is determined based on the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0138] For each magnetic field sensor, determine a linear equation corresponding to the magnetic field sensor based on the proportional coefficient and magnetic field strength of the magnetic field sensor and the current of the current-carrying conductor to be measured;

[0139] Determine a linear equation group according to the linear equations corresponding to each magnetic field sensor;

[0140] The least square solution of the linear equation group is determined according to each proportional coefficient and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0141] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0142] Constructing an objective function regarding the relationship between the proportional coefficients corresponding to the magnetic field sensors, the current of the current-carrying conductor to be measured, the magnetic field intensities, the initial positions, and the target positions;

[0143] The objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0144] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0145] Based on the interior point method, with the goal of minimizing the target position, the objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0146] In one embodiment, the magnetic field sensors are arranged at equal intervals above the current-carrying conductor to be measured, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0148] Obtaining the size parameters of the current-carrying conductor to be measured, the initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor;

[0149] Determining target positions of the magnetic field sensors based on the size parameters, the initial positions, and the magnetic field strengths;

[0150] The current of the current-carrying conductor to be measured is determined according to the target position of each magnetic field sensor, the strength of each magnetic field and the size parameters.

[0151] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0152] Determine the proportional coefficient corresponding to each magnetic field sensor according to the target position and size parameters of each magnetic field sensor;

[0153] The current of the current-carrying conductor to be measured is determined based on the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0155] For each magnetic field sensor, determine a linear equation corresponding to the magnetic field sensor based on the proportional coefficient and magnetic field strength of the magnetic field sensor and the current of the current-carrying conductor to be measured;

[0156] Determine a linear equation group according to the linear equations corresponding to each magnetic field sensor;

[0157] The least square solution of the linear equation group is determined according to each proportional coefficient and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0159] Constructing an objective function regarding the relationship between the proportional coefficients corresponding to the magnetic field sensors, the current of the current-carrying conductor to be measured, the magnetic field intensities, the initial positions, and the target positions;

[0160] The objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0161] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0162] Based on the interior point method, with the goal of minimizing the target position, the objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0163] In one embodiment, the magnetic field sensors are arranged at equal intervals above the current-carrying conductor to be measured, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0164] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0165] Obtaining the size parameters of the current-carrying conductor to be measured, the initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each magnetic field sensor;

[0166] Determining target positions of the magnetic field sensors based on the size parameters, the initial positions, and the magnetic field strengths;

[0167] The current of the current-carrying conductor to be measured is determined according to the target position of each magnetic field sensor, the strength of each magnetic field and the size parameters.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0169] Determine the proportional coefficient corresponding to each magnetic field sensor according to the target position and size parameters of each magnetic field sensor;

[0170] The current of the current-carrying conductor to be measured is determined based on the proportional coefficient and magnetic field strength corresponding to each magnetic field sensor.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0172] For each magnetic field sensor, determine a linear equation corresponding to the magnetic field sensor based on the proportional coefficient and magnetic field strength of the magnetic field sensor and the current of the current-carrying conductor to be measured;

[0173] Determine a linear equation group according to the linear equations corresponding to each magnetic field sensor;

[0174] The least square solution of the linear equation group is determined according to each proportional coefficient and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

[0175] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0176] Constructing an objective function regarding the relationship between the proportional coefficients corresponding to the magnetic field sensors, the current of the current-carrying conductor to be measured, the magnetic field intensities, the initial positions, and the target positions;

[0177] The objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0179] Based on the interior point method, with the goal of minimizing the target position, the objective function is solved according to the size parameters, the initial positions and the magnetic field strengths to obtain the target position of each magnetic field sensor.

[0180] In one embodiment, the magnetic field sensors are arranged at equal intervals above the current-carrying conductor to be measured, and the distances between the magnetic field sensors and the current-carrying conductor to be measured are equal.

[0181] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. 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 above-mentioned embodiments. In particular, any reference to memory, database, or other media 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), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0182] The technical features of the above embodiments can 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.

[0183] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A current measurement method, characterized in that: The method comprises: Obtaining dimensional parameters of a current-carrying conductor to be measured, initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and magnetic field strengths measured by each of the magnetic field sensors; determining a target position of each of the magnetic field sensors according to the size parameters, each of the initial positions, and each of the magnetic field intensities; The current of the current-carrying conductor to be measured is determined according to the target position of each magnetic field sensor, the magnetic field strength and the size parameter.

2. The method according to claim 1, characterized in that The determining the current of the current-carrying conductor to be measured according to the target position of each magnetic field sensor, each magnetic field strength and the size parameter includes: determining a proportional coefficient corresponding to each of the magnetic field sensors according to the target position and the size parameters of each of the magnetic field sensors; The current of the current-carrying conductor to be measured is determined according to the proportional coefficient and magnetic field strength corresponding to each of the magnetic field sensors.

3. The method according to claim 2, characterized in that The determining the current of the current-carrying conductor to be measured according to the proportional coefficient and magnetic field strength corresponding to each of the magnetic field sensors includes: For each of the magnetic field sensors, determining a linear equation corresponding to the magnetic field sensor according to a proportional coefficient and magnetic field strength of the magnetic field sensor, and the current of the current-carrying conductor to be measured; Determine a linear equation group according to the linear equations corresponding to each of the magnetic field sensors; The least square solution of the linear equation group is determined according to each of the proportional coefficients and the magnetic field strength to obtain the current of the current-carrying conductor to be measured.

4. The method according to claim 1, wherein Determining the target position of each magnetic field sensor according to the size parameter, each initial position, and each magnetic field strength includes: Constructing an objective function based on the relationship between the proportional coefficient corresponding to each magnetic field sensor, the current of the current-carrying conductor to be measured, each magnetic field strength, each initial position, and each target position; The objective function is solved according to the size parameters, the initial positions and the magnetic field intensities to obtain the target position of each magnetic field sensor.

5. The method according to claim 4, characterized in that Solving the objective function according to the size parameters, the initial positions, and the magnetic field intensities to obtain the target position of each magnetic field sensor includes: Based on the interior point method, with the goal of minimizing the target position, the objective function is solved according to the size parameters, the initial positions and the magnetic field intensities to obtain the target position of each magnetic field sensor.

6. The method according to any one of claims 1 to 5, characterized in that The magnetic field sensors are arranged above the current-carrying conductor to be measured at equal intervals, and the distance between each magnetic field sensor and the current-carrying conductor to be measured is equal.

7. A current measuring device, characterized in that: The device comprises: an acquisition module, configured to acquire the dimension parameters of the current-carrying conductor to be measured, the initial positions of a plurality of magnetic field sensors disposed above the current-carrying conductor to be measured, and the magnetic field strength measured by each of the magnetic field sensors; a first determining module, configured to determine a target position of each of the magnetic field sensors according to the size parameter, each of the initial positions, and each of the magnetic field intensities; The second determination module is configured to determine the current of the current-carrying conductor to be measured according to the target position of each magnetic field sensor, the magnetic field strength and the size parameter.

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

  • Current magnetic field-based single-wire parameter measuring method

    CN110261730A

  • Current magnetic field-based multi-power transmission line parameter measuring method

    CN110261731A

  • Current measurement method and device, computer equipment and storage medium

    CN114441833A

  • Auto-calibration for coreless current sensors

    US11885866B2

  • Systems and Methods for Magnetometer-Based Current Measurement

    US20180164348A1