Magnetic sensor array, method of detecting current and magnetic sensing device

By using a parallel coaxial circular array and a nonlinear least squares algorithm in the magnetic sensing array, the problem of insufficient measurement accuracy caused by the positional misalignment between the current-carrying wire and the sensor was solved, and high-precision current measurement was achieved.

CN123176618APending Publication Date: 2026-11-27HUAIROU LABORATORY SCIENCE & TECHNOLOGY ACHIEVEMENTS TRANSFORMATION CENTER HUAIROU DISTRICT BEIJING +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611686059.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing magnetic array current sensors suffer from a sharp drop in measurement accuracy when the current-carrying wire is offset from the sensor position, making it impossible to achieve high-precision current measurement.

Method used

Two parallel, coaxial, and identical circular arrays are used, with sensor positions corresponding one-to-one. The Biot-Savart law is used to establish the functional relationship between magnetic induction intensity and current, eccentric position, tilt angle, and azimuth angle. The unknown parameters are solved by combining a nonlinear least squares algorithm to achieve high-precision current measurement.

Benefits of technology

Even with the current-carrying conductor offset, the current value can be accurately measured, improving measurement accuracy and solving the measurement error problem caused by position offset in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176618A_ABST
    Figure CN123176618A_ABST
Patent Text Reader

Abstract

The application provides a magnetic sensing array, a current detection method and a magnetic sensing device. The magnetic sensing array comprises: a first circular ring array comprising a plurality of first sensors arranged along a first circumference at intervals, the sensitive axis direction of the first sensor being perpendicular to the center of the first circumference and pointing to the radial vector of the first sensor; and a second circular ring array comprising a plurality of second sensors arranged along a second circumference at intervals, the sensitive axis direction of the second sensor being perpendicular to the center of the second circumference and pointing to the radial vector of the second sensor; the plane where the first circumference is located is parallel to the plane where the second circumference is located, the first circumference and the second circumference have the same radius and are coaxial, and the first sensor and the second sensor correspond to each other and overlap along the normal direction of the circumference. The application solves the problem of insufficient measurement accuracy of the magnetic array current sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of non-contact current measurement technology, and more specifically, to a magnetic sensing array, a method for detecting current using a magnetic sensing array, and a magnetic sensing device. Background Technology

[0002] Magnetic array current sensors, based on advanced magnetic field sensing technology, measure the magnetic field at multiple points in the space surrounding a current-carrying conductor. By employing an algorithm to solve the inverse magnetic field problem, they can achieve accurate measurement of the current. They offer numerous advantages, including non-contact operation, wide bandwidth, flexible deployment, compact size, and light weight, and hold promise for distributed, wide-area measurement of grid current. However, when the relative position between the current-carrying conductor and the magnetic array current sensor shifts, significant measurement errors occur, leading to a sharp decrease in measurement accuracy. Summary of the Invention

[0003] The main objective of this application is to provide a magnetic sensing array, a method for detecting current using a magnetic sensing array, and a magnetic sensing device, so as to at least solve the problem of insufficient measurement accuracy of magnetic array current sensors in the prior art.

[0004] To achieve the above objectives, according to one aspect of this application, a magnetic sensing array is provided, comprising: a first annular array including a plurality of first sensors arranged at intervals along a first circumference, wherein the sensitive axis direction of the first sensors is perpendicular to the center of the first circumference and points to the radial vector of the first sensors; a second annular array including a plurality of second sensors arranged at intervals along a second circumference, wherein the sensitive axis direction of the second sensors is perpendicular to the center of the second circumference and points to the radial vector of the second sensors; the plane containing the first circumference is parallel to the plane containing the second circumference, the first circumference and the second circumference have the same radius and coaxial centers, and the first sensors and the second sensors overlap one-to-one along the circumferential normal direction.

[0005] Optionally, the number of the first sensors is greater than or equal to 4, and 4 of the multiple first sensors are arranged orthogonally at 90° intervals on the first circumference.

[0006] Optionally, the number of the second sensors is greater than or equal to 4, and 4 of the multiple second sensors are arranged orthogonally at 90° intervals on the second circumference.

[0007] Optionally, both the first sensor and the second sensor are TMR sensors.

[0008] According to another aspect of this application, a method for detecting current using the aforementioned magnetic sensing array is provided, wherein the conductor to be tested passes through a first circular array and a second circular array. The method includes: acquiring magnetic flux density measurements from a plurality of magnetic sensors, the plurality of magnetic sensors including a plurality of first sensors and a plurality of second sensors; based on the Biot-Savart law, establishing a functional relationship between the theoretical magnetic flux density values ​​of each magnetic sensor and the current on the conductor to be tested, the eccentric position, tilt angle, and azimuth angle of the conductor to be tested, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, based on the azimuth angle of the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference; the eccentric position being the intersection point of the conductor to be tested and the plane containing the first circumference, the tilt angle being the angle between the conductor to be tested and the normal to the circumference, and the azimuth angle being the angle between the projection of the conductor to be tested onto the plane containing the first circumference and a preset direction on the plane containing the first circumference; and calculating the current value in the functional relationship based at least on the plurality of magnetic flux density measurements and the functional relationship to obtain the actual current value on the conductor to be tested.

[0009] Optionally, based on the Biot-Savart law, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, a functional relationship is established between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle, and azimuth angle of the conductor under test. This includes: constructing a first expression using the sine and cosine values ​​of the orientation parameters of each first sensor and the circumference radius, and constructing a second expression using the azimuth angle, the tilt angle, and the eccentric position. The first expression represents the perpendicular distance from the center point of each first sensor to the axis of the conductor under test, and the second expression represents the magnetic field component generated by the conductor under test in the sensitive axis direction of each first sensor. Based on the Biot-Savart law, a functional relationship is established between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, the tilt angle, and the azimuth angle. A first functional relationship is established between the theoretical value of the magnetic flux density of the first sensor, the current on the conductor under test, the first expression, and the second expression. Based on the sine and cosine values ​​of the orientation parameters of each second sensor, the center-to-center distance, and the circumference radius, a third expression is constructed using the eccentric position, the tilt angle, and the azimuth angle. A fourth expression is constructed using the azimuth angle, the tilt angle, and the eccentric position. The third expression represents the perpendicular distance from the center point of each second sensor to the axis of the conductor under test, and the fourth expression represents the magnetic field component generated by the conductor under test along the sensitive axis direction of each second sensor. Based on the Biot-Savart law, a second functional relationship is established between the theoretical value of the magnetic flux density of the second sensor, the current on the conductor under test, the third expression, and the fourth expression.

[0010] Optionally, based on at least a plurality of the measured magnetic flux density values ​​and the functional relationship, the value of the current in the functional relationship is calculated to obtain the actual current value on the conductor to be tested, including: obtaining the initial value of the current, the initial value of the eccentric position, the initial value of the tilt angle, and the initial value of the azimuth angle to obtain an initial value set; constructing an objective function based on the measured magnetic flux density values ​​and the functional relationship, wherein the objective function is the sum of squares of the residual vector, the residual vector includes the residual elements of each magnetic sensor, and the residual elements are the differences between the measured magnetic flux density values ​​and the theoretical magnetic flux density values; starting from the initial value set, using a nonlinear least squares algorithm to iteratively solve for the value of the current, the value of the eccentric position, the value of the tilt angle, and the value of the azimuth angle corresponding to the minimum of the objective function.

[0011] Optionally, obtaining the initial value of the current and the initial value of the tilt angle includes: calculating the initial value of the current based on the average value of the magnetic flux density measurements of the plurality of first sensors; calculating the root mean square deviation of the difference between the magnetic flux density measurements of the plurality of first sensors and the corresponding plurality of second sensors; and determining the initial value of the tilt angle as the product of the root mean square deviation and a preset coefficient, wherein the preset coefficient is a pre-calibrated coefficient characterizing the monotonic relationship between the root mean square deviation and the tilt angle.

[0012] Optionally, among the plurality of first sensors, four first sensors are arranged orthogonally at 90° intervals on the first circumference, and among the plurality of second sensors, four second sensors are arranged orthogonally at 90° intervals on the second circumference. Before establishing the functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle and azimuth angle of the conductor under test, based on the Biot-Savart law and according to the distance between the centers of the first and second circumferences, the circumference radius and the orientation parameters of each magnetic sensor on its respective circumference, the method further includes: establishing a spatial rectangular coordinate system with the plane where the first circumference is located as the plane where the XY axis is located, the center of the first circumference as the origin and the direction of the circumference normal as the Z axis, wherein the sensitive axes of two first sensors and two second sensors are perpendicular to the X axis, the sensitive axes of the other two first sensors and the other two second sensors are perpendicular to the Y axis, and the preset direction is parallel to the X axis direction.

[0013] Optionally, obtaining the initial value of the eccentric position includes: calculating the initial value of the abscissa of the eccentric position based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the X-axis and the circumference radius; and calculating the initial value of the ordinate of the eccentric position based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the Y-axis and the circumference radius.

[0014] Optionally, obtaining the initial value of the azimuth angle includes: determining that the initial value of the azimuth angle is 0, or determining the initial value of the azimuth angle based on the arctangent value of the magnetic induction intensity measurement values ​​of the two first sensors orthogonal at 90°.

[0015] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the methods described.

[0016] According to another aspect of this application, a magnetic sensing device is provided, comprising: any of the magnetic sensing arrays described above; and an electronic device comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any of the methods described above.

[0017] By applying the technical solution of this application, two parallel, coaxial, radii-equivalent, and spaced-to-distance circular arrays are set up, with the sensor positions in the two circular arrays corresponding one-to-one. This not only captures the tangential magnetic field component in the plane of each circular array, but also obtains the change in magnetic field from one plane to another. This provides sufficient data for identifying the eccentricity and tilt of the wire under test relative to the sensor, enabling high-precision measurement of the current on the wire under test. This solves the problem of insufficient current measurement accuracy caused by the offset of the relative position between the wire under test and the magnetic array current sensor in the prior art. Attached Figure Description

[0018] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings: Figure 1 A schematic diagram of the structure of a magnetic sensing array provided in an embodiment of this application is shown; Figure 2 A hardware structure block diagram of a mobile terminal performing a method for detecting current using a magnetic sensor array, according to an embodiment of this application, is shown. Figure 3 A schematic flowchart of a method for detecting current using a magnetic sensor array according to an embodiment of this application is shown. Figure 4 A comparison chart of the trend of relative current error with eccentricity obtained by means of the embodiments of this application and conventional methods is shown; Figure 5 A comparison graph showing the trend of relative current error with tilt angle obtained using the embodiment of this application and the conventional method is shown; Figure 6 A structural block diagram of a device for detecting current using a magnetic sensor array, according to an embodiment of this application, is shown.

[0019] The above figures include the following reference numerals: 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device; 10. First circular array; 11. Second circular array; 12. Wire to be tested; 13. First sensor; 14. Second sensor; 300. Acquisition unit; 301. Establishment unit; 302. Calculation unit. Detailed Implementation

[0020] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0021] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0022] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be used interchangeably where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0023] Ideally, the current-carrying conductor should be perpendicular to the plane of the magnetic array current sensor and pass through the center of the sensor. However, in reality, the current-carrying conductor cannot pass through the center precisely (resulting in eccentricity) or cannot be perpendicular to the sensor plane (i.e., it is tilted). This offset leads to insufficient accuracy in measuring the current on the current-carrying conductor by the magnetic array current sensor. To solve this technical problem, embodiments of this application provide a magnetic sensing array, a method for detecting current using a magnetic sensing array, and a magnetic sensing device.

[0024] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0025] This application provides a magnetic sensing array. Figure 1 A schematic diagram of the structure of a magnetic sensing array in one embodiment of this application is shown as an example. Figure 1 As shown, the magnetic sensing array includes: The first annular array 10 includes a plurality of first sensors 13 arranged at intervals along the first circumference, wherein the sensitive axis of the first sensor 13 is perpendicular to the center of the first circumference and points to the radial vector of the first sensor 13. Specifically, the sensitive axis refers to the magnetic sensitive axis of the magnetic sensor. That is, the sensitive axis direction of the first sensor 13 is parallel to the tangential direction of the first sensor 13 along the first circumference. Optionally, multiple first sensors 13 can be arranged at equal intervals on the first circumference. In specific applications, the sensitive axis directions of multiple first sensors 13 can be set to be in the same direction, i.e., all clockwise or all counterclockwise; the sensitive axis directions of multiple first sensors 13 can also be set to be paired and opposite, i.e., the sensitive axis directions of two first sensors 13 located symmetrically on the first circumference are set to be parallel and opposite; the sensitive axis directions of multiple first sensors 13 can also be grouped and opposite, i.e., the first sensors 13 located on the first circumference are divided into several groups, the sensitive axis directions of the first sensors 13 within a group are in the same direction, and the sensitive axis directions of the first sensors 13 between different groups are opposite.

[0026] The second annular array 11 includes a plurality of second sensors 14 arranged at intervals along the second circumference, wherein the sensitive axis of the second sensor 14 is perpendicular to the center of the second circumference and points to the radial vector of the second sensor 14. In other words, the sensitive axis direction of the second sensor 14 is parallel to the tangential direction of the second sensor 14 along the second circumference. Optionally, multiple second sensors 14 can be arranged at equal intervals on the second circumference. In specific applications, the sensitive axis directions of multiple second sensors 14 can be set to be in the same direction, i.e., all clockwise or all counterclockwise; the sensitive axis directions of multiple second sensors 14 can also be set to be paired and opposite, i.e., the sensitive axis directions of two second sensors 14 located symmetrically on the second circumference are set to be parallel and opposite; the sensitive axis directions of multiple second sensors 14 can also be set to be grouped and opposite, i.e., the second sensors 14 located on the second circumference are divided into several groups, the sensitive axis directions of the second sensors 14 within a group are in the same direction, and the sensitive axis directions of the second sensors 14 between different groups are opposite.

[0027] The plane containing the first circumference is parallel to the plane containing the second circumference. The first circumference and the second circumference have the same radius and their centers are coaxial. The first sensor 13 and the second sensor 14 overlap one-to-one along the circumference normal direction.

[0028] Specifically, the overlapping of the first sensor 13 and the second sensor 14 along the circumferential normal direction means that the position of the first sensor 13 on the first circumference corresponds one-to-one with the position of the second sensor 14 on the second circumference. The first annular array 10 and the second annular array 11 are arranged at intervals along the circumferential normal direction, and their planes are parallel. The conductor 12 to be tested passes through the first annular array 10 and the second annular array 11. The magnetic sensing array of this application adopts a non-contact measurement method. Based on Ampere's circuital law, the magnetic field at multiple points on the circumference of the conductor 12 to be tested is measured through multiple first sensors 13 and multiple second sensors 14, and then the current on the conductor 12 to be tested is deduced.

[0029] In the aforementioned embodiment, by setting up two parallel, coaxial, radii-equivalent, and spaced circular arrays with known spacing, the sensor positions in the two arrays correspond one-to-one. This not only captures the tangential magnetic field component within the plane of each array but also obtains the change in magnetic field from one plane to another. This provides sufficient data for identifying the eccentricity and tilt of the conductor under test relative to the sensor, enabling high-precision measurement of the current on the conductor under test. This solves the problem of insufficient current measurement accuracy caused by the relative positional shift between the conductor under test and the magnetic array current sensor in the prior art.

[0030] Specifically, the change in magnetic field from one plane to another is highly sensitive to the tilt of the conductor under test. This change is captured by two spaced circular arrays, making the tilt of the conductor an observable variable. This change, combined with the tangential magnetic field component detected by multiple magnetic sensors, can decouple the eccentricity and tilt of the conductor from complex magnetic field distortions, thus providing accurate data support for current detection on the conductor.

[0031] In order to satisfy the spatial sampling theorem, thereby accurately reconstructing the magnetic field distribution around the conductor mathematically and physically, and ensuring the accuracy and anti-interference of current measurement, according to some exemplary embodiments of this application, the number of the first sensor 13 is greater than or equal to 4; the number of the second sensor 14 is greater than or equal to 4.

[0032] In one optional embodiment, when the number of the first sensors 13 is four, the four first sensors 13 (S1, S2, S3, and S4, respectively) are arranged orthogonally at 90° intervals on the first circumference. In this embodiment, the four first sensors 13 form two differential pairs, which can strongly resist common-mode interference. At the same time, the interference magnetic field generated by the eccentricity of the wire under test 12 mainly contains the fundamental wave. The four orthogonal points correspond exactly to the X-axis and Y-axis of the Cartesian coordinate system. By subtracting the magnetic induction intensity detected by the four first sensors 13, the direction and distance vector of the wire under test 12 deviating from the center of the circle can be accurately calculated, realizing the decoupling of the two-dimensional eccentricity vector. In addition, the equal spacing of the four points can ensure that the attenuation of the measurement sensitivity is uniform no matter which direction the wire under test 12 deviates from.

[0033] In another alternative scheme, when the number of the first sensors 13 is greater than 4, the four first sensors 13 are arranged at 90° intervals orthogonal to each other on the first circumference, and the remaining first sensors 13 are evenly distributed among the four first sensors 13.

[0034] In one optional embodiment, when the number of second sensors 14 is four, the four second sensors 14 (S5, S6, S7, and S8, respectively) are arranged orthogonally at 90° intervals on the second circumference. In this embodiment, the four second sensors 14 form two differential pairs, which can strongly resist common-mode interference. At the same time, the interference magnetic field generated by the eccentricity of the wire under test 12 mainly contains the fundamental wave. The four orthogonal points correspond exactly to the X-axis and Y-axis of the Cartesian coordinate system. By subtracting the magnetic induction intensity detected by the four second sensors 14, the direction and distance vector of the wire under test 12 deviating from the center of the circle can be accurately calculated, realizing the decoupling of the two-dimensional eccentricity vector. In addition, the equal spacing of the four points can ensure that the attenuation of the measurement sensitivity is uniform no matter which direction the wire under test 12 deviates from.

[0035] In another alternative scheme, when the number of the second sensors 14 is greater than 4, the four second sensors 14 are arranged at 90° intervals orthogonal to each other on the second circumference, and the remaining second sensors 14 are evenly distributed among the four second sensors 14.

[0036] The first sensor 13 and the second sensor 14 can be any type of magnetic current sensor, including but not limited to Hall sensors, AMR sensors, TMR sensors, GMR sensors and MI sensors.

[0037] In one exemplary embodiment of this application, both the first sensor 13 and the second sensor 14 are TMR sensors. TMR sensors possess high sensitivity, high signal-to-noise ratio, good linearity, and wide dynamic range, making them an ideal choice for high-performance current detection.

[0038] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, Figure 2 This is a hardware structure block diagram of a mobile terminal for a current detection method according to an embodiment of this application. Figure 2 As shown, a mobile terminal may include one or more ( Figure 2 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 2 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include components that are larger than... Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown.

[0039] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the current detection method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, i.e., implementing the method described. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0040] This embodiment provides a method for detecting current that operates on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0041] Figure 3 This is a flowchart of a method for detecting current using the magnetic sensing array according to an embodiment of this application. The conductor under test is a current-carrying conductor that passes through the first circular array and the second circular array, as shown below. Figure 3 As shown, the method includes the following steps: Step S201: Obtain the magnetic induction intensity measurement values ​​of multiple magnetic sensors, wherein the multiple magnetic sensors include multiple first sensors and multiple second sensors; Specifically, when current flows through the conductor under test, a ring-shaped magnetic field is generated around the conductor, and multiple magnetic sensors pick up the magnetic field.

[0042] Step S202: Based on the Biot-Savart law, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, establish a functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle, and azimuth angle of the conductor under test. The eccentric position is the intersection point of the conductor under test and the plane of the first circumference. The tilt angle is the angle between the conductor under test and the normal of the circumference. The azimuth angle is the angle between the projection of the conductor under test onto the plane of the first circumference and a preset direction on the plane of the first circumference. Specifically, the distance between the centers of the first and second circumferences is the spacing between the two annular arrays. The orientation parameters describe the spatial position of the magnetic sensor on the circumference, including but not limited to angular and radial positions. The preset direction is any suitable direction parallel to the plane containing the first circumference. For example, a Cartesian coordinate system can be established on the plane containing the first circumference, and one of the positive / negative half-axis of the X-axis or the positive / negative half-axis of the Y-axis can be selected as the preset direction.

[0043] Step S203: Based on at least a plurality of the measured magnetic induction intensity values ​​and the functional relationship, calculate the value of the current in the functional relationship to obtain the actual current value on the conductor to be tested.

[0044] In this embodiment, the magnetic flux density measurements of each magnetic sensor are first obtained. Then, according to the Biot-Savart law, using the distance between the centers of the two circles, the circumference of the circles, and the orientation parameters of the magnetic sensors as known quantities, and the current in the conductor under test and the offset of the conductor relative to the two circular arrays as unknown quantities, a functional relationship is established between the theoretical value of the magnetic flux density and the current, eccentricity, tilt angle, and azimuth angle. Finally, based on the obtained magnetic flux density measurements and the functional relationship, the unknown quantities in the functional relationship are solved to obtain the true value of the current in the conductor under test. This application sets up two parallel, coaxial, equidistant circular arrays with the same radius and known spacing in a direction approximately perpendicular to the conductor under test. Magnetic flux density measurements are obtained through these two arrays. Based on this, the theoretical value of the sensor's magnetic flux density is linked to the unknown parameters—current, eccentricity, tilt angle, and azimuth angle—to form a functional relationship. By solving this functional relationship, all unknown parameters can be accurately and robustly solved from redundant measurement information, ultimately achieving high-precision current measurement.

[0045] According to one alternative embodiment of this application, step S202 specifically includes the following steps: Step S2021: Based on the sine and cosine values ​​of the orientation parameters of each of the first sensors and the circumference radius, construct a first expression using the eccentric position and the tilt angle, and construct a second expression using the azimuth angle, the tilt angle, and the eccentric position. The first expression represents the vertical distance from the center point of each of the first sensors to the axis of the conductor under test, and the second expression represents the magnetic field component generated by the conductor under test in the sensitive axis direction of each of the first sensors. Specifically, using the orientation parameters and circumference radius of the first sensor as known quantities, and the eccentricity and tilt angle as unknown quantities, an expression characterizing the vertical distance from the center point of the first sensor to the axis of the conductor under test is constructed. Furthermore, using the orientation parameters and circumference radius of the first sensor as known quantities, and the azimuth angle, tilt angle, and eccentricity as unknown quantities, an expression characterizing the magnetic field component generated by the conductor under test along the sensitive axis direction of the first sensor is constructed.

[0046] Step S2022: Based on the Biot-Savart law, construct a first functional relationship between the theoretical value of the magnetic induction intensity of the first sensor and the current on the conductor to be measured, the first expression, and the second expression; In one optional embodiment, the orientation parameter includes the angle between the line connecting the center point of the first sensor and the center of the first circumference and the preset direction. Step S2022 can be implemented using the magnetic induction formula for an infinitely long straight current-carrying wire derived from the Biot-Savart law. The first functional relation is constructed as follows: (1); (2); Where r is the perpendicular distance from the field point to the center of the conductor axis. The theoretical value of the magnetic flux density of the i-th first sensor. Let be the vacuum permeability, I be the current in the conductor under test, α be the tilt angle, β be the azimuth angle, (a,b) be the eccentric position (also called eccentric coordinates), and R be the radius of the circle. The angle between the line connecting the center point of the i-th first sensor and the center of the first circle and the preset direction; Step S2023: Based on the sine and cosine values ​​of the orientation parameters of each of the second sensors, the center distance, and the circumference radius, a third expression is constructed using the eccentric position, the tilt angle, and the azimuth angle, and a fourth expression is constructed using the azimuth angle, the tilt angle, and the eccentric position. The third expression represents the vertical distance from the center point of each of the second sensors to the axis of the conductor under test, and the fourth expression represents the magnetic field component generated by the conductor under test in the sensitive axis direction of each of the second sensors. Specifically, using the orientation parameters, center distance, and circumference radius of the second sensor as known quantities, and the eccentricity, tilt angle, and azimuth angle as unknown quantities, an expression characterizing the vertical distance from the center point of the second sensor to the axis of the conductor under test is constructed. Furthermore, using the orientation parameters, center distance, and circumference radius of the second sensor as known quantities, and the eccentricity, tilt angle, and azimuth angle as unknown quantities, an expression characterizing the magnetic field component generated by the conductor under test along the sensitive axis direction of the second sensor is constructed. The center distance is introduced in this step, representing vertical gradient information.

[0047] Step S2024: Based on the Biot-Savart law, construct a second functional relationship between the theoretical value of the magnetic induction intensity of the second sensor and the current on the conductor to be measured, the third expression, and the fourth expression.

[0048] Specifically, the first functional relation and the second functional relation constitute the functional relation.

[0049] In one optional embodiment, the orientation parameter includes the angle between the line connecting the center point of the second sensor and the center of the second circumference and the preset direction. Step S2024 can be implemented as follows: Based on the formula for the magnetic induction intensity of an infinitely long straight current-carrying conductor derived from the Biot-Savart law, the second functional relationship is constructed as follows: (3); (4); in, This represents the theoretical value of the magnetic flux density of the i-th second sensor. The angle between the line connecting the center point of the i-th second sensor and the center of the second circumference and the preset direction is given, where c is the distance from the center.

[0050] In the aforementioned embodiment, based on the Biot-Savart law, a functional relationship for the magnetic flux density at each magnetic sensor location is derived, considering parameters such as current, eccentricity, azimuth, and tilt angle. This yields the theoretical expression for the magnetic flux density of each sensor, transforming unknown parameters that cannot be directly measured into undetermined quantities that can be solved using the relationship. This eliminates the need for direct detection of unknown parameters; the inverse solution can be completed using only known parameters and measured magnetic flux density values. Furthermore, the Biot-Savart law provides physical constraints and a mechanism for filtering out random disturbances that do not conform to physical laws, significantly improving the robustness and anti-interference capability of the unknown parameter solution.

[0051] It is understood that the number of the first functional relationships is the same as the number of the first sensors, and the number of the second functional relationships is the same as the number of the second sensors.

[0052] According to some exemplary embodiments of this application, at least based on multiple magnetic induction intensity measurements and the functional relationship, the value of the current in the functional relationship is calculated to obtain the actual current value on the conductor to be tested, including: based on multiple magnetic induction intensity measurements and the functional relationship, using a particle swarm optimization algorithm or a genetic algorithm to solve for the value of the current, the value of the eccentric position, the value of the tilt angle, and the value of the azimuth angle in the functional relationship.

[0053] In the process of solving the problem using particle swarm optimization or genetic algorithm, a coarse search is first used to determine each individual in the entire population and its fitness value. During the coarse search, the parameters of each individual in the population are normalized by Z-score before being substituted into the function relationship. Then, the entire population of the coarse search is sorted according to fitness from smallest to largest, and the top n% of high-quality individuals are selected. For each unknown parameter in the high-quality individual set, the mean and standard deviation are calculated, and a new search boundary for each unknown parameter is calculated based on the mean and standard deviation. Based on the new search boundary, a fine search is used to determine the optimal solution for each unknown parameter.

[0054] In some further exemplary embodiments of this application, the actual current value on the conductor under test is obtained by calculating the current value in the functional relationship based on at least a plurality of the magnetic induction intensity measurements and the functional relationship, including: obtaining the initial value of the current, the initial value of the eccentric position, the initial value of the tilt angle, and the initial value of the azimuth angle to obtain an initial value set; constructing an objective function based on the magnetic induction intensity measurements and the functional relationship, wherein the objective function is the sum of squares of the residual vector, the residual vector includes the residual elements of each magnetic sensor, and the residual elements are the differences between the magnetic induction intensity measurements and the theoretical values ​​of the magnetic induction intensity; starting from the initial value set, using a nonlinear least squares algorithm to iteratively solve for the current value, the eccentric position value, the tilt angle value, and the azimuth angle value corresponding to the minimum of the objective function.

[0055] The proposed technical solution, by constructing the residual sum of squares as the objective function, not only possesses optimal noise resistance statistically, but also accurately handles strong nonlinear coupling between unknown parameters without making linear approximations. Simultaneously, the sum of squares form can impose a strong penalty on large deviations, forcing the combination of unknown parameters to achieve a globally balanced fit and avoiding local overfitting. In numerical solution, this solution utilizes an iterative algorithm with a damping mechanism, effectively addressing matrix ill-conditioned problems and ensuring stable convergence. Introducing reasonable initial values ​​can accelerate the solution process.

[0056] Furthermore, the converged residual distribution can also serve as a diagnostic tool for the effectiveness of the solution. Overall, it achieves stable and high-precision inverse inversion of the key parameters that best reflect the essential laws under strong noise and nonlinear conditions, providing a reliable basic model for subsequent control, prediction or diagnosis.

[0057] Those skilled in the art can choose any suitable type of nonlinear least squares algorithm to solve for the unknown parameters. For example, the Gauss-Newton method, the Levenberg-Marquardt algorithm, the trust region method, the quasi-Newton method, or the simplex search method, etc.

[0058] In one specific embodiment, the objective function is first defined as the sum of squares of the residual vectors: The goal is to find an optimal set of position parameters. , so that the objective function Minimum. The Levenberg-Marquardt algorithm is used to solve this nonlinear least squares problem. This algorithm combines the fast convergence of the Gauss-Newton method with the global search property of gradient descent, making it very suitable for solving such overdetermined nonlinear equation systems. The Levenberg-Marquardt algorithm uses the iterative formula: We continuously update the parameter estimates, where J is the Jacobian matrix (partial derivatives of the residuals with respect to each parameter). It is a dynamically adjusted damping factor.

[0059] In another specific embodiment, the actual current value on the conductor under test is obtained by calculating the current value in the functional relationship based on at least a plurality of the measured magnetic induction intensity values ​​and the functional relationship. This includes: obtaining the initial value of the current, the initial value of the eccentric position, the initial value of the tilt angle, and the initial value of the azimuth angle to obtain an initial value set; constructing an objective function based on the measured magnetic induction intensity values ​​and the functional relationship, wherein the objective function is the absolute value of the residual vector, the residual vector includes the residual elements of each magnetic sensor, and the residual elements are the differences between the measured magnetic induction intensity values ​​and the theoretical magnetic induction intensity values; starting from the initial value set, using a nonlinear least squares algorithm to iteratively solve for the current value, the eccentric position value, the tilt angle value, and the azimuth angle value corresponding to the minimum objective function.

[0060] Specifically, the objective function is defined as the absolute value of the residual vector. In the process of iteratively solving the unknown parameters using the least squares method, a squared penalty is used for small errors and a linear penalty is used for large errors.

[0061] According to some further exemplary embodiments of this application, such as Figure 1 As shown, among the multiple first sensors, four first sensors are arranged orthogonally at 90° intervals on the first circumference, and among the multiple second sensors, four second sensors are arranged orthogonally at 90° intervals on the second circumference. Before establishing the functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle and azimuth angle of the conductor under test, based on the Biot-Savart law and according to the distance between the centers of the first and second circumferences, the circumference radius and the orientation parameters of each magnetic sensor on its respective circumference, the method further includes: establishing a spatial rectangular coordinate system with the plane where the first circumference is located as the plane where the XY axis is located, the center of the first circumference as the origin and the direction of the circumference normal as the Z axis, wherein the sensitive axes of two first sensors and two second sensors are perpendicular to the X axis, the sensitive axes of the other two first sensors and the other two second sensors are perpendicular to the Y axis, and the preset direction is parallel to the X axis direction. In this embodiment, by establishing a spatial rectangular coordinate system and introducing a set of reference coordinate axes and the origin, the spatial geometry problem is transformed into an algebraic operation problem.

[0062] Optionally, the initial value set can be a pre-defined and stored set of values, or it can be a set of values ​​obtained through calculation. In specific implementation, in order to ensure that the nonlinear least squares algorithm can quickly converge to the global optimum rather than a local minimum, this application provides a robust initial value estimation method, which includes the following:

[0063] Obtaining the initial value of the current and the initial value of the tilt angle includes: calculating the initial value of the current based on the average value of the magnetic flux density measurements of the plurality of first sensors; calculating the root mean square deviation of the differences between the magnetic flux density measurements of the plurality of first sensors and the corresponding plurality of second sensors; and determining the initial value of the tilt angle as the product of the root mean square deviation and a preset coefficient, wherein the preset coefficient is a pre-calibrated coefficient characterizing the monotonic relationship between the root mean square deviation and the tilt angle.

[0064] Optionally, calculating the initial value of the current based on the average of the magnetic flux density measurements from the plurality of first sensors includes: substituting the average value into... ,in, Characterizing the average value, The initial value of the current is used to characterize the current.

[0065] Optionally, the preset coefficients can be obtained by pre-calibrating the monotonic relationship between the root mean square deviation and the tilt angle through simulation.

[0066] Obtaining the initial value of the eccentric position includes: calculating the initial value of the abscissa of the eccentric position based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the X-axis and the circumference radius; and calculating the initial value of the ordinate of the eccentric position based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the Y-axis and the circumference radius.

[0067] Optionally, the initial value of the abscissa of the eccentric position is calculated based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the X-axis and the circumference radius, including: calculating the initial value of the abscissa of the eccentric position using the following formula based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the X-axis and the circumference radius: (5), where, Let R be the initial x-coordinate of the eccentric position, and R be the radius of the circle. and The magnetic induction intensity measurements are taken from two first sensors whose sensitive axes are perpendicular to the X-axis.

[0068] Optionally, the initial value of the ordinate of the eccentric position is calculated based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the Y-axis and the circumference radius, including: calculating the initial value of the ordinate of the eccentric position using the following formula based on the measured magnetic induction intensity values ​​of the two first sensors whose sensitive axis is perpendicular to the Y-axis and the circumference radius: (6), of which, Let be the initial value of the ordinate of the eccentric position. and The magnetic induction intensity measurements are taken from the two first sensors whose sensitive axes are perpendicular to the Y-axis.

[0069] Obtaining the initial value of the azimuth angle includes: determining the initial value of the azimuth angle to be 0, or determining the initial value of the azimuth angle based on the arctangent value of the magnetic induction intensity measurement values ​​of the two first sensors orthogonal at 90°.

[0070] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the current detection method of this application will be described in detail below with reference to specific embodiments.

[0071] This embodiment relates to a specific method for detecting current using a magnetic sensing array, such as... Figure 1 As shown, the magnetic sensing array specifically includes a first circular array 10 and a second circular array 11. The first circular array 10 is arranged on a first plane, and the second circular array 11 is arranged on a second plane. The first plane and the second plane are parallel and separated by a distance c. Each circular array has four single-axis TMR sensors (S1~S4 and S5~58, respectively). The sensitive axis direction of each TMR sensor is set to the tangential direction along the circumference of the measurement point. The radii of the two circular arrays are both R, and their centers are coaxial. The method includes the following steps: Step S1: Establish a spatial rectangular coordinate system. Model the infinitely long straight conductor to be measured as a straight line with a specific orientation, uniquely determined by five parameters: the magnitude of the current I, the coordinates of the intersection point A(a,b,0) of the conductor and the first plane (i.e., eccentric coordinates), the angle α (tilt angle) between the conductor and the Z-axis, and the angle β (azimuth angle) between the projection of the conductor onto the XY coordinate plane and the X-axis. Figure 1 In the diagram, e1 is the unit vector of the conductor 12 to be measured, e x e is the unit vector along the X-axis. y e is the unit vector along the Y-axis. zLet be the unit vector of the Z-axis. Based on the Biot-Savart law, the theoretical expression of the magnetic induction intensity B at 8 points in space (i.e., the position of each sensor) is derived under the consideration of the five parameters, and the theoretical output expression of the 8 TMR sensors is obtained, as shown in equations (1) to (4) above. Among them, the output of the 4 sensors in the first circular array is a function of (I,a,b,α,β,R,z=0) (see equations (1) and (2)); the output of the 4 sensors in the second circular array is a function of (I,a,b,α,β,R,z=c) (see equations (3) and (4)). A term related to c appears in this function, which is a manifestation of the vertical gradient information.

[0072] Step S2: Generate a set of initial parameters that approximate the true values ​​using an initial value estimation strategy, specifically including: Take the average value of the measurements from the four sensors in the first circular array as the initial current value: The initial value of the eccentric coordinate is estimated by the ratio of the measured values ​​of the relative position sensors (such as sensors in the X-axis direction and Y-axis direction) on the first circular array. The specific calculation formulas are shown in equations (5) and (6). The root mean square difference of the outputs of the corresponding position sensors of the first and second circular arrays is calculated, and the initial value of the tilt angle is estimated by using the monotonic relationship between this difference and the tilt angle (which can be pre-calibrated through simulation). , can be set , Set the initial azimuth angle to 0, or estimate it using the arctangent of orthogonal sensor signals in the same plane.

[0073] Step S3: Subtract the eight actual sensor signal values ​​obtained from the measurement from the eight theoretical output values ​​calculated by the physical model to construct a residual vector r. Define the objective function as the sum of squares of the residual vectors. The goal is to find an optimal set of parameters. To minimize F(x), the Levenberg-Marquardt algorithm is used to solve this nonlinear least squares problem. The algorithm uses an iterative formula... The algorithm continuously updates the parameter estimates and calculates the Jacobian matrix J to determine whether convergence has occurred. If convergence has occurred, the parameters are updated according to the algorithm rules, and the iteration continues. When the objective function converges to a minimum or reaches the preset number of iterations, the algorithm outputs the five parameters that have been finally solved. Among them, the current I is the final high-precision measurement result that has eliminated eccentricity and tilt errors.

[0074] This embodiment uses measurements from eight sensors to solve for five unknowns. The redundancy greatly improves the system's robustness, noise immunity, and measurement accuracy. The sensor layout (R,c) is organically linked with the conductor geometry parameters (a,b,α,β) and the current I, laying a solid theoretical foundation for accurate inversion. The Levenberg-Marquardt algorithm is used to stably and efficiently solve for the optimal solution of the nonlinear model from noisy measurement data.

[0075] The current detection method using the magnetic sensor array of this embodiment and the current detection method using a traditional single-ring sensor array were tested and simulated respectively. The trend of the relative current error as a function of the normalized eccentricity when the tilt angle is 0° is shown in the figure below. Figure 4 As shown in the figure, the trend of the relative current error with tilt angle when the eccentricity d = 0.15R is as follows. Figure 5 As shown, where, Figure 4 The horizontal axis represents the normalized eccentricity, which is the ratio of eccentricity d to array radius R, and the vertical axis represents the relative error of current. Figure 5 The horizontal axis represents the tilt angle, and the vertical axis represents the relative error of the current. Figure 4 As can be seen, when the eccentricity reaches 0.4 times the array radius, the current measurement error in this embodiment can still be stably controlled within 1.5%, while the error of the traditional method exceeds 5%. Figure 5 As can be seen, when the conductor tilt angle is as high as 30°, this embodiment can still maintain a measurement accuracy of better than 1.5%, while the error of the traditional method is close to 7%. Therefore, the method of this embodiment can measure the current on the conductor under test more accurately than the traditional method.

[0076] This application also provides a device for detecting current. It should be noted that the device for detecting current in this application can be used to execute the method for detecting current provided in this application. This device is used to implement the embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0077] The following describes the current detection device provided in the embodiments of this application.

[0078] Figure 6 This is a schematic diagram of a current detection device according to an embodiment of this application. The conductor to be tested is a current-carrying conductor that passes through the first annular array and the second annular array, as shown below. Figure 6 As shown, the device includes: The acquisition unit 300 is used to acquire the magnetic induction intensity measurement values ​​of multiple magnetic sensors, wherein the multiple magnetic sensors include multiple first sensors and multiple second sensors; Specifically, when current flows through the conductor under test, a ring-shaped magnetic field is generated around the conductor, and multiple magnetic sensors pick up the magnetic field.

[0079] Establishment unit 301 is used to establish, based on the Biot-Savart law, the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle and azimuth angle of the conductor under test, according to the distance between the centers of the first circumference and the second circumference, the circumference radius and the orientation parameters of each magnetic sensor on its respective circumference. The eccentric position is the intersection point of the conductor under test and the plane of the first circumference, the tilt angle is the angle between the conductor under test and the normal of the circumference, and the azimuth angle is the angle between the projection of the conductor under test on the plane of the first circumference and the preset direction on the plane of the first circumference. Specifically, the distance between the centers of the first and second circumferences is the spacing between the two annular arrays. The orientation parameters describe the spatial position of the magnetic sensor on the circumference, including but not limited to angular and radial positions. The preset direction is any suitable direction parallel to the plane containing the first circumference. For example, a Cartesian coordinate system can be established on the plane containing the first circumference, and one of the positive / negative half-axis of the X-axis or the positive / negative half-axis of the Y-axis can be selected as the preset direction.

[0080] The calculation unit 302 is used to calculate the value of the current in the functional relationship based on at least a plurality of the magnetic induction intensity measurements and the functional relationship, so as to obtain the actual current value on the conductor to be tested.

[0081] The current detection device includes a processor and a memory. The acquisition unit, the establishment unit, and the calculation unit are all stored as program units in the memory, and the processor executes the program units stored in the memory to achieve the corresponding functions. All modules are located in the same processor; alternatively, the modules may be located in different processors in any combination.

[0082] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can at least address the insufficient measurement accuracy problem of existing magnetic array current sensors.

[0083] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0084] This application also provides a magnetic sensing device, including: any of the magnetic sensing arrays described above; and an electronic device, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for performing any of the methods described above.

[0085] This application's magnetic sensor device creatively introduces a dual-plane sensor array and a physical model-based inversion algorithm to achieve high-precision current measurement. By establishing a dual-plane parameterized model, the eccentric coordinates (a, b) are directly used as unknowns in the solution, giving the device extremely high resistance to eccentricity errors. Utilizing the vertical gradient information of the magnetic field captured by the dual-plane array, the tilt angle becomes an observable variable, giving the device strong resistance to tilt errors. By constructing an overdetermined system of equations using redundant information from multiple sensors and performing global optimization using the Levenberg-Marquardt algorithm, this design greatly averages and suppresses the impact of random noise from a single or a few sensors on the final result, thus giving the device high robustness and noise resistance.

[0086] This application provides a computer-readable storage medium including a stored program, wherein the program controls the device containing the computer-readable storage medium to perform the method of detecting current when it is executed.

[0087] This application provides a processor for running a program, wherein the program executes the method for detecting current during runtime.

[0088] This application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps: Step S201: Obtain the magnetic induction intensity measurement values ​​of multiple magnetic sensors, wherein the multiple magnetic sensors include multiple first sensors and multiple second sensors; Step S202: Based on the Biot-Savart law, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, establish a functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle, and azimuth angle of the conductor under test. The eccentric position is the intersection point of the conductor under test and the plane of the first circumference. The tilt angle is the angle between the conductor under test and the normal of the circumference. The azimuth angle is the angle between the projection of the conductor under test onto the plane of the first circumference and a preset direction on the plane of the first circumference. Step S203: Based on at least a plurality of the measured magnetic induction intensity values ​​and the functional relationship, calculate the value of the current in the functional relationship to obtain the actual current value on the conductor to be tested.

[0089] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0090] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: Step S201: Obtain the magnetic induction intensity measurement values ​​of multiple magnetic sensors, wherein the multiple magnetic sensors include multiple first sensors and multiple second sensors; Step S202: Based on the Biot-Savart law, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, establish a functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle, and azimuth angle of the conductor under test. The eccentric position is the intersection point of the conductor under test and the plane of the first circumference. The tilt angle is the angle between the conductor under test and the normal of the circumference. The azimuth angle is the angle between the projection of the conductor under test onto the plane of the first circumference and a preset direction on the plane of the first circumference. Step S203: Based on at least a plurality of the measured magnetic induction intensity values ​​and the functional relationship, calculate the value of the current in the functional relationship to obtain the actual current value on the conductor to be tested.

[0091] Obviously, those skilled in the art will understand that the modules or steps of this application can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0092] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0097] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0098] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the 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.

[0100] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0101] As can be seen from the above description, the embodiments described in this application achieve the following technical effects: 1) In non-contact current measurement, this application utilizes sensor arrays on two parallel planes to not only detect the magnetic field information on the horizontal plane, but also effectively utilize the magnetic field gradient information in the vertical direction, fundamentally enhancing the ability to identify the tilt angle of the conductor under test.

[0102] 2) This application utilizes the redundant information from multiple sensors in the dual-ring array to construct a complete functional relationship including current, eccentricity, azimuth angle and tilt angle, and uses Levenberg-Marquardt for global optimization solution, which greatly improves the accuracy and robustness of current measurement.

[0103] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A magnetic sensing array, characterized in that, include: The first annular array includes a plurality of first sensors arranged at intervals along the first circumference, wherein the sensitive axis of the first sensor is perpendicular to the center of the first circumference and points to the radial vector of the first sensor. The second annular array includes a plurality of second sensors arranged at intervals along the second circumference, wherein the sensitive axis of the second sensor is perpendicular to the center of the second circumference and points to the radial vector of the second sensor. The plane containing the first circumference is parallel to the plane containing the second circumference. The first circumference and the second circumference have the same radius and their centers are coaxial. The first sensor and the second sensor overlap one-to-one along the circumference normal direction.

2. The magnetic sensing array according to claim 1, characterized in that, The number of the first sensors is greater than or equal to 4, and 4 of the multiple first sensors are arranged orthogonally at 90° intervals on the first circumference.

3. The magnetic sensing array according to claim 1, characterized in that, The number of the second sensors is greater than or equal to 4, and 4 of the multiple second sensors are arranged orthogonally at 90° intervals on the second circumference.

4. The magnetic sensing array according to claim 1, characterized in that, Both the first sensor and the second sensor are TMR sensors.

5. A method for detecting current using a magnetic sensing array according to any one of claims 1 to 4, characterized in that, The method involves passing the conductor under test through the first circular array and the second circular array, and includes: The magnetic induction intensity measurement values ​​of multiple magnetic sensors are obtained, wherein the multiple magnetic sensors include multiple first sensors and multiple second sensors; Based on the Biot-Savart law, according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, a functional relationship is established between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentric position, tilt angle, and azimuth angle of the conductor under test. The eccentric position is the intersection point of the conductor under test and the plane of the first circumference, the tilt angle is the angle between the conductor under test and the normal of the circumference, and the azimuth angle is the angle between the projection of the conductor under test onto the plane of the first circumference and a preset direction on the plane of the first circumference. Based on at least a plurality of the magnetic induction intensity measurements and the functional relationship, the value of the current in the functional relationship is calculated to obtain the actual current value on the conductor to be tested.

6. The method according to claim 5, characterized in that, Based on the Biot-Savart law, and according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, a functional relationship is established between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentricity, tilt angle, and azimuth angle of the conductor under test. This relationship includes: Based on the sine and cosine values ​​of the orientation parameters of each of the first sensors and the circumference radius, a first expression is constructed using the eccentric position and the tilt angle, and a second expression is constructed using the azimuth angle, the tilt angle, and the eccentric position. The first expression represents the vertical distance from the center point of each of the first sensors to the axis of the conductor under test, and the second expression represents the magnetic field component generated by the conductor under test in the sensitive axis direction of each of the first sensors. Based on the Biot-Savart law, a first functional relationship is constructed between the theoretical value of the magnetic induction intensity of the first sensor and the current on the conductor under test, the first expression, and the second expression; Based on the sine and cosine values ​​of the orientation parameters of each of the second sensors, the center distance, and the circumference radius, a third expression is constructed using the eccentric position, the tilt angle, and the azimuth angle, and a fourth expression is constructed using the azimuth angle, the tilt angle, and the eccentric position. The third expression represents the vertical distance from the center point of each of the second sensors to the axis of the conductor under test, and the fourth expression represents the magnetic field component generated by the conductor under test in the sensitive axis direction of each of the second sensors. Based on the Biot-Savart law, a second functional relationship is constructed between the theoretical value of the magnetic induction intensity of the second sensor and the current on the conductor under test, the third expression, and the fourth expression.

7. The method according to claim 5, characterized in that, Based on at least a plurality of the stated magnetic flux density measurements and the stated functional relationship, the value of the current in the functional relationship is calculated to obtain the actual current value on the conductor under test, including: The initial values ​​of the current, the eccentric position, the tilt angle, and the azimuth angle are obtained to obtain a set of initial values. Based on the measured magnetic flux density and the functional relationship, an objective function is constructed. The objective function is the sum of squares of the residual vectors. The residual vectors include residual elements of each of the magnetic sensors. The residual elements are the differences between the measured magnetic flux density and the theoretical magnetic flux density. Starting from the initial set of values, a nonlinear least squares algorithm is used to iteratively solve for the values ​​of the current, the eccentric position, the tilt angle, and the azimuth angle corresponding to the minimum objective function.

8. The method according to claim 7, characterized in that, Obtaining the initial value of the current and the initial value of the tilt angle includes: The initial value of the current is calculated based on the average value of the magnetic flux density measurements from multiple first sensors; Calculate the root mean square deviation of the differences between the magnetic induction intensity measurements of multiple first sensors and corresponding multiple second sensors; The initial value of the tilt angle is determined to be the product of the root mean square deviation and a preset coefficient, wherein the preset coefficient is a pre-calibrated coefficient characterizing the monotonic relationship between the root mean square deviation and the tilt angle.

9. The method according to claim 7, characterized in that, Of the plurality of first sensors, four are arranged orthogonally at 90° intervals on the first circumference; of the plurality of second sensors, four are arranged orthogonally at 90° intervals on the second circumference. Before establishing a functional relationship between the theoretical value of the magnetic induction intensity of each magnetic sensor and the current on the conductor under test, the eccentricity, tilt angle, and azimuth angle of the conductor under test, based on the Biot-Savart law and according to the distance between the centers of the first and second circumferences, the circumference radius, and the orientation parameters of each magnetic sensor on its respective circumference, the method further includes: A spatial rectangular coordinate system is established with the plane containing the first circumference as the plane containing the XY axis, the center of the first circumference as the origin, and the direction of the normal to the circumference as the Z axis. The sensitive axes of the two first sensors and the two second sensors are perpendicular to the X axis, the sensitive axes of the other two first sensors and the other two second sensors are perpendicular to the Y axis, and the preset direction is parallel to the X axis direction.

10. The method according to claim 9, characterized in that, Obtaining the initial value of the eccentric position includes: The initial value of the abscissa of the eccentric position is calculated based on the magnetic induction intensity measurement values ​​of the two first sensors whose sensitive axis is perpendicular to the X-axis and the circumference. The initial value of the ordinate of the eccentric position is calculated based on the magnetic induction intensity measurement values ​​of the two first sensors whose sensitive axis is perpendicular to the Y-axis and the circumference radius.

11. The method according to claim 7, characterized in that, Obtaining the initial value of the azimuth angle includes: The initial value of the azimuth angle is determined to be 0, or the initial value of the azimuth angle is determined based on the arctangent value of the magnetic induction intensity measurements of the two first sensors that are orthogonal at 90°.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 5 to 11.

13. A magnetic sensing device, characterized in that, include: The magnetic sensing array according to any one of claims 1 to 4; An electronic device includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any one of claims 5 to 11.