Current measurement system, method and device for non-vertical conductor, computer equipment, medium and product
By using a multi-axis TMR sensor and processor to determine the vector expression of the conductor in the sensor system, the problem of measurement error of traditional magnetoresistive sensors in non-vertical conductor environments is solved, and high-precision current measurement is achieved.
Patent Information
- Application Number
- CN202411330345.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-20
AI Technical Summary
Traditional magnetoresistive sensors are difficult to accurately measure current in non-vertical conductor environments, resulting in magneto-electric inversion model errors, affecting measurement accuracy.
Four three-axis TMR sensors are arranged on the x-y plane, combined with the processor to obtain the included angle information of the magnetic field data and the conductor, and the vector expression and current value of the conductor are determined through mathematical relationships to reduce the measurement error caused by non-perpendicularity.
High-precision measurement of the current of eccentric and inclined long straight conductors is achieved, errors caused by non-perpendicularity of the conductors are reduced, and measurement accuracy of the magnetoresistive current sensor is improved.
Smart Images

Figure CN119165225A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of current sensors, and in particular to a current measurement system, method, device, computer equipment, medium and product for a non-vertical conductor. Background Art
[0002] As an important type of magnetoresistive sensor, the measurement mechanism of tunnel magnetoresistive sensor relies on the indirect perception of the magnetic field around the current. This feature requires the construction of an accurate magneto-electric inversion model to convert the magnetic field data into actual current values through a complex calculation process. The accuracy of the magneto-electric inversion model directly determines the reliability of sensor testing and is the key to improving the performance of magnetoresistive sensors.
[0003] In traditional methods, magnetic sensor arrays are usually integrated on printed circuit boards (PCBs) and deployed close to current-carrying conductors. However, in actual working conditions, it is difficult to ensure that the conductor is strictly perpendicular to the sensor array plane and there is no external magnetic field interference, which leads to errors in the magneto-electric inversion calculation model for tunnel magnetoresistive sensors. Summary of the invention
[0004] Based on this, it is necessary to provide a current measurement system, method, device, computer equipment, medium and product for non-vertical conductors that can improve the measurement accuracy of magnetoresistive current sensors in response to the above technical problems.
[0005] In a first aspect, the present application provides a current measurement system for a non-vertical conductor, comprising:
[0006] The magnetoresistive sensor includes four three-axis TMR sensors, and the four three-axis TMR sensors are arranged on a circle with a preset point as the center and a preset distance as the radius on an xy plane;
[0007] A conductor intersects the xy plane, an angle between the conductor and a z-axis perpendicular to the xy plane is a first angle, and an angle between a projection of the conductor on the xy plane and the x-axis is a second angle;
[0008] The processor is used to obtain three-dimensional magnetic field data of the magnetoresistive sensor, determine the vector expression of the conductor according to the first angle and the second angle, and determine the current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
[0009] In one embodiment, the processor is further configured to:
[0010] Determine the position coordinates of each three-axis TMR sensor on the xy plane and the coordinates of the intersection between the conductor and the xy plane;
[0011] The vector expression of the conductor is determined based on all the position coordinates, intersection coordinates, the first angle and the second angle.
[0012] In one embodiment, the processor is further configured to:
[0013] Determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data;
[0014] Determine the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current and the relative position, and the vector expression of the conductor;
[0015] Determine the coordinates of the conductor based on the functional expression of all magnetic flux density values;
[0016] The current value of the conductor is determined based on the coordinates of the conductor.
[0017] In a second aspect, the present application further provides a current measurement method for a non-vertical conductor, which is applied to any system in the first aspect, and the method comprises:
[0018] Acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor;
[0019] Obtaining a first angle between the conductor and the z-axis, a perpendicular axis of the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis;
[0020] A vector expression of the conductor is determined according to the first angle and the second angle, and a current value of the conductor is determined according to the three-dimensional magnetic field data and the vector expression.
[0021] In one embodiment, the step of determining a vector expression of the conductor according to the first angle and the second angle comprises:
[0022] Determine the position coordinates of each three-axis TMR sensor on the xy plane and the coordinates of the intersection between the conductor and the xy plane;
[0023] The vector expression of the conductor is determined based on all the position coordinates, intersection coordinates, the first angle and the second angle.
[0024] In one embodiment, the step of obtaining the current value of the conductor according to the vector expression and the three-dimensional magnetic field data includes:
[0025] Determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data;
[0026] Determine the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current and the relative position, and the vector expression of the conductor;
[0027] Determine the coordinates of the conductor based on the functional expression of all magnetic flux density values;
[0028] The current value of the conductor is determined based on the coordinates of the conductor.
[0029] In a third aspect, the present application further provides a current measuring device for a non-vertical conductor, comprising:
[0030] A first acquisition module is used to acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor;
[0031] A second acquisition module, used to acquire a first angle between the conductor and the z-axis, a vertical axis of the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis;
[0032] The current determination module is used to determine the vector expression of the conductor according to the first angle and the second angle, and to determine the current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
[0033] In a fourth 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 any one of the method steps in the second aspect when executing the computer program.
[0034] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements any one of the method steps in the second aspect when the computer program is executed by a processor.
[0035] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which implements any one of the method steps in the second aspect when executed by a processor.
[0036] The above-mentioned current measurement system, method, device, computer equipment, medium and product of non-vertical conductors obtain the magnetic field data of each three-axis TMR sensor, as well as the first angle between the conductor and the vertical axis z of the xy plane and the second angle between the projection of the conductor in the xy plane and the x-axis, determine the vector expression of the conductor according to the first angle and the second angle, and determine the current value of the conductor according to the three-dimensional magnetic field data and the vector expression. It can measure eccentric and inclined long straight conductors, reduce the measurement error caused by the non-verticality of the conductor, and achieve high-precision measurement of the current of eccentric and inclined long straight conductors. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] FIG1 is a block diagram of a current measurement system for a non-vertical conductor in one embodiment;
[0039] FIG2 is a schematic flow chart of a method for measuring current of a non-vertical conductor in one embodiment;
[0040] FIG3 is a schematic flow chart of a current measurement method for a non-vertical conductor in another embodiment;
[0041] FIG4 is a block diagram of a current measuring device for a non-vertical conductor in one embodiment;
[0042] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The current measurement method of a non-vertical conductor provided in the embodiment of the present application can be applied to a current measurement system of a non-vertical conductor as shown in FIG1 . The current measurement system of a non-vertical conductor includes a magnetoresistive sensor 100 , a conductor 200 , and a processor 300 .
[0045] The magnetoresistive sensor 100 includes four three-axis tunnel magnetoresistive (TMR) sensors, which are arranged on a circle with a preset point as the center and a preset distance as the radius on the xy plane, and are respectively the first sensor 110, the second sensor 120, the third sensor 130 and the fourth sensor 140. The conductor 200 (i.e., the wire) intersects the xy plane, and the angle between the conductor 200 and the vertical axis z of the xy plane is the first angle, and the angle between the projection of the conductor 200 on the xy plane and the x-axis is the second angle. The processor 300 is used to obtain the three-dimensional magnetic field data of the magnetoresistive sensor 100, determine the vector expression of the conductor 200 according to the first angle and the second angle, and determine the current value of the conductor 200 according to the three-dimensional magnetic field data and the vector expression.
[0046] The first sensor 110 and the third sensor 130 are arranged opposite to each other, and the second sensor 120 and the fourth sensor 140 are arranged opposite to each other. The magnetic flux density of the first sensor 110 in the x, y, and z directions is represented by B 1x , B 1y , B 1z The magnetic flux density of the second sensor 120 in the x, y, and z directions is represented by B 2x , B 2y , B 2zThe magnetic flux density of the third sensor 130 in the x, y, and z directions is represented by B 3x , B 3y , B 3z , the magnetic flux density of the fourth sensor 140 is expressed as B 4x , B 4y , B 4z .
[0047] The intersection of the conductor 200 and the xy plane is represented as A0(x0, y0, 0), the first angle between the conductor 200 and the z axis perpendicular to the xy plane is represented as α, and the second angle between the projection of the conductor 200 on the xy plane and the x axis is represented as β.
[0048] In this embodiment, magnetic field data is collected by four three-axis TMR sensors arranged on the xy plane. The vector expression of the conductor can be determined through a first angle between the conductor and the z-axis, which is a perpendicular axis of the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis. Furthermore, the current value of the conductor can be determined based on the three-dimensional magnetic field data and the vector expression. This allows the measurement of eccentric and tilted long straight conductors, reduces measurement errors caused by the non-verticality of the conductor, and achieves high-precision measurement of the current of eccentric and tilted long straight conductors.
[0049] In an exemplary embodiment, the processor 300 is also used to: determine the position coordinates of each three-axis TMR sensor 100 on the xy plane and the intersection coordinates between the conductor 200 and the xy plane; determine the vector expression of the conductor 200 based on all the position coordinates, intersection coordinates, first angle and second angle.
[0050] Optionally, as still shown in Figure 1, the position coordinates of each three-axis TMR sensor 100 on the xy plane are respectively expressed as (r, 0, 0), (0, r, 0), (-r, 0, 0) and (0, -r, 0), the coordinates of the intersection between the conductor 200 and the xy plane are A0 (x0, y0, 0), the first angle is α, and the second angle is β. It can be seen that the vector expression of the conductor 200 is l=(m, n, p), where m=sinαcosβ, n=sinαsinβ, and p=cosα.
[0051] In this embodiment, by accurately determining all relevant position coordinates and angles, it is independent of the specific relative position or direction between the sensor and the conductor. As long as the sensor can capture the magnetic field generated by the conductor, the vector expression of the conductor can be accurately constructed, which can be applied to a wider range of scenarios.
[0052] In an exemplary embodiment, the processor 300 is also used to: determine the magnetic flux density values of each three-axis TMR sensor 100 in the x, y, and z directions based on the three-dimensional magnetic field data; determine the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current and the relative position, and the vector expression of the conductor 200; determine the coordinates of the conductor 200 based on the function expressions of all the magnetic flux density values; and determine the current value of the conductor based on the coordinates of the conductor 200.
[0053] Optionally, when calculating the current from the 3D magnetic field data, it can be determined according to the Biot-Savart law, which describes that for any shape of current distribution, it can be regarded as consisting of many current elements (i.e. short current segments). For an infinitely long DC conductor, the magnetic flux density can be expressed as:
[0054]
[0055] in, is the free space magnetic permeability, I is the current intensity passing through the conductor, ρ is the vertical distance between the test point and the conductor in the field, and the unit vector e l and e p are respectively represented as the current direction and relative position vector. Then for a specific point to be measured (x t ,y t ,0), its magnetic flux density B t It can be expressed as:
[0056]
[0057] Among them, B tx , B ty , B tz They represent the magnetic flux density components of the point in the x, y, and z directions respectively. is the free space permeability, m, n, p are the conductor vectors.
[0058] It can be obtained that the relationship between the magnetic flux densities of the four TMR sensors 100 in the x and y directions can be expressed as:
[0059]
[0060] We can further get:
[0061]
[0062] Similarly, the relationship between the magnetic flux densities of the four TMR sensors 100 in the z direction can be expressed as:
[0063]
[0064] We can further get:
[0065]
[0066] According to the magnetic field data of the four TMR sensors 100 and the vector expression of the conductor, the values of the proportional coefficients k1-k8 can be solved, and then the values of x0 and y0, that is, the coordinates of the conductor 200, can be calculated.
[0067] Furthermore, for the conductor 200, its current I t and magnetic flux density B t The relationship is expressed as:
[0068]
[0069] Where ρ is the vertical distance from the sensor to the long straight wire, expressed as:
[0070]
[0071] In summary, the current I of the conductor 200 can be determined according to the coordinate value of the conductor 200. t The value of .
[0072] In this embodiment, the current value of the conductor is determined based on the three-dimensional magnetic field data and the vector expression, and it is possible to measure eccentric and inclined long straight conductors, reduce the measurement error caused by the non-verticality of the conductor, and achieve high-precision measurement of the current of eccentric and inclined long straight conductors.
[0073] In an exemplary embodiment, as shown in FIG2 , a current measurement method for a non-vertical conductor is provided, and the method is applied to the processor in FIG1 as an example for description, and includes the following steps 202 to 206. Among them:
[0074] S202: Acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor.
[0075] Optionally, as shown in FIG1 , the magnetic field data includes the magnetic flux density values of the four three-axis TMR sensors in the x, y, and z directions, wherein the magnetic flux density of the first sensor in the x, y, and z directions is represented by B 1x , B 1y , B 1z , the magnetic flux density of the second sensor in the x, y, and z directions is expressed as B 2x , B 2y , B 2z , the magnetic flux density of the third sensor in the x, y, and z directions is expressed as B 3x , B 3y , B 3z , the magnetic flux density of the fourth sensor is expressed as B4x , B 4y , B 4z .
[0076] S204: Obtain a first angle between the conductor and the z-axis, which is a perpendicular axis to the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis.
[0077] Optionally, as can be seen from Figure 1, the intersection of the conductor and the xy plane is represented as A0(x0,y0,0), the first angle between the conductor and the vertical axis z of the xy plane is represented as α, and the second angle between the projection of the conductor on the xy plane and the x-axis is represented as β.
[0078] S206: Determine a vector expression of the conductor according to the first angle and the second angle, and determine a current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
[0079] Optionally, a unit vector representing the direction of the conductor can be constructed based on the first angle and the second angle, and this vector is parallel to the direction of the magnetic field generated by the current (ideally, for a long straight conductor, the direction of the magnetic field surrounds the conductor). Then, based on the three-dimensional magnetic field data and the vector expression, the current value of the conductor can be inferred from the relationship between the magnetic field and the current.
[0080] In the above-mentioned current measurement method for non-vertical conductors, by acquiring the magnetic field data of each three-axis TMR sensor, as well as the first angle between the conductor and the z-axis perpendicular to the xy plane and the second angle between the projection of the conductor in the xy plane and the x-axis, the vector expression of the conductor is determined according to the first angle and the second angle, and the current value of the conductor is determined according to the three-dimensional magnetic field data and the vector expression. This method can measure eccentric and inclined long straight conductors, reduce the measurement error caused by the non-verticality of the conductor, and achieve high-precision measurement of the current of eccentric and inclined long straight conductors.
[0081] In an exemplary embodiment, the step of determining a vector expression of a conductor based on a first angle and a second angle includes: determining the position coordinates of each three-axis TMR sensor on an xy plane and the coordinates of an intersection between the conductor and the xy plane; and determining a vector expression of the conductor based on all position coordinates, intersection coordinates, the first angle and the second angle.
[0082] Optionally, as still shown in Figure 1, the position coordinates of each three-axis TMR sensor on the xy plane are respectively expressed as (r, 0, 0), (0, r, 0), (-r, 0, 0) and (0, -r, 0), the coordinates of the intersection between the conductor and the xy plane are A0 (x0, y0, 0), the first angle is α, and the second angle is β. It can be seen that the vector expression of the conductor is l = (m, n, p), where m = sinαcosβ, n = sinαsinβ, and p = cosα.
[0083] In this embodiment, by accurately determining all relevant position coordinates and angles, it is independent of the specific relative position or direction between the sensor and the conductor. As long as the sensor can capture the magnetic field generated by the conductor, the vector expression of the conductor can be accurately constructed, which can be applied to a wider range of scenarios.
[0084] In an exemplary embodiment, the step of obtaining the current value of the conductor based on the vector expression and the three-dimensional magnetic field data includes: determining the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determining the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current, and the relative position, and the vector expression of the conductor; determining the coordinates of the conductor based on the function expressions of all the magnetic flux density values; and determining the current value of the conductor based on the coordinates of the conductor.
[0085] Optionally, when calculating the current from the 3D magnetic field data, it can be determined according to the Biot-Savart law, which describes that for any shape of current distribution, it can be regarded as consisting of many current elements (i.e. short current segments). For an infinitely long DC conductor, the magnetic flux density can be expressed as:
[0086]
[0087] in, is the free space magnetic permeability, I is the current intensity passing through the conductor, ρ is the vertical distance between the test point and the conductor in the field, and the unit vector e l and e p are respectively represented as the current direction and relative position vector. Then for a specific point to be measured (x t ,y t ,0), its magnetic flux density B t It can be expressed as:
[0088]
[0089] Among them, B tx , B ty , B tz They represent the magnetic flux density components of the point in the x, y, and z directions respectively. is the free space permeability, m, n, p are the conductor vectors.
[0090] It can be obtained that the relationship between the magnetic flux density of the four TMR sensors in the x and y directions can be expressed as:
[0091]
[0092] We can further get:
[0093]
[0094] Similarly, the relationship between the magnetic flux density of the four TMR sensors in the z direction can be expressed as:
[0095]
[0096] We can further get:
[0097]
[0098] According to the magnetic field data of the four TMR sensors and the vector expression of the conductor, the values of the proportional coefficients k1-k8 can be solved, and then the values of x0 and y0, that is, the coordinates of the conductor, can be calculated.
[0099] Furthermore, for a conductor, its current I t and magnetic flux density B t The relationship is expressed as:
[0100]
[0101] Where ρ is the vertical distance from the sensor to the long straight wire, expressed as:
[0102]
[0103] In summary, the current I of the conductor can be determined according to the coordinate value of the conductor t The value of .
[0104] In this embodiment, the current value of the conductor is determined based on the three-dimensional magnetic field data and the vector expression, and it is possible to measure eccentric and inclined long straight conductors, reduce the measurement error caused by the non-verticality of the conductor, and achieve high-precision measurement of the current of eccentric and inclined long straight conductors.
[0105] In an exemplary embodiment, as shown in FIG3 , a current measurement method for a non-vertical conductor is provided, the method comprising the following steps:
[0106] S302: Acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor.
[0107] S304: Obtain a first angle between the conductor and the z-axis, which is a perpendicular axis to the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis.
[0108] S306: Determine the position coordinates of each three-axis TMR sensor on the xy plane and the coordinates of the intersection between the conductor and the xy plane; determine the vector expression of the conductor based on all the position coordinates, intersection coordinates, first angle and second angle.
[0109] S308: Determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determine the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, current, and relative position, and the vector expression of the conductor; determine the coordinates of the conductor based on the function expressions of all the magnetic flux density values; determine the current value of the conductor based on the coordinates of the conductor.
[0110] In this embodiment, by acquiring the magnetic field data of each three-axis TMR sensor, as well as the first angle between the conductor and the z-axis perpendicular to the xy plane and the second angle between the projection of the conductor in the xy plane and the x-axis, the vector expression of the conductor is determined according to the first angle and the second angle, and the current value of the conductor is determined according to the three-dimensional magnetic field data and the vector expression. This makes it possible to measure eccentric and tilted long straight conductors, reduce measurement errors caused by the non-perpendicularity of the conductor, and achieve high-precision measurement of the current of eccentric and tilted long straight conductors.
[0111] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0112] Based on the same inventive concept, the embodiment of the present application also provides a current measuring device for a non-vertical conductor for implementing the current measuring method for a non-vertical conductor involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the current measuring device for one or more non-vertical conductors provided below can refer to the limitations of the current measuring method for a non-vertical conductor above, and will not be repeated here.
[0113] In an exemplary embodiment, as shown in FIG. 4 , a current measurement device for a non-vertical conductor is provided, comprising: a first acquisition module 402 , a second acquisition module 404 , and a current determination module 406 , wherein:
[0114] The first acquisition module 402 is used to acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor.
[0115] The second acquisition module 404 is used to acquire a first angle between the conductor and the z-axis, which is a vertical axis of the xy plane, and a second angle between the projection of the conductor on the xy plane and the x-axis.
[0116] The current determination module 406 is used to determine the vector expression of the conductor according to the first angle and the second angle, and determine the current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
[0117] In an exemplary embodiment, the current determination module 406 is also used to determine the position coordinates of each three-axis TMR sensor on the xy plane and the intersection coordinates between the conductor and the xy plane; and determine the vector expression of the conductor based on all the position coordinates, intersection coordinates, first angle and second angle.
[0118] In an exemplary embodiment, the current determination module 406 is also used to determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determine the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current and the relative position, and the vector expression of the conductor; determine the coordinates of the conductor based on the function expressions of all the magnetic flux density values; and determine the current value of the conductor based on the coordinates of the conductor.
[0119] Each module in the above-mentioned current measurement device for non-vertical conductors can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0120] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a current measurement method for a non-vertical conductor is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0121] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0122] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining three-dimensional magnetic field data of a magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor; obtaining a first angle between a conductor and a z-axis perpendicular to an xy plane and a second angle between a projection of the conductor on the xy plane and the x-axis; determining a vector expression of the conductor based on the first angle and the second angle, and determining a current value of the conductor based on the three-dimensional magnetic field data and the vector expression.
[0123] In one embodiment, the method of determining a vector expression of a conductor based on a first angle and a second angle when a processor executes a computer program includes: determining the position coordinates of each three-axis TMR sensor on an xy plane and the coordinates of the intersection between the conductor and the xy plane; and determining the vector expression of the conductor based on all the position coordinates, the intersection coordinates, the first angle and the second angle.
[0124] In one embodiment, the processor executes a computer program involving obtaining the current value of the conductor based on a vector expression and three-dimensional magnetic field data, including: determining the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determining the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current, and the relative position, and the vector expression of the conductor; determining the coordinates of the conductor based on the function expressions of all the magnetic flux density values; and determining the current value of the conductor based on the coordinates of the conductor.
[0125] 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: obtaining three-dimensional magnetic field data of a magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor; obtaining a first angle between a conductor and a z-axis perpendicular to an xy plane and a second angle between a projection of the conductor on the xy plane and the x-axis; determining a vector expression of the conductor based on the first angle and the second angle, and determining a current value of the conductor based on the three-dimensional magnetic field data and the vector expression.
[0126] In one embodiment, the computer program, when executed by a processor, involves determining a vector expression of a conductor based on a first angle and a second angle, including: determining the position coordinates of each three-axis TMR sensor on the xy plane and the intersection coordinates between the conductor and the xy plane; determining the vector expression of the conductor based on all the position coordinates, intersection coordinates, the first angle and the second angle.
[0127] In one embodiment, when a computer program is executed by a processor, the steps involved in obtaining the current value of a conductor based on a vector expression and three-dimensional magnetic field data include: determining the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determining the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current, and the relative position, and the vector expression of the conductor; determining the coordinates of the conductor based on the function expressions of all the magnetic flux density values; and determining the current value of the conductor based on the coordinates of the conductor.
[0128] In one embodiment, a computer program product is provided, comprising a computer program, which implements the following steps when executed by a processor: obtaining three-dimensional magnetic field data of a magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each three-axis TMR sensor; obtaining a first angle between a conductor and a z-axis perpendicular to an xy plane and a second angle between a projection of the conductor on the xy plane and the x-axis; determining a vector expression of the conductor based on the first angle and the second angle, and determining a current value of the conductor based on the three-dimensional magnetic field data and the vector expression.
[0129] In one embodiment, the computer program, when executed by a processor, involves determining a vector expression of a conductor based on a first angle and a second angle, including: determining the position coordinates of each three-axis TMR sensor on the xy plane and the intersection coordinates between the conductor and the xy plane; determining the vector expression of the conductor based on all the position coordinates, intersection coordinates, the first angle and the second angle.
[0130] In one embodiment, when a computer program is executed by a processor, the steps involved in obtaining the current value of a conductor based on a vector expression and three-dimensional magnetic field data include: determining the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions based on the three-dimensional magnetic field data; determining the function expression of the magnetic flux density value based on the mathematical relationship between the magnetic flux density, the current, and the relative position, and the vector expression of the conductor; determining the coordinates of the conductor based on the function expressions of all the magnetic flux density values; and determining the current value of the conductor based on the coordinates of the conductor.
[0131] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0132] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0133] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A current measurement system for a non-vertical conductor, characterized in that: include: A magnetoresistive sensor, comprising four three-axis TMR sensors, wherein the four three-axis TMR sensors are arranged on a circle with a preset point as the center and a preset distance as the radius on an xy plane; A conductor, wherein the conductor intersects the xy plane, an angle between the conductor and a z-axis perpendicular to the xy plane is a first angle, and an angle between a projection of the conductor on the xy plane and the x-axis is a second angle; A processor is used to obtain three-dimensional magnetic field data of the magnetoresistive sensor, determine a vector expression of the conductor according to the first angle and the second angle, and determine a current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
2. The system according to claim 1, characterized in that The processor is further configured to: Determining the position coordinates of each of the three-axis TMR sensors on the xy plane and the coordinates of the intersection point between the conductor and the xy plane; A vector expression of the conductor is determined according to all position coordinates, the intersection coordinates, the first angle and the second angle.
3. The system according to claim 1, characterized in that The processor is further configured to: Determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions according to the three-dimensional magnetic field data; Determine the function expression of the magnetic flux density value according to the mathematical relationship between the magnetic flux density, the current and the relative position, and the vector expression of the conductor; Determining the coordinates of the conductor according to the functional expression of all magnetic flux density values; The current value of the conductor is determined according to the coordinates of the conductor.
4. A method for measuring current of a non-vertical conductor, characterized in that: Applied to the system of any one of claims 1 to 3, the method comprising: Acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each of the three-axis TMR sensors; Acquire a first angle between the conductor and a z-axis perpendicular to the xy plane and a second angle between a projection of the conductor on the xy plane and the x-axis; A vector expression of the conductor is determined according to the first angle and the second angle, and a current value of the conductor is determined according to the three-dimensional magnetic field data and the vector expression.
5. The method according to claim 4, characterized in that The determining of the vector expression of the conductor according to the first angle and the second angle comprises: Determining the position coordinates of each of the three-axis TMR sensors on the xy plane and the coordinates of the intersection point between the conductor and the xy plane; A vector expression of the conductor is determined according to all position coordinates, the intersection coordinates, the first angle and the second angle.
6. The method according to claim 4, characterized in that The obtaining the current value of the conductor according to the vector expression and the three-dimensional magnetic field data comprises: Determine the magnetic flux density values of each three-axis TMR sensor in the x, y, and z directions according to the three-dimensional magnetic field data; Determine a function expression of the magnetic flux density value according to a mathematical relationship between the magnetic flux density, the current and the relative position, and a vector expression of the conductor; Determining the coordinates of the conductor according to the functional expression of all magnetic flux density values; The current value of the conductor is determined according to the coordinates of the conductor.
7. A current measuring device for a non-vertical conductor, characterized in that: The system applied to any one of claims 1 to 3, wherein the device comprises: A first acquisition module is used to acquire three-dimensional magnetic field data of the magnetoresistive sensor; the three-dimensional magnetic field data includes magnetic field data of each of the three-axis TMR sensors; A second acquisition module, used for acquiring a first angle between the conductor and a z-axis perpendicular to the xy plane and a second angle between a projection of the conductor on the xy plane and the x-axis; A current determination module is used to determine a vector expression of the conductor according to the first angle and the second angle, and to determine a current value of the conductor according to the three-dimensional magnetic field data and the vector expression.
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 4 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 4 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 4 to 6 are implemented.
Citation Information
Patent Citations
Current measurement system and method for inclined multi-conductor system
CN111624389A
Current sensor based on three-axis tunnel magnetoresistance array and measurement method of current sensor
CN112595873A
Long and straight wire current measurement method and system
CN112986648A
Current sensor, current measurement equipment, system and device and storage medium
CN113049874A
Current measurement method and system based on triaxial magnetoresistance, and storage medium
CN114814328A
