Cable current measurement method based on linear magnetic sensor array
Through a linear magnetic sensor array and a measurement equation system based on magnetic induction intensity, the dimension matching and installation difficulties of the ring magnetic sensor array in cable current measurement are solved, and position-independent accurate current measurement is achieved, which simplifies the process and improves the measurement. convenience and accuracy.
Patent Information
- Application Number
- CN202411259729.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The ring magnetic sensor array has problems of dimensional matching complexity and installation difficulties in cable current measurement, especially in environments where space is limited or special layouts, making it difficult to achieve accurate measurements.
Using a linear magnetic sensor array, the measurement process is simplified by calculating the current value by calculating the current value by constructing a system of measurement equations based on the magnetic sensor spacing and magnetic induction intensity.
It realizes accurate measurement of cable current while reducing design and manufacturing complexity, simplifies the installation process, improves the convenience and accuracy of measurement, and is suitable for high flexibility scenarios.
Smart Images

Figure CN118897112A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of current measurement in electromagnetic measurement, and in particular relates to a cable current measurement method based on a linear magnetic sensor array. Background Art
[0002] With the rapid development of new-generation cable current measurement technologies, numerous new technologies have emerged, aiming to significantly improve the accuracy of current measurements and achieve numerous optimizations, including increased convenience and reliability. Among them, ring-shaped magnetic sensor array technology is currently the mainstream method for measuring cable current. This technology is based on the Faraday principle of electromagnetic induction, where current flowing through a cable generates a magnetic field surrounding the cable. Currently used ring-shaped magnetic sensor array systems typically require multiple magnetic sensor chips arranged in a ring shape with the cable passing through the center. The design of the ring-shaped magnetic sensor array allows it to be placed close to the cable, forcing magnetic lines of force to penetrate the core of the sensor ring. This induces magnetic flux changes within the sensor that correspond to the current intensity, allowing the current value to be calculated. However, ring-shaped magnetic sensor arrays have several limitations in practical applications. First, the size of the magnetic sensor chip must match the cable being measured, meaning that different sensor array sizes are required for cables of different diameters, increasing design and manufacturing complexity. Second, the ring-shaped sensor array requires the cable to pass through its center hole, which can be challenging in environments with limited space or specialized layouts, resulting in installation difficulties and high maintenance costs. Therefore, a cable current measurement method having a high position-independent characteristic between cables is needed to solve the problems existing in the prior art. Summary of the Invention
[0003] In order to solve the above-mentioned deficiencies in the prior art, the present invention provides a cable current measurement method based on a linear magnetic sensor array, which is a current measurement method that does not require the installation of a magnetic sensor chip around the cable.
[0004] The present invention is achieved through the following technical solutions:
[0005] A cable current measurement method based on a linear magnetic sensor array comprises the following steps:
[0006] Step S1: construct a magnetic sensor array for the cable to be tested, and establish a set of measurement equations based on the spatial distance between each magnetic sensor and the magnetic induction intensity data collected by the magnetic sensors. The specific steps include:
[0007] Step S11, constructing a magnetic sensor array for the cable to be tested, wherein the magnetic sensor array is a linear magnetic sensor array, and constructing a position equation based on the spacing between the magnetic sensors and the spatial position values between the magnetic sensors and the cable to be tested;
[0008] Step S12, constructing a measurement equation group based on the position equation and the magnetic induction intensity of the cable to be measured measured by the sensor;
[0009] Step S2, obtaining coefficients consisting of magnetic induction intensity values and distance values between magnetic sensors by solving a measurement equation group;
[0010] In step S3, a current measurement value is calculated using a coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors.
[0011] Furthermore, the magnetic sensor array constructed in step S11 is composed of at least three uniaxial magnetic sensors, all of which are placed on the same straight line, the cable to be tested is parallel to any plane where the magnetic sensor straight line is located, and the cable to be tested is not parallel to the magnetic sensor straight line.
[0012] The magnetic sensors in the magnetic sensor array may be distributed on the same side of the projection line of the cable to be tested, or may be distributed on both sides of the projection line of the cable to be tested.
[0013] Furthermore, in the constructed magnetic sensor array, the magnetic sensitive directions of all magnetic sensors are in the same direction and are all located on a straight line formed by the magnetic sensors.
[0014] Furthermore, the three uniaxial magnetic sensors in the magnetic sensor array are respectively referred to as a first magnetic sensor, a second magnetic sensor, and a third magnetic sensor. The first magnetic sensor and the second magnetic sensor are located on the same side of a projection line of the cable to be measured, and the third magnetic sensor is located on the other side of the projection line of the cable to be measured.
[0015] Then, establishing a measurement equation group according to the spatial distance between the magnetic sensors and the magnetic induction intensity data collected by the magnetic sensors specifically includes the following steps:
[0016] Let the distance between the first magnetic sensor and the second magnetic sensor be m, and the distance between the first magnetic sensor and the third magnetic sensor be n; B1, B2, and B3 are the magnetic induction intensities measured by the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor respectively; x1, x2, and x3 are the vertical distances from the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor to the long straight cable to be tested respectively; assuming that the vertical distance between the cable to be tested and the plane where the magnetic sensor line is located is d, the distance between the foot of the perpendicular line of the cable to be tested passing through the three magnetic sensors and the plane where the magnetic sensor line is located is The endpoints of the three perpendicular segments are D1, D2, and D3 respectively. The cable to be tested and the three perpendicular segments can all form a plane s. The angles between the perpendiculars of the cable to be tested through the three magnetic sensors and the perpendiculars from the three magnetic sensors to plane s are θ1, θ2, and θ3 respectively. The angles between the perpendiculars from the three magnetic sensors to plane s and the straight line of the magnetic sensors are all α. After the magnetic sensor array is installed and arranged, B1, B2, B3, m, and n are the known quantities obtained by measurement, and x1, x2, x3, θ1, θ2, θ3, d, and α are the unknown quantities. Calculate the current Ix on the current-carrying cable to be tested.
[0017] When deriving the formula, it is assumed that make Where I represents the magnetic field strength at a certain distance from the center of the wire, and μ0 represents the magnetic permeability of vacuum, which is a physical constant. The value of μ0 is 4π×10 -7 Tesla·meter / ampere; Based on the Biot-Saffar law and the spatial geometric relationship of the positions of each magnetic sensor, the position equation can be constructed as follows:
[0018]
[0019] From formula (1), it can be seen that the magnetic induction intensity B is proportional to the current I and is affected by the relative position and tilt angle between the magnetic sensor and the current-carrying cable to be measured. According to the above nonlinear position equation, it can be derived that:
[0020]
[0021] According to formula (2), we can further deduce:
[0022]
[0023] In addition, by applying the equivalent transformation relationship between trigonometric functions, the position equation in formula (1) can be transformed and deduced as follows:
[0024]
[0025] The formula in the simultaneous equation (4) can be obtained by shifting the terms and squaring them:
[0026]
[0027] Substituting formula (3) into formula (5), we can get:
[0028]
[0029] According to formula (6), the coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors is obtained, and it is set as:
[0030]
[0031] In formula (7), a1, b1, c1, d1, a2, b2, c2, and d2 are all intermediate variables in the calculation process;
[0032] Substitute equation (7) into equation (6) and eliminate I 2 , we can get:
[0033]
[0034] make:
[0035]
[0036] In formula (9), k1, k2, and k3 are also intermediate variables in the calculation process and are used as coefficients;
[0037] According to formula (9), the coefficients k1, k2, and k3 can be calculated. Then, the vertical distance x3 from the third magnetic sensor to the long straight cable to be tested is calculated based on the coefficients k1, k2, and k3. The specific calculation formula is as follows:
[0038]
[0039] The x3 calculated by formula (10) has two values. One value can be deleted according to the actual situation. For example, according to the specific position relationship of the first magnetic sensor, the second magnetic sensor and the third magnetic sensor, one of the values that does not meet the requirements is deleted and the other value that meets the requirements is retained.
[0040] Substituting formula (10) into formula (6) yields the following formula:
[0041]
[0042] The current to be measured can be obtained according to equations (11) and (12).
[0043] On the other hand, the present invention also provides a non-invasive cable current measurement prototype, including a magnetic sensor array, a filtering circuit, a single-chip microcomputer, a smart card reader and a liquid crystal display, wherein the magnetic sensor array, the filtering circuit and the single-chip microcomputer are electrically connected in sequence, the magnetic sensor array is the above-mentioned linear magnetic sensor array, the filtering circuit adopts the existing conventional filtering circuit, and the single-chip microcomputer carries the code of the above-mentioned cable current measurement method based on the linear magnetic sensor array written in a programming language; the smart card reader and the liquid crystal display are respectively electrically connected to the single-chip microcomputer for reading and displaying the current measurement results.
[0044] Among them, the filtering circuit is integrated into the non-invasive cable current measurement prototype system, which can ensure that the filtered signal is clear and undistorted.
[0045] The non-invasive cable current measurement prototype is integrated with a filter circuit, a liquid crystal display circuit and a single-chip microcomputer system. The measured current data can be stored in a non-volatile storage medium, which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
[0046] Beneficial effects of the present invention:
[0047] The cable current measurement method based on the linear magnetic sensor array design of the present invention does not require the wire to be passed through the ring hole, nor does it require the sensor array of corresponding size to be customized according to the thickness of the cable. It can achieve accurate measurement of the cable current while simplifying the measurement process. The three-chip current measurement method proposed by the present invention not only has a small amount of calculation, but also has excellent position independence. The cable to be measured can be freely rotated at any angle on the plane to which it belongs. It only needs to ensure that the direction of the cable is not parallel to the axis of the sensor and that the cable to be measured is parallel to any plane where the sensor line is located. The measurement of its current value is not affected, thereby ensuring the high convenience and accuracy of the measurement results. The non-invasive cable current measurement prototype proposed by the present invention, through the single-chip microcomputer programming loading method, the integration of the filter circuit and the design of the liquid crystal display circuit, together constitute the key steps of the practical measurement device. These features make the linear magnetic sensor array an advanced solution in the field of current measurement, especially suitable for scenarios that pursue high flexibility. With the advancement of technology and the reduction of costs, it will play a more critical role in the future current measurement market.
[0048] The main points that need to be protected in this invention are:
[0049] (1) Three-chip algorithm: A unique measurement method is developed to intelligently integrate the magnetic field signals from various magnetic sensors to accurately derive the magnitude of the current.
[0050] (2) Position independence: The method of the present invention allows for accurate current measurement without relying on a specific positional relationship with the cable under test, which marks a significant difference from traditional annular array technology that relies on precise alignment.
[0051] (3) Current measurement device: By optimizing the current measurement algorithm and compiling it into efficient code suitable for the microcontroller, seamless integration of the algorithm and hardware is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 This is a structural distribution diagram of a magnetic sensor array for a cable to be tested constructed using the method of the present invention.
[0053] Figure 2 It is a flow chart of the cable current measurement method based on the linear magnetic sensor array of the present invention.
[0054] Figure 3 Schematic diagram of the position distribution of the magnetic sensor array in the verification embodiment of the present invention.
[0055] Figure 4 This is a test result diagram of the magnetic field distribution around the current-carrying cable to be tested when the cable current is 500A in the verification embodiment of the present invention.
[0056] Figure 5 This is a simulation verification result diagram of the relative error of current measurement under different array position layouts and current flow sizes of the cable to be tested in the verification embodiment of the present invention.
[0057] Figure 6 Schematic diagram of the structure of a non-invasive cable current measurement prototype in an embodiment of the present invention.
[0058] In the figure: 1-first magnetic sensor, 2-second magnetic sensor, 3-third magnetic sensor. DETAILED DESCRIPTION
[0059] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0060] like Figures 1 to 3 A cable current measurement method based on a linear magnetic sensor array is shown, comprising the following steps:
[0061] Step S1: construct a magnetic sensor array for the cable to be tested, and establish a set of measurement equations based on the spatial distance between each magnetic sensor and the magnetic induction intensity data collected by the magnetic sensors. The specific steps include:
[0062] Step S11: constructing a magnetic sensor array for the cable to be tested, and constructing a position equation based on the spacing between the magnetic sensors and the spatial position values between each magnetic sensor and the cable to be tested; the magnetic sensor array is a linear magnetic sensor array, consisting of at least three single-axis magnetic sensors placed on the same straight line; the cable to be tested is parallel to any plane on which the magnetic sensor straight line is located, and the cable to be tested is not parallel to the magnetic sensor straight line, that is, the cable to be tested and the magnetic sensor straight line are not coplanar, and the projection line of the cable to be tested on the plane on which the magnetic sensor straight line is located intersects the magnetic sensor straight line; the magnetic sensors can be distributed on the same side of the projection line of the cable to be tested on the plane on which the magnetic sensor straight line is located, or can be distributed on both sides of the projection line of the cable to be tested on the plane on which the magnetic sensor straight line is located;
[0063] Step S12, constructing a measurement equation group based on the position equation and the magnetic induction intensity of the cable to be measured measured by the sensor;
[0064] Step S2, obtaining coefficients consisting of magnetic induction intensity values and distance values between magnetic sensors by solving a set of measurement equations;
[0065] In step S3, a current measurement value is calculated using a coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors.
[0066] In this embodiment, the magnetic sensor array constructed in step S11 is composed of three uniaxial magnetic sensors, which are placed on the same straight line. The cable to be tested is parallel to the horizontal plane where the magnetic sensor line is located, and the cable to be tested is not parallel to the magnetic sensor line. In this embodiment, the three uniaxial magnetic sensors are distributed on both sides of the projection line of the cable to be tested on the horizontal plane where the magnetic sensor line is located. The magnetic sensitive directions of all uniaxial magnetic sensors are in the same direction and are all located on the straight line formed by the magnetic sensors. Its structure is as follows: Figure 1 As shown, the first magnetic sensor 1 and the second magnetic sensor 2 are located on the same side of the projection line of the cable to be tested on the horizontal plane where the magnetic sensor line is located, and the third magnetic sensor 3 is located on the other side of the projection line of the cable to be tested on the horizontal plane where the magnetic sensor line is located.
[0067] like Figure 1As shown, the distance between the first magnetic sensor 1 and the second magnetic sensor 2 is m, and the distance between the first magnetic sensor 1 and the third magnetic sensor 3 is n; B1, B2, and B3 are the magnetic induction intensities measured by the first magnetic sensor 1, the second magnetic sensor 2, and the third magnetic sensor 3, respectively; x1, x2, and x3 are the vertical distances from the first magnetic sensor 1, the second magnetic sensor 2, and the third magnetic sensor 3 to the long straight cable to be tested, respectively; assuming that the vertical distance between the cable to be tested and the horizontal plane where the magnetic sensor line is located is d, the feet of the perpendicular lines of the cable to be tested passing through the three magnetic sensors are E1, E2, and E3, respectively, and the endpoints of the three perpendicular line segments between the feet E1, E2, and E3 and the horizontal plane where the magnetic sensor line is located are D1, D2, and D3, respectively, then, a perpendicular line segment between the cable to be tested and the horizontal plane where the magnetic sensor line is located is E1. D1, the cable to be tested and the vertical line segment E1D1 form a plane s. Assume that the angles between the vertical lines of the cable to be tested passing through the three magnetic sensors and the vertical lines from the three magnetic sensors to the plane s are θ1, θ2, and θ3 respectively. That is, the angle between the vertical line of the cable to be tested passing through the first magnetic sensor 1 and the line connecting the first magnetic sensor 1 to the endpoint D1 is θ1, the angle between the vertical line of the cable to be tested passing through the second magnetic sensor 2 and the line connecting the second magnetic sensor 2 to the endpoint D2 is θ2, and the angle between the vertical line of the cable to be tested passing through the third magnetic sensor 3 and the line connecting the third magnetic sensor 3 to the endpoint D3 is θ3; the angles between the vertical lines from the three magnetic sensors to the plane s and the magnetic sensor straight line are all α, that is, the line connecting the first magnetic sensor 1 to the endpoint D1, the line connecting the second magnetic sensor 2 to the endpoint D2, and the line connecting the third magnetic sensor 3 to the endpoint D3 are parallel to each other. Figure 1 After the magnetic sensor array is installed and arranged as shown in the figure, B1, B2, B3, m, and n are known quantities, and x1, x2, x3, θ1, θ2, θ3, d, and α are unknown quantities. Calculate the current I on the current-carrying cable to be tested. x .
[0068] When deriving the formula, it is assumed that make Where I represents the magnetic field strength at a certain distance from the center of the wire, and μ0 represents the magnetic permeability of vacuum, which is a physical constant. The value of μ0 is 4π×10 -7 Tesla meter / ampere; according to the Biot-Saffar law and Figure 1 The spatial geometric relationship of the position shown in can be constructed to obtain the position equation as follows:
[0069]
[0070] From formula (1), it can be seen that the magnetic induction intensity B is proportional to the current I and is affected by the relative position and tilt angle between the magnetic sensor and the current-carrying cable to be measured. According to the above nonlinear position equation, it can be derived that:
[0071]
[0072] According to formula (2), we can further deduce:
[0073]
[0074] In addition, by applying the equivalent transformation relationship between trigonometric functions, the position equation in formula (1) can be transformed and deduced as follows:
[0075]
[0076]
[0077] The formula in the simultaneous equation (4) can be obtained by shifting the terms and squaring them:
[0078]
[0079] Substituting formula (3) into formula (5), we can get:
[0080]
[0081] According to formula (6), the coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors is obtained, and it is set as:
[0082]
[0083] In formula (7), a1, b1, c1, d1, a2, b2, c2, and d2 are all intermediate variables in the calculation process.
[0084] Substitute equation (7) into equation (6) and eliminate I 2 , we can get:
[0085]
[0086] make:
[0087]
[0088] In formula (9), k1, k2, and k3 are also intermediate variables in the calculation process and are used as coefficients.
[0089] According to formula (9), the coefficients k1, k2 and k3 can be calculated. Then, the vertical distance x3 from the third magnetic sensor 3 to the long straight cable to be tested is calculated based on the coefficients k1, k2 and k3. The specific calculation formula is as follows:
[0090]
[0091] The x3 calculated by formula (10) has two values. One value can be deleted according to the actual situation. For example, according to the specific position relationship between the first magnetic sensor 1, the second magnetic sensor 2 and the third magnetic sensor 3, one value that does not meet the requirements is deleted and the other value that meets the requirements is retained. The present invention has been tested and verified that when x3 2 Of the two solutions obtained after the square root, one is a value that is obviously unreasonable and far from the actual sensor position relationship. Therefore, after obtaining these two solutions, considering the specific position relationship of the first magnetic sensor 1, the second magnetic sensor 2, and the third magnetic sensor 3, it is intuitively known which is the normal value.
[0092] Substituting formula (10) into formula (6) yields the following formula:
[0093]
[0094] Then the measured current I is obtained x , the present invention has been tested and verified, after performing operations on both formula (11) and formula (12), four I x The values of are very different. Since the range of real high-voltage cable current (for example, 110kV) is around 0 to 2000A, and only one of the four solutions obtained by square root is within this range, the other three values are far apart. Therefore, it is very intuitive to find the correct solution and obtain the correct current measurement result. Equations (11) and (12) show that the current sensing value is independent of the distance between the cable and the magnetic sensor, the angle of the cable, and the rotation angle of the magnetic sensor. It only requires that the direction of the cable is not parallel to the axis of the sensor and that the cable to be measured is parallel to any plane where the sensor line is located. Therefore, using three single-axis magnetic sensors, the current sensing of the current-carrying cable is realized, and it has a high position-independent characteristic, which can realize the instant use of the cable current magnetic sensor.
[0095] The cable current measurement method based on a linear magnetic sensor array, as described above, demonstrates that by constructing a sensor array for contactless current measurement, there's no need to wrap cables around the array or know the relative positions of the sensors and the cable being measured, making installation easy. Current measurement requires only the sensor spacing and the magnetic induction intensity collected by the sensors to directly determine the current, minimizing the computational burden.
[0096] In order to further illustrate the present invention, a specific verification example is described below.
[0097] (1) Current accuracy test
[0098] First build a magnetic sensor array, such as Figure 3As shown, the coordinates of the three uniaxial magnetic sensors are (53, -80, 0), (74, -80, 0), and (95, -80, 0), respectively. The distances between them are m = 21 mm and n = 42 mm, respectively. The simulation current is set to I = 500 A.
[0099] Then, the mathematical model of the current measurement equation is constructed according to the above method. After the model construction and parameter configuration are completed, the physical phenomenon around the cable with a current of 500A is simulated in the actual measurement process. By calculating this mathematical model, the magnetic field distribution around the current-carrying cable is obtained as follows: Figure 4 shown.
[0100] Then four more simulations were performed, and the magnetic induction intensity values and the measured currents calculated by the algorithm are shown in Table 1.
[0101] Table 1
[0102]
[0103] As shown in Table 1, when the cable current was 500A, the magnetic induction intensities collected by the three magnetic sensor chips were B1 = 8.2432, B2 = 14.747, and B3 = 8.307 Gs, respectively. These data were then used to simulate and verify the three-chip algorithm designed based on the cable current measurement method of the present invention. The simulation program output a result of 500.1793A, which exhibited an error rate of only 0.0359% compared to the actual value.
[0104] The outputs of the four subsequent simulation experiments were also nearly identical to the set true values, with very small deviations. The converted error rate ranged from a minimum of 0.0348% to a maximum of only 0.0361%.
[0105] (2) Position independence test
[0106] In order to verify the position-independence capability of the invention, multiple sets of data were set for simulation experiments. The spatial position of the magnetic sensor chip and the cable current carrying value were selected as the variable quantities, and simulation verification was carried out through different array position layouts and cable current sizes.
[0107]
[0108] Now select the above four sets of magnetic sensor distribution position spatial coordinates and pass current values of 300A, 500A, 1000A, 1500A and 2000A through the cable respectively. The relative error results of the current measurement after simulation are as follows: Figure 5 shown.
[0109] Through Figure 5A detailed analysis of experimental data reveals that the technology maintains low measurement error at various current levels, with the overall current relative error ranging from 0.0145% to 0.479%. Compared to the set current results, the two are highly consistent, demonstrating excellent measurement performance across a wide range of currents.
[0110] Simulation results show that the above method of the present invention can accurately measure the current of the cable to be tested, and no matter what spatial position the magnetic sensor array is in, the current output value obtained by this method can maintain consistent high precision.
[0111] In order to further apply this method to reality, a non-invasive cable current measurement prototype is built in this embodiment. The structure of the non-invasive cable current measurement prototype is as follows: Figure 6 As shown, it consists of a magnetic sensor array, a filtering circuit, a single-chip microcomputer, a smart card reader and a liquid crystal display. The magnetic sensor array, the filtering circuit and the single-chip microcomputer are electrically connected in sequence. The magnetic sensor array is the above-mentioned linear magnetic sensor array. The filtering circuit adopts an existing conventional filtering circuit. The single-chip microcomputer carries code written in a programming language for the cable current measurement method based on the linear magnetic sensor array of the present invention; the smart card reader and the liquid crystal display are electrically connected to the single-chip microcomputer respectively, and are used to read and display the current measurement results.
[0112] When converting the cable current measurement method based on the linear magnetic sensor array of the present invention into a practical non-invasive cable current measurement prototype, the algorithm first needs to be processed on a single chip. This process involves an in-depth analysis of the original algorithm to identify and optimize those parts that may burden the resources of the single-chip microcomputer, such as using fixed-point operations instead of floating-point operations to save processing time and memory space. Next, the optimized algorithm is coded and implemented using a programming language suitable for the single-chip microcomputer, such as C language. After the code is written, rigorous debugging and testing are carried out through simulated or actual magnetic field signal input to ensure that the output of the algorithm is accurate. Once the verification is successful, the code will be burned into the flash memory of the single-chip microcomputer and become a permanently running firmware.
[0113] To further improve signal quality, an external filtering circuit is integrated into the system to ensure that the filtered signal is clear and undistorted.
[0114] To enhance the user experience and system visualization, we integrated an LCD circuit into the microcontroller system. This circuit not only provides an intuitive data display interface but also enhances the convenience of human-computer interaction. We selected an LCD with excellent viewing angle and color rendering to clearly display the current measurement data processed by the microcontroller in real time. The inclusion of the LCD circuit not only allows users to monitor the cable current status in real time but also facilitates system debugging and maintenance. Through this innovative design, our non-intrusive cable current measurement prototype has reached new heights in functionality and ease of use.
[0115] Based on the construction of the above-mentioned current measurement prototype, the method provided by the present invention can be used in actual reality, achieving non-contact measurement without the need for winding cables, and can provide stable and reliable data output regardless of narrow space constraints or complex environmental changes.
[0116] Through the above description of the embodiments, those skilled in the art will clearly understand that the above embodiments can be implemented through software or in practice using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions of the above embodiments can be embodied in the form of a product that integrates a filter circuit, a liquid crystal display circuit, and a single-chip microcomputer system, and the measured current data can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.).
[0117] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A cable current measurement method based on a linear magnetic sensor array, It is characterized in that The following steps are involved: Step S1, constructing a magnetic sensor array for the cable to be tested, and establishing a measurement equation group according to the spatial distance between each magnetic sensor and the magnetic induction intensity data collected by the magnetic sensor; the specific steps include: Step S11, constructing a magnetic sensor array for the cable to be tested, wherein the magnetic sensor array is a linear magnetic sensor array, and constructing a position equation according to the spacing between each magnetic sensor and the spatial position value between each magnetic sensor and the cable to be tested; Step S12, constructing a measurement equation group according to the position equation and the magnetic induction intensity of the cable to be measured measured by the sensor; Step S2, obtaining coefficients consisting of magnetic induction intensity values and distance values between magnetic sensors by solving the measurement equation group; Step S3, calculating the current measurement value using a coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors.
2. The cable current measurement method based on a linear magnetic sensor array according to claim 1, It is characterized in that The magnetic sensor array constructed in step S11 is composed of at least three uniaxial magnetic sensors, all of which are placed on the same straight line, the cable to be tested is parallel to any plane where the magnetic sensor straight line is located, and the cable to be tested is not parallel to the magnetic sensor straight line.
3. The cable current measurement method based on a linear magnetic sensor array according to claim 2, It is characterized in that The magnetic sensors in the magnetic sensor array may be distributed on the same side of the projection line of the cable to be tested, or may be distributed on both sides of the projection line of the cable to be tested.
4. The cable current measurement method based on a linear magnetic sensor array according to claim 3, It is characterized in that In the constructed magnetic sensor array, the magnetic sensitive directions of all magnetic sensors are in the same direction and are all located on a straight line formed by the magnetic sensors.
5. The cable current measurement method based on a linear magnetic sensor array according to claim 4, It is characterized in that The three uniaxial magnetic sensors in the magnetic sensor array are respectively a first magnetic sensor, a second magnetic sensor and a third magnetic sensor, the first magnetic sensor and the second magnetic sensor are located on the same side of the projection line of the cable to be tested, and the third magnetic sensor is located on the other side of the projection line of the cable to be tested; Then, establishing a measurement equation group according to the spatial distance between each magnetic sensor and the magnetic induction intensity data collected by the magnetic sensor specifically includes the following steps: The distance between the first magnetic sensor and the second magnetic sensor is m, and the distance between the first magnetic sensor and the third magnetic sensor is n; B 1 , B 2 , B 3 are the magnetic induction intensities measured by the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor respectively; x 1 、x 2 、x 3 are the vertical distances from the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor to the long straight cable to be tested; assuming that the vertical distance between the cable to be tested and the plane where the magnetic sensor line is located is d, the endpoints of the three vertical line segments between the feet of the vertical line of the cable to be tested passing through the three magnetic sensors and the plane where the magnetic sensor line is located are D 1 , D 2 , D 3 , the cable to be tested and the three vertical segments can form a plane s, and the angles between the vertical line of the cable to be tested through the three magnetic sensors and the vertical lines from the three magnetic sensors to the plane s are θ 1 ,θ 2 ,θ 3 , the angles between the vertical lines from the three magnetic sensors to the plane s and the magnetic sensor straight line are all α; after the magnetic sensor array is installed and arranged, B 1 , B 2 , B 3 , m, n are known quantities obtained by measurement, x 1 、x 2 、x 3 ,θ 1 ,θ 2 ,θ 3 , d, and α are unknown quantities. Find the current I on the current-carrying cable to be tested. x ; When deriving the formula, it is assumed that make Where I represents the magnetic field strength at a point at a certain distance from the center of the wire, μ 0 Represents the magnetic permeability of vacuum, which is a physical constant, μ 0 The value of is 4π×10 -7 Tesla·meter / ampere; According to the Biot-Saffar law and the spatial geometric relationship of the positions of each magnetic sensor, the position equation can be constructed as follows: It can be seen from formula (1) that the magnetic induction intensity B is proportional to the current I and is affected by the relative position and tilt angle between the magnetic sensor and the current-carrying cable to be tested. According to the above nonlinear position equation, it can be derived that: According to formula (2), we can further deduce: In addition, by applying the equivalent transformation relationship between trigonometric functions, the position equation in equation (1) can be transformed to derive: The formula in the simultaneous equation (4) can be obtained by shifting the terms and squaring them: Substituting formula (3) into formula (5), we can get: According to formula (6), the coefficient composed of the magnetic induction intensity value and the distance value between the magnetic sensors is obtained, and it is set as: In formula (7), a 1 、b 1 、c 1 d 1 、a 2 、b 2 、c 2 d 2 They are all intermediate variables in the calculation process; Substituting equation (7) into equation (6), eliminating I 2 , after sorting, we can get: (c 2 2 d 2 a 1 2 -c 1 2 d 1 a 2 2 )x 3 4 +(c 1 2 d 1 c 2 2 cos 2 a+2c 1 2 d 1 a 2 b 2 cos 2 a-c 2 2 d 2 c 1 2 cos 2 a- 2c 2 2 d 2 a 1 b 1 cos 2 a)x 3 2 +(c 2 2 d 2 b 1 2 cos 4 a-c 1 2 d 1 b 2 2 cos 4 a)=0 (8) make: In formula (9), k 1 , k 2 , k 3 It is also an intermediate variable in the calculation process and is used as a coefficient; According to formula (9), the coefficient k can be calculated 1 , k 2 and k 3 , then according to the coefficient k 1 , k 2 and k 3 Calculate the vertical distance x from the third magnetic sensor to the long straight cable to be tested 3 , the specific calculation formula is as follows: The x calculated by formula (10) 3 There are two values, and one value can be deleted according to the actual situation. For example, according to the specific position relationship of the first magnetic sensor, the second magnetic sensor and the third magnetic sensor, one of the values that does not meet the requirements is deleted, and the other value that meets the requirements is retained; Substituting formula (10) into formula (6) yields the following formula: The current to be measured can be obtained according to equations (11) and (12).
6. A non-intrusive cable current measurement prototype, comprising a magnetic sensor array, a filter circuit, a single-chip microcomputer, a smart card reader and a liquid crystal display, It is characterized in that The magnetic sensor array, the filter circuit, and the single-chip computer are electrically connected in sequence, the magnetic sensor array is a linear magnetic sensor array as described in any one of claims 1 to 5, the filter circuit adopts an existing conventional filter circuit, and the single-chip computer carries a cable current measurement method based on a linear magnetic sensor array as described in any one of claims 1 to 5 compiled by a programming language; The smart card reader and the liquid crystal display are electrically connected to the single chip computer respectively, and are used for reading and displaying the current measurement result.
Citation Information
Patent Citations
Line current measuring method, device and equipment in power system and storage medium
CN109283380A
Long and straight wire current measurement method and system
CN112986648A
Current sensor based on TMR chip array, current measurement system and method
CN116008644A
Cable current correction measurement method based on open-loop structure TMR sensor
CN116068256A
Overhead transmission line current non-contact sensing method and device
CN117665366A
