Current measurement method and device of current-carrying conductor, computer equipment and storage medium
By installing multiple current sensors on the current-carrying conductor, the initial current and magnetic induction intensity are obtained and the actual installation position is inverted, the accuracy problem of traditional current measurement methods under special current and shape uncertainty is solved, and the measurement accuracy and stability are achieved.
Patent Information
- Application Number
- CN202510175691.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-08-15
AI Technical Summary
Traditional current measurement methods are prone to core saturation and DC bias in special current situations such as high-frequency current, DC current and impact current, which affects the measurement accuracy and is difficult to adapt to the uncertainty of the shape and size of the current-carrying conductor, especially in small and narrow spaces.
By installing multiple current sensors on the current-carrying conductor, the initial current and magnetic induction intensity are obtained, the actual current is determined by inversion of the theoretical installation position and the actual installation position, the sensor position uncertainty is eliminated, and the magnetic field sensor array is used for precise measurement.
Improves the accuracy and stability of current measurement, adapting to various uncertainties, especially in complex power systems to achieve higher measurement accuracy.
Smart Images

Figure CN120490568A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of current measurement technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for measuring the current of a current-carrying conductor. Background Art
[0002] The increasing complexity of power systems, particularly with the continued development of smart grids, microgrids, and modern power systems, has placed higher demands on the real-time, accurate measurement of physical quantities such as current and voltage. As a crucial component of power systems, current measurement is not only directly related to system operating efficiency but also to the safety and stability of equipment.
[0003] Traditional current measurement methods typically rely on magnetic field confinement structures such as magnetic collectors. However, this method is hampered by the bulky and complex installation of the measurement equipment. Furthermore, under special current conditions such as high-frequency current, DC current, and surge current, core saturation and DC bias magnetization can easily occur, thus affecting current measurement accuracy. Summary of the Invention
[0004] Based on this, it is necessary to provide a current measurement method, device, computer equipment, computer-readable storage medium and computer program product that can improve the current measurement accuracy in order to address the above technical problems.
[0005] In a first aspect, the present application provides a current measurement method. A plurality of current sensors are mounted on a current-carrying conductor, and the method comprises:
[0006] In the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor;
[0007] determining an actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current;
[0008] The actual current corresponding to the current-carrying conductor is determined according to each of the actual installation positions and each of the initial magnetic induction intensities.
[0009] In one embodiment, determining the actual current corresponding to the current-carrying conductor according to each of the actual installation positions and each of the initial magnetic induction intensities includes:
[0010] Obtaining dimension information of the current-carrying conductor;
[0011] Determining an initial proportional coefficient corresponding to each current sensor according to the size information and each actual installation position;
[0012] The actual current is determined according to each of the initial proportional coefficients and each of the initial magnetic induction intensities.
[0013] In one embodiment, determining the actual current according to each of the initial proportional coefficients and each of the initial magnetic induction intensities includes:
[0014] Determining a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule;
[0015] For each of the vertical arrays, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array;
[0016] The actual current is determined according to each of the target proportional coefficients and each of the target magnetic induction intensities.
[0017] In one embodiment, each of the target proportional coefficients includes a first target proportional coefficient and a second target proportional coefficient, and each of the target magnetic induction intensities includes a first target magnetic induction intensity and a second target magnetic induction intensity. Determining the actual current according to each of the target proportional coefficients and each of the target magnetic induction intensities includes:
[0018] Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient;
[0019] An average of the first ratio and the second ratio is determined as the actual current.
[0020] In one embodiment, the actual installation position includes a horizontal coordinate and a vertical coordinate, and determining the actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current includes:
[0021] Determining a horizontal array to which each current sensor belongs, where each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule;
[0022] For each of the horizontal arrays, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined based on the initial current and theoretical installation position of each current sensor included in the vertical array.
[0023] In one embodiment, determining the horizontal coordinate corresponding to each current sensor included in the horizontal array according to the initial current and theoretical installation position of each current sensor included in the horizontal array includes:
[0024] Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each of the horizontal arrays;
[0025] The minimum value of the first objective function is determined as the abscissa.
[0026] In one embodiment, determining the vertical coordinate corresponding to each current sensor included in the vertical array according to the initial current and theoretical installation position of each current sensor included in the vertical array includes:
[0027] Determining a second objective function according to the initial current and theoretical installation position of each current sensor included in each of the vertical arrays;
[0028] The minimum value of the second objective function is determined as the vertical coordinate.
[0029] In a second aspect, the present application further provides a current measuring device. A plurality of current sensors are mounted on the current-carrying conductor, and the device comprises:
[0030] an acquisition module, configured to acquire, during the process of measuring the current of the current-carrying conductor by each current sensor, an initial current and an initial magnetic induction intensity sensed by each current sensor, and acquire a theoretical installation position of each current sensor on the current-carrying conductor;
[0031] A first determining module is configured to determine an actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current;
[0032] The second determining module is used to determine the actual current corresponding to the current-carrying conductor according to each of the actual installation positions and each of the initial magnetic induction intensities.
[0033] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0035] In a fifth aspect, the present application further provides a computer program product, comprising a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.
[0036] The above-mentioned current measurement method, device, computer equipment, computer-readable storage medium and computer program product of the current-carrying conductor, in the process of measuring the current of the current-carrying conductor through each current sensor, the server first obtains the initial current and initial magnetic induction intensity sensed by each current sensor, and obtains the theoretical installation position of each current sensor on the current-carrying conductor. Then, based on each theoretical installation position and each initial current, the actual installation position of each current sensor on the current-carrying conductor is determined. Then, based on each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined. In this current measurement method, the actual installation position is obtained by inverting the theoretical installation position, which can effectively eliminate the uncertainty of the current sensor position. Compared with the theoretical installation position, the actual installation position is more accurate, so the actual current calculated using the actual installation position is also more accurate, thereby improving the measurement accuracy of the current of the current-carrying conductor. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. 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 any creative work.
[0038] Figure 1 FIG. 1 is a diagram illustrating an application environment for current measurement of a current-carrying conductor in an embodiment.
[0039] Figure 2 1 is a schematic flow chart of a method for measuring current of a current-carrying conductor in one embodiment;
[0040] Figure 3 is a schematic diagram of distributing multiple current sensors on a current-carrying conductor in one embodiment;
[0041] Figure 4 203 is a flow chart of step 203 in one embodiment;
[0042] Figure 54 is a flow chart of step 403 in one embodiment;
[0043] Figure 6 5 is a flow chart of step 503 in one embodiment;
[0044] Figure 7 202 is a flow chart of step 202 in one embodiment;
[0045] Figure 8 FIG. 7 is a flow chart of step 702 in one embodiment;
[0046] Figure 9 is a flow chart of step 702 in another embodiment;
[0047] Figure 10 is a structural block diagram of a current measuring device for a current-carrying conductor in one embodiment;
[0048] Figure 11 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0050] The increasing complexity of power systems, particularly the continued development of smart grids, microgrids, and modern power systems, has placed higher demands on the real-time, precise measurement of physical quantities such as current and voltage. Current measurement is not only directly related to the operational efficiency of power systems but also to the safety and stability of power equipment. Traditional current measurement methods, such as those based on current transformers and Hall-effect sensors, have been widely used in various power equipment. However, with the diversification of current flow in power systems and the increasing demand for measurement accuracy, these traditional technologies have significant limitations.
[0051] Traditional current measurement technology based on current transformers typically relies on magnetic field confinement structures such as magnetic rings. This not only results in bulky measurement equipment and complex installation, but also is prone to core saturation and DC bias magnetization in special current conditions such as high-frequency current, DC current, and inrush current, thus affecting measurement accuracy. Furthermore, with the increasing diversification of the shapes, sizes, and current waveforms of current-carrying conductors in power systems, traditional current measurement solutions suffer from insufficient measurement accuracy for conductors with non-standard cross-sections. This is particularly true in small, confined power equipment, where existing current measurement solutions often fail to meet size and accuracy requirements.
[0052] To address the limitations of traditional current measurement methods, current measurement solutions based on magnetic field sensing have become a research hotspot in recent years. In particular, the emergence of tunneling magnetoresistance (TMR) sensors has greatly promoted their application in current measurement. TMR sensors offer advantages such as high sensitivity, a wide frequency response range, and low power consumption, enabling higher accuracy and a wider range of applications within a compact footprint. However, despite the significant performance advantages of TMR sensors, overcoming the limitations of traditional current measurement methods and fully leveraging their advantages remains a pressing technical challenge.
[0053] Currently, current measurement methods based on magnetic field sensor arrays have become an important research direction. However, in practical applications, current measurement based on distributed sensor arrays still faces some challenges, mainly in the following aspects:
[0054] Uncertainty of current-carrying conductor parameters: Since the uncertainty of the width, thickness and cross-sectional shape of the current-carrying conductor will directly affect the distribution of the magnetic field, in actual power systems, the uncertainty of the size and shape of the current-carrying conductor will affect the current measurement accuracy based on the magnetic field sensor.
[0055] Uncertainty of sensor position parameters: During the actual installation process, the sensor may produce position deviation due to installation errors, which may lead to significant deviations in the measurement results.
[0056] External magnetic field interference: In power systems, external magnetic fields, such as the earth's magnetic field or the magnetic field of other current-carrying conductors nearby, may interfere with the sensor's measurement results and reduce measurement accuracy.
[0057] To address these issues, improving the accuracy, stability, and adaptability of current measurement systems based on magnetic field sensor arrays, especially in the face of various uncertainties, remains a major challenge in current measurement technology research. In light of this, this application proposes a current measurement method for a current-carrying conductor to improve the accuracy of current measurement in a current-carrying conductor.
[0058] The current measurement method of the current-carrying conductor provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. The server 102 communicates with the current sensor 104 installed on the current-carrying conductor through the network. The server 102 can obtain the initial current and initial magnetic induction intensity sensed by each current sensor in the process of measuring the current of the current-carrying conductor through each current sensor, and obtain the theoretical installation position of each current sensor on the current-carrying conductor. Then, based on each theoretical installation position and each initial current, the actual installation position of each current sensor on the current-carrying conductor is determined, and then, based on each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined. The server 102 can be implemented as an independent server or a server cluster composed of multiple servers. The current sensor 104 installed on the current-carrying conductor may include one current sensor or multiple current sensors.
[0059] In an exemplary embodiment, Figure 2 As shown, a current measuring method for a current-carrying conductor is provided, wherein a plurality of current sensors are installed on the current-carrying conductor. Figure 1 The server in the example is used as an example to illustrate:
[0060] Step 201 : in the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor.
[0061] A current-carrying conductor is a conductor capable of withstanding voltage and current. For example, a current-carrying conductor may be a power cable or overhead line in a power system, and the material of the current-carrying conductor may be a conductive metal such as copper or aluminum. A current sensor is a device for measuring current in a circuit. The current sensor can be used in current measurement scenarios in power systems and electronic equipment. In this embodiment, the current sensed by the current sensor is used as the initial current.
[0062] It can be understood that when current flows through a current-carrying conductor, a magnetic field is generated around the current-carrying conductor, and the magnetic induction intensity corresponding to the magnetic field is used as the initial magnetic induction intensity.
[0063] It should be noted that, in this embodiment, multiple current sensors are installed on the current-carrying conductor as an example to measure the current of the current-carrying conductor. For example, the installation positions of multiple current sensors on the current-carrying conductor can be as follows: Figure 3 shown. Figure 3The system includes four uniaxial magnetic field sensors, each placed at a different position above the current-carrying conductor. Current sensors S1 and S2 have the same vertical coordinate, h+H / 2, and current sensors S3 and S4 have the same vertical coordinate, h0+h+H / 2. Similarly, current sensors S1 and S3 have the same horizontal coordinate, -d / 2, and current sensors S2 and S4 have the same horizontal coordinate, d / 2.
[0064] Assuming that the direction of current I flowing in a rectangular current-carrying conductor is perpendicular to the cross-section of the current-carrying conductor and is outward, the origin of the rectangular coordinate system coincides with the center of the current-carrying conductor. Figure 3 , the four current sensors are placed at different positions above the current-carrying conductor. The vertical coordinates of current sensor S1 and current sensor S2 are the same, both are h+H / 2, and the vertical coordinates of current sensor S3 and current sensor S4 are the same, both are h0+h+H / 2. Similarly, the horizontal coordinates of current sensor S1 and current sensor S3 are the same, both are -d / 2, and the horizontal coordinates of current sensor S2 and current sensor S4 are the same, both are d / 2. The sensitive axis direction of the four magnetic field sensors is the positive direction of the x-axis. In the absence of external magnetic field interference, the current I of the current-carrying conductor is related to the coordinates Current sensor The corresponding magnetic induction intensity The proportional coefficient between The calculation is as follows:
[0065]
[0066] Where S is the area of the current-carrying conductor, m is the number of current sensors in the horizontal array, and n is the number of current sensors in the vertical array. , , , = .
[0067] The above equation shows that for a DC rectangular current-carrying conductor, maintaining its position, the magnetic field strength generated by it at any point in space has a linear relationship with the current in the conductor with a fixed proportionality coefficient. If the parameters of the current-carrying conductor and the position of the current sensor are known, the proportionality coefficient at the sensor's location can be calculated. Thus, in the absence of external magnetic field interference, the current value of the current-carrying conductor can be calculated based on the magnetic field intensity of the current sensor and the proportionality coefficient corresponding to the current sensor's location.
[0068] Based on this, when measuring the current of the current-carrying conductor, it is necessary to obtain the installation position of each current sensor on the current-carrying conductor. In this embodiment, the theoretical installation position of the current-carrying conductor is used as the theoretical installation position.
[0069] In this embodiment, during the process of measuring the current of the current-carrying conductor through each current sensor, the server can obtain the initial current and initial magnetic induction intensity sensed by each current sensor from the information collected by each current sensor, and obtain the theoretical installation position of each current sensor based on the pre-set installation position of each current sensor on the current-carrying conductor.
[0070] Step 202 : determining the actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current.
[0071] It is understood that in actual measurements, due to installation errors between the actual and theoretical installation positions of each current sensor, it is necessary to invert the theoretical installation position to obtain the actual installation position to improve the accuracy of the current measurement. If the theoretical installation position of the current sensor matches the actual installation position of the current sensor, the currents of the two current sensors in the horizontal direction are the same.
[0072] In this embodiment, for a current sensor, it is possible to determine whether the initial currents corresponding to the current sensors in the horizontal direction are the same, and invert the coordinate values of the theoretical installation positions in the horizontal direction until the initial currents corresponding to the current sensors in the horizontal direction are the same, and determine the coordinate values of the current installation positions in the horizontal direction as the horizontal coordinate values of the actual installation position. It is also possible to determine whether the initial currents corresponding to the current sensors in the vertical direction are the same, and invert the coordinate values of the theoretical installation positions in the vertical direction until the initial currents corresponding to the current sensors in the vertical direction are the same, and determine the coordinate values of the current installation positions in the vertical direction as the vertical coordinate values of the actual installation position. Thus, based on the horizontal coordinate values of the actual installation position and the vertical coordinate values of the actual installation position, the actual installation position of the current sensor on the current-carrying conductor is determined, thereby determining the actual installation position of each current sensor on the current-carrying conductor.
[0073] Step 203: determining the actual current corresponding to the current-carrying conductor according to each actual installation position and each initial magnetic induction intensity.
[0074] The actual installation position refers to the actual installation position of each current sensor on the current-carrying conductor. It is understood that because the proportionality factor is related to the position of each current sensor, the current value calculated based on each actual installation position is more accurate. The actual current refers to the current value calculated based on each actual installation position.
[0075] In this embodiment, the server may determine the measured current of each current sensor according to the actual installation position and initial magnetic induction intensity of each current sensor, and then use the average value of the measured currents of each current sensor as the actual current corresponding to the current-carrying conductor.
[0076] In the above-mentioned current measurement method for a current-carrying conductor, in the process of measuring the current of the current-carrying conductor through each current sensor, the server first obtains the initial current and initial magnetic induction intensity sensed by each current sensor, and obtains the theoretical installation position of each current sensor on the current-carrying conductor. Then, based on each theoretical installation position and each initial current, the actual installation position of each current sensor on the current-carrying conductor is determined. Then, based on each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined. In this current measurement method, the actual installation position is obtained by inverting the theoretical installation position, which can effectively eliminate the uncertainty of the current sensor position. Compared with the theoretical installation position, the actual installation position is more accurate, so the actual current calculated using the actual installation position is also more accurate, thereby improving the measurement accuracy of the current of the current-carrying conductor.
[0077] In an exemplary embodiment, Figure 4 As shown, this embodiment relates to a process in which the server determines the actual current corresponding to the current-carrying conductor according to each actual installation position and each initial magnetic induction intensity. The above step 203 includes:
[0078] Step 401: Acquire dimension information of a current-carrying conductor.
[0079] The dimensional information of the current-carrying conductor may include the width and thickness of the current-carrying conductor. It should be noted that since the current measurement method provided in the embodiments of the present application does not rely on structures such as magnetic collecting rings, there is no need to restrict the shape of the current-carrying conductor and it can be applied to current measurement scenarios of current-carrying conductors of various shapes.
[0080] In this embodiment, the server may obtain the size information of the current-carrying conductor from preset parameter information of the current-carrying conductor.
[0081] Step 402 : Determine the initial proportional coefficient corresponding to each current sensor based on the size information and each actual installation position.
[0082] The initial proportionality coefficient is used to characterize the correspondence between the current sensed by each current sensor and the magnetic induction intensity. In this embodiment, the server can determine a function of the initial proportionality coefficient based on the actual installation location of each current sensor and the size information of the current-carrying conductor, and thus determine the initial proportionality coefficient based on the function. The relationship between the initial proportionality coefficient, the size information, and the actual installation location can be expressed as: , where W is the width of the current-carrying conductor and H is the thickness of the current-carrying conductor.
[0083] Step 403: determining the actual current according to the initial proportional coefficients and the initial magnetic induction intensities.
[0084] In this embodiment, the server may use the ratio between the initial magnetic induction intensity and the initial proportional coefficient corresponding to each current sensor as the calculated current of each current sensor, and then use the average value of the calculated currents as the actual current.
[0085] In this embodiment, the server obtains the size information of the current-carrying conductor, and then determines the initial proportional coefficient corresponding to each current sensor based on the size information and the actual installation position. Then, the actual current is determined based on each initial proportional coefficient and each initial magnetic induction intensity. Since the size information and the actual installation position are determined, the initial proportional coefficient can be quickly determined, and thus the actual current can be quickly determined based on the initial magnetic induction intensity and the initial proportional coefficient, thereby improving the efficiency of determining the actual current.
[0086] In an exemplary embodiment, Figure 5 As shown, this embodiment relates to a process in which the server determines the actual current according to each initial proportional coefficient and each initial magnetic induction intensity. The above step 403 includes:
[0087] Step 501 : Determine the vertical array to which each current sensor belongs. Each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule.
[0088] The vertical array refers to a current sensor array obtained by dividing a plurality of current sensors installed on a current-carrying conductor according to a vertical division rule, and the first spatial division rule refers to a vertical division rule.
[0089] In this embodiment, the process of determining the actual current is described using six current sensors distributed in a 3x2 matrix on a current-carrying conductor as an example. It should be noted that during the actual current measurement process, there may be a large amount of external magnetic field interference, which may interfere with the current measurement result. Therefore, in the process of determining the actual current, it is necessary to eliminate external magnetic field interference.
[0090] External magnetic interference during current measurement can be categorized into two types: uniform magnetic field interference and non-uniform magnetic field interference. Uniform magnetic fields primarily include the Earth's magnetic field, while non-uniform magnetic fields primarily include crosstalk generated by nearby current-carrying conductors. Given the proximity of magnetic field sensors to the surface of current-carrying conductors, the difference in magnetic field generated by the conductor at different heights typically far exceeds the external interfering magnetic field. Therefore, differential processing of sensor measurements at different heights can eliminate external uniform magnetic field interference and significantly reduce non-uniform magnetic field interference.
[0091] In this embodiment, the server may pre-divide the current sensors distributed in a 3*2 matrix vertically. For example, the current sensors S1, S3, and S5 may be divided into a vertical array 1, and the current sensors S2, S4, and S6 may be divided into a vertical array 2. Then, the vertical array to which each current sensor belongs may be determined based on the pre-divided vertical arrays.
[0092] In step 502 , for each vertical array, a difference between initial scale factors of the current sensors included in the vertical array is determined as a target scale factor of the vertical array, and a difference between initial magnetic induction intensities of the current sensors included in the vertical array is determined as a target magnetic induction intensity of the vertical array.
[0093] The target proportional coefficient is a proportional coefficient obtained by performing differential processing on the initial proportional coefficients of the current sensors in the vertical array, and the target magnetic induction intensity is a magnetic induction intensity obtained by performing differential processing on the initial magnetic induction intensity of the current sensors in the vertical array.
[0094] In this embodiment, the server can calculate the difference between the initial proportional coefficients of multiple current sensors in each vertical array respectively, and use the difference as the target proportional coefficient of the vertical array, and calculate the difference between the initial magnetic induction intensities of multiple current sensors in each vertical array respectively, and use the difference as the target magnetic induction intensity of the vertical array.
[0095] For example, if six current sensors are distributed on the current-carrying conductor in a 3*2 matrix, and each vertical array includes three current sensors: S1, S3, S5, or S2, S4, S6, then the target proportionality factor is: , , the target magnetic induction intensity is: , .in, and are the target scale factors of the two vertical arrays, and They are the target magnetic induction intensities of two perpendicular arrays respectively.
[0096] Step 503: Determine the actual current according to each target proportional coefficient and each target magnetic induction intensity.
[0097] In this embodiment, the server can calculate the average value of each target proportional coefficient to obtain the average target proportional coefficient, and calculate the average value of each target magnetic induction intensity to obtain the average target magnetic induction intensity, and then determine the ratio between the average target magnetic induction intensity and the average target proportional coefficient as the actual current.
[0098] In this embodiment, the server first determines the vertical array to which each current sensor belongs. Then, for each vertical array, the server determines the difference between the initial proportional coefficients of the multiple current sensors included in the vertical array as the target proportional coefficient of the vertical array, and determines the difference between the initial magnetic induction intensities of the multiple current sensors included in the vertical array as the target magnetic induction intensity of the vertical array. Then, the actual current is determined based on the target proportional coefficients and the target magnetic induction intensities. Since each vertical array is obtained by vertically dividing each current sensor according to a preset first spatial division rule, external magnetic field interference can be eliminated by differentially processing the measurement values corresponding to current sensors at different heights, thereby improving the accuracy of the determined actual current.
[0099] In an exemplary embodiment, Figure 6 As shown, each target proportional coefficient includes a first target proportional coefficient and a second target proportional coefficient, and each target magnetic induction intensity includes a first target magnetic induction intensity and a second target magnetic induction intensity. This embodiment relates to a process in which the server determines the actual current based on each target proportional coefficient and each target magnetic induction intensity. The above step 503 includes:
[0100] Step 601 : Calculate a first ratio between a first target magnetic induction intensity and a first target proportional coefficient, and calculate a second ratio between a second target magnetic induction intensity and a second target proportional coefficient.
[0101] It should be noted that, in this embodiment, taking four current sensors distributed in a 2*2 matrix on a current-carrying conductor as an example, current sensors S1 and S3 can be divided into vertical array 1, and current sensors S2 and S4 can be divided into vertical array 2. The first target proportional coefficient refers to the target proportional coefficient corresponding to vertical array 1, the first target magnetic induction intensity refers to the target proportional coefficient magnetic induction intensity corresponding to vertical array 1, the second target proportional coefficient refers to the target proportional coefficient corresponding to vertical array 2, and the second target magnetic induction intensity refers to the target proportional coefficient magnetic induction intensity corresponding to vertical array 2.
[0102] In this embodiment, the server may use the ratio of the first target magnetic induction intensity to the first target proportional coefficient as the first ratio, and use the ratio of the second target magnetic induction intensity to the second target proportional coefficient as the second ratio.
[0103] Step 602: Determine the average of the first ratio and the second ratio as the actual current.
[0104] In this embodiment, the server may calculate the sum of the first ratio and the second ratio, and then divide the sum by 2 to obtain the average of the first ratio and the second ratio, thereby using the average as the actual current.
[0105] In this embodiment, the server calculates a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculates a second ratio between the second target magnetic induction intensity and the second target proportional coefficient, and then determines the average of the first ratio and the second ratio as the actual current. Due to the process of calculating the first ratio and the second ratio, the average of the first ratio and the second ratio can be quickly calculated, and then the actual current can be quickly determined, thereby improving the efficiency of determining the actual current.
[0106] In an exemplary embodiment, Figure 7 As shown, the actual installation position includes a horizontal coordinate and a vertical coordinate. This embodiment relates to a process in which the server determines the actual installation position of each current sensor on the current-carrying conductor based on each theoretical installation position and each initial current. The above step 202 includes:
[0107] Step 701 : Determine the horizontal array to which each current sensor belongs. Each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule.
[0108] The horizontal array refers to a current sensor array obtained by dividing a plurality of current sensors installed on a current-carrying conductor according to a horizontal division rule, and the second spatial division rule refers to a horizontal division rule.
[0109] Taking the current sensors distributed in a 2*2 matrix as an example, in this embodiment, the current sensors S1 and S2 can be pre-divided into a horizontal array 1, and the current sensors S3 and S4 can be pre-divided into a horizontal array 2. Then, the horizontal array to which each current sensor belongs is determined based on the pre-divided horizontal arrays.
[0110] Step 702 : For each horizontal array, determine the abscissa corresponding to each current sensor included in the horizontal array based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and determine the ordinate corresponding to each current sensor included in the vertical array based on the initial current and theoretical installation position of each current sensor included in the vertical array.
[0111] Among them, the horizontal coordinate and vertical coordinate refer to the horizontal coordinate value and vertical coordinate value corresponding to the actual installation position. It can be understood that, taking the 4 current sensors S1, S2, S3, and S4 distributed in 2*2 as an example, for a horizontal array, if the horizontal coordinate of the theoretical installation position is consistent with the horizontal coordinate of the actual installation position, then the corresponding current sensors S1 and S2 Therefore, the horizontal coordinate corresponding to the actual installation position can be determined based on the initial current of each current sensor included in the horizontal array and the theoretical installation position; similarly, the total coordinate corresponding to the actual installation position can also be determined based on the initial current of each current sensor included in the vertical array and the theoretical installation position.
[0112] The following describes in detail the process of determining the horizontal coordinate and the vertical coordinate.
[0113] As a possible implementation, Figure 8 As shown, the above “determining the horizontal coordinate corresponding to each current sensor included in the horizontal array according to the initial current and theoretical installation position of each current sensor included in the horizontal array” includes:
[0114] Step 801 : determining a first objective function according to the initial current and theoretical installation position of each current sensor included in each horizontal array.
[0115] The first objective function refers to the objective function for calculating the horizontal coordinate. The first objective function can be expressed as:
[0116]
[0117]
[0118]
[0119] in, is the horizontal coordinate corresponding to the theoretical installation position of the current sensor S1, which can be Set to -d / 2.
[0120] Alternatively, the first objective function can also be expressed as:
[0121]
[0122]
[0123]
[0124] in, is the horizontal coordinate corresponding to the theoretical installation position of the current sensor S3, which can be Set to -d / 2.
[0125] Step 802: Determine the minimum value of the first objective function as the horizontal coordinate.
[0126] In this embodiment, the server uses an optimization algorithm, such as the interior point method, to find the minimum value of the first objective function, thereby determining the minimum value as the abscissa corresponding to the actual installation location of the current sensor. For example, the abscissas corresponding to the actual installation locations of current sensor S1 and current sensor S3 can be obtained according to the above formula, and the abscissa of current sensor S1 can be used as the abscissa of current sensor S2, and the abscissa of current sensor S3 can be used as the abscissa of current sensor S4.
[0127] Considering that both the horizontal and vertical coordinates of the theoretical installation position of the current sensor may deviate from the actual installation position, a single inversion is unlikely to accurately determine the actual installation position of the current sensor. Therefore, position inversion can be performed iteratively, using the average of the horizontal coordinate inversion values of the horizontal array as the horizontal coordinate value for the vertical array parameter inversion, and the average of the vertical coordinate inversion values of the vertical array as the vertical coordinate value for the horizontal array parameter inversion. This process continues until the position parameter inversion values for different horizontal arrays or different vertical arrays are consistent. This completes the calibration of the actual installation position of the current sensor.
[0128] As a possible implementation, Figure 9 As shown, the above “determining the vertical coordinate corresponding to each current sensor included in the vertical array according to the initial current and theoretical installation position of each current sensor included in the vertical array” includes:
[0129] Step 901 : determining a second objective function according to the initial current and theoretical installation position of each current sensor included in each vertical array.
[0130] The second objective function refers to the objective function for calculating the ordinate. The second objective function can be expressed as:
[0131]
[0132] in, is the total coordinate corresponding to the theoretical installation position of the current sensor S1, which can be Set to H / 2+h.
[0133] Alternatively, the second objective function can also be expressed as:
[0134] d
[0135] in, is the horizontal coordinate corresponding to the theoretical installation position of the current sensor S2, which can be Set to H / 2+h.
[0136] Step 902: Determine the minimum value of the second objective function as the vertical coordinate.
[0137] In this embodiment, the server uses an optimization algorithm such as the interior point method to find the minimum value of the second objective function, thereby determining the minimum value as the vertical coordinate corresponding to the actual installation location of the current sensor. For example, the vertical coordinates corresponding to the actual installation locations of current sensor S1 and current sensor S2 can be obtained according to the above formula, and the vertical coordinate of current sensor S1 can be used as the vertical coordinate of current sensor S3, and the vertical coordinate of current sensor S2 can be used as the vertical coordinate of current sensor S4.
[0138] In this embodiment, the server first determines the horizontal array to which each current sensor belongs, and each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule. Then, for each horizontal array, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined according to the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined according to the initial current and theoretical installation position of each current sensor included in the vertical array. Then, the actual installation position of each current sensor can be determined according to the horizontal coordinate and the vertical coordinate. Since the difference between the theoretical installation position and the actual installation position can be accurately determined through the horizontal array or the vertical array to which the current sensor belongs, the actual installation position can be accurately determined, thereby improving the accuracy of the determined actual installation position.
[0139] To facilitate understanding by those skilled in the art, the current measurement method of a current-carrying conductor provided by the present application is described in detail below. The method may include:
[0140] S1, in the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor.
[0141] S2, determining the horizontal array to which each current sensor belongs.
[0142] S3, determining the vertical array to which each current sensor belongs.
[0143] S4, determining a first objective function according to the initial current and theoretical installation position of each current sensor included in each horizontal array, and determining the minimum value of the first objective function as the horizontal coordinate.
[0144] S5 , determining a second objective function according to the initial current and theoretical installation position of each current sensor included in each vertical array, and determining the minimum value of the second objective function as the vertical coordinate.
[0145] S6, determining the horizontal coordinate and the vertical coordinate of each current sensor as the actual installation position of each current sensor.
[0146] S7, obtaining size information of the current-carrying conductor.
[0147] S8, determining an initial proportional coefficient corresponding to each current sensor according to the size information and each actual installation position.
[0148] S9, determining the difference between the initial scale factors of the multiple current sensors included in the vertical array as the target scale factor of the vertical array, and determining the difference between the initial magnetic induction intensities of the multiple current sensors included in the vertical array as the target magnetic induction intensity of the vertical array, each target scale factor includes a first target scale factor and a second target scale factor, and each target magnetic induction intensity includes a first target magnetic induction intensity and a second target magnetic induction intensity.
[0149] S10 , calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient.
[0150] S11 , determining an average of the first ratio and the second ratio as the actual current.
[0151] It should be noted that for the descriptions in S1-S11 above, reference can be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.
[0152] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0153] Based on the same inventive concept, embodiments of the present application also provide a current measuring device for a current-carrying conductor for implementing the above-mentioned method for measuring the current of a current-carrying conductor. The solution provided by this device is similar to the solution described in the above-mentioned method. Therefore, the specific limitations of the embodiments of the current measuring device for one or more current-carrying conductors provided below can be found in the above-mentioned limitations of the method for measuring the current of a current-carrying conductor, and will not be repeated here.
[0154] In one embodiment, Figure 10 As shown, a current measuring device for a current-carrying conductor is provided, comprising: an acquisition module 1001, a first determination module 1002, and a second determination module 1003, wherein:
[0155] An acquisition module 1001 is configured to acquire, during the process of measuring the current of the current-carrying conductor using each current sensor, the initial current and initial magnetic induction intensity sensed by each current sensor, and to acquire the theoretical installation position of each current sensor on the current-carrying conductor;
[0156] A first determining module 1002 is configured to determine an actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current;
[0157] The second determining module 1003 is configured to determine the actual current corresponding to the current-carrying conductor according to each actual installation position and each initial magnetic induction intensity.
[0158] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0159] In one embodiment, the second determining module 1003 includes:
[0160] an acquisition unit, used for acquiring size information of a current-carrying conductor;
[0161] A first determining unit is used to determine an initial proportional coefficient corresponding to each current sensor according to the size information and each actual installation position;
[0162] The second determining unit is configured to determine the actual current according to each initial proportional coefficient and each initial magnetic induction intensity.
[0163] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0164] In one embodiment, the second determining unit is specifically configured to:
[0165] Determine a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule;
[0166] For each vertical array, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array;
[0167] The actual current is determined according to each target proportional coefficient and each target magnetic induction intensity.
[0168] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0169] In one embodiment, each target proportional coefficient includes a first target proportional coefficient and a second target proportional coefficient, each target magnetic induction intensity includes a first target magnetic induction intensity and a second target magnetic induction intensity, and the second determining unit is specifically configured to:
[0170] Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient;
[0171] An average of the first ratio and the second ratio is determined as the actual current.
[0172] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0173] In one embodiment, the actual installation position includes a horizontal coordinate and a vertical coordinate. The first determining module 1002 includes:
[0174] a third determining unit, configured to determine a horizontal array to which each current sensor belongs, wherein each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule;
[0175] a fourth determining unit configured to determine, for each horizontal array, a horizontal coordinate corresponding to each current sensor included in the horizontal array based on an initial current and a theoretical installation position of each current sensor included in the horizontal array, and to determine a vertical coordinate corresponding to each current sensor included in the vertical array based on the initial current and the theoretical installation position of each current sensor included in the vertical array.
[0176] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0177] In one embodiment, the fourth determining unit is specifically configured to:
[0178] Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each horizontal array;
[0179] The minimum value of the first objective function is determined as the abscissa.
[0180] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0181] In one embodiment, the fourth determining unit is specifically configured to:
[0182] determining a second objective function according to an initial current and a theoretical installation position of each current sensor included in each vertical array;
[0183] The minimum value of the second objective function is determined as the ordinate.
[0184] The current measuring device for a current-carrying conductor provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail here.
[0185] Each module in the current measuring device for a current-carrying conductor can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0186] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 11 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store the size information of the current-carrying conductor, the current sensed by the current sensor and the magnetic induction intensity. 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 server through a network connection. When the computer program is executed by the processor, a current measurement method for a current-carrying conductor is implemented.
[0187] Those skilled in the art will understand that Figure 11The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0188] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0189] In the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor;
[0190] Determine the actual installation position of each current sensor on the current-carrying conductor based on each theoretical installation position and each initial current;
[0191] According to each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined.
[0192] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0193] Obtaining the size information of the current-carrying conductor;
[0194] Determine the initial proportional coefficient corresponding to each current sensor based on the size information and the actual installation position;
[0195] The actual current is determined according to each initial proportional coefficient and each initial magnetic induction intensity.
[0196] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0197] Determine a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule;
[0198] For each vertical array, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array;
[0199] The actual current is determined according to each target proportional coefficient and each target magnetic induction intensity.
[0200] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0201] Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient;
[0202] An average of the first ratio and the second ratio is determined as the actual current.
[0203] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0204] Determine a horizontal array to which each current sensor belongs, where each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule;
[0205] For each horizontal array, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined based on the initial current and theoretical installation position of each current sensor included in the vertical array.
[0206] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0207] Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each horizontal array;
[0208] The minimum value of the first objective function is determined as the abscissa.
[0209] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0210] determining a second objective function according to an initial current and a theoretical installation position of each current sensor included in each vertical array;
[0211] The minimum value of the second objective function is determined as the ordinate.
[0212] 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:
[0213] In the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor;
[0214] Determine the actual installation position of each current sensor on the current-carrying conductor based on each theoretical installation position and each initial current;
[0215] According to each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined.
[0216] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0217] Obtaining the size information of the current-carrying conductor;
[0218] Determine the initial proportional coefficient corresponding to each current sensor based on the size information and the actual installation position;
[0219] The actual current is determined according to each initial proportional coefficient and each initial magnetic induction intensity.
[0220] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0221] Determine a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule;
[0222] For each vertical array, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array;
[0223] The actual current is determined according to each target proportional coefficient and each target magnetic induction intensity.
[0224] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0225] Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient;
[0226] An average of the first ratio and the second ratio is determined as the actual current.
[0227] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0228] Determine a horizontal array to which each current sensor belongs, where each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule;
[0229] For each horizontal array, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined based on the initial current and theoretical installation position of each current sensor included in the vertical array.
[0230] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0231] Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each horizontal array;
[0232] The minimum value of the first objective function is determined as the abscissa.
[0233] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0234] determining a second objective function according to an initial current and a theoretical installation position of each current sensor included in each vertical array;
[0235] The minimum value of the second objective function is determined as the ordinate.
[0236] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0237] In the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor;
[0238] Determine the actual installation position of each current sensor on the current-carrying conductor based on each theoretical installation position and each initial current;
[0239] According to each actual installation position and each initial magnetic induction intensity, the actual current corresponding to the current-carrying conductor is determined.
[0240] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0241] Obtaining the size information of the current-carrying conductor;
[0242] Determine the initial proportional coefficient corresponding to each current sensor based on the size information and the actual installation position;
[0243] The actual current is determined according to each initial proportional coefficient and each initial magnetic induction intensity.
[0244] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0245] Determine a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule;
[0246] For each vertical array, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array;
[0247] The actual current is determined according to each target proportional coefficient and each target magnetic induction intensity.
[0248] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0249] Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient;
[0250] An average of the first ratio and the second ratio is determined as the actual current.
[0251] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0252] Determine a horizontal array to which each current sensor belongs, where each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule;
[0253] For each horizontal array, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined based on the initial current and theoretical installation position of each current sensor included in the vertical array.
[0254] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0255] Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each horizontal array;
[0256] The minimum value of the first objective function is determined as the abscissa.
[0257] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0258] determining a second objective function according to an initial current and a theoretical installation position of each current sensor included in each vertical array;
[0259] The minimum value of the second objective function is determined as the ordinate.
[0260] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-described method embodiments. Any reference to a memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may 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 may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processors (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.
[0261] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0262] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for measuring the current of a current-carrying conductor, characterized in that: A plurality of current sensors are mounted on the current-carrying conductor, and the method comprises: In the process of measuring the current of the current-carrying conductor by each current sensor, obtaining the initial current and initial magnetic induction intensity sensed by each current sensor, and obtaining the theoretical installation position of each current sensor on the current-carrying conductor; determining an actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current; The actual current corresponding to the current-carrying conductor is determined according to each of the actual installation positions and each of the initial magnetic induction intensities.
2. The method according to claim 1, characterized in that The determining, based on each of the actual installation positions and each of the initial magnetic induction intensities, an actual current corresponding to the current-carrying conductor includes: Obtaining dimension information of the current-carrying conductor; Determining an initial proportional coefficient corresponding to each current sensor according to the size information and each actual installation position; The actual current is determined according to each of the initial proportional coefficients and each of the initial magnetic induction intensities.
3. The method according to claim 2, characterized in that The determining of the actual current according to each of the initial proportional coefficients and each of the initial magnetic induction intensities includes: Determining a vertical array to which each current sensor belongs, where each vertical array is obtained by vertically dividing each current sensor according to a preset first space division rule; For each of the vertical arrays, determining a difference between initial scale factors of the plurality of current sensors included in the vertical array as a target scale factor of the vertical array, and determining a difference between initial magnetic induction intensities of the plurality of current sensors included in the vertical array as a target magnetic induction intensity of the vertical array; The actual current is determined according to each of the target proportional coefficients and each of the target magnetic induction intensities.
4. The method according to claim 3, characterized in that Each of the target proportional coefficients includes a first target proportional coefficient and a second target proportional coefficient, and each of the target magnetic induction intensities includes a first target magnetic induction intensity and a second target magnetic induction intensity. Determining the actual current according to each of the target proportional coefficients and each of the target magnetic induction intensities includes: Calculating a first ratio between the first target magnetic induction intensity and the first target proportional coefficient, and calculating a second ratio between the second target magnetic induction intensity and the second target proportional coefficient; An average of the first ratio and the second ratio is determined as the actual current.
5. The method according to claim 3, characterized in that The actual installation position includes a horizontal coordinate and a vertical coordinate, and determining the actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current includes: Determining a horizontal array to which each current sensor belongs, where each horizontal array is obtained by horizontally dividing each current sensor according to a preset second space division rule; For each of the horizontal arrays, the horizontal coordinate corresponding to each current sensor included in the horizontal array is determined based on the initial current and theoretical installation position of each current sensor included in the horizontal array, and the vertical coordinate corresponding to each current sensor included in the vertical array is determined based on the initial current and theoretical installation position of each current sensor included in the vertical array.
6. The method according to claim 5, characterized in that Determining the horizontal coordinate corresponding to each current sensor included in the horizontal array according to the initial current and the theoretical installation position of each current sensor included in the horizontal array includes: Determining a first objective function according to an initial current and a theoretical installation position of each current sensor included in each of the horizontal arrays; The minimum value of the first objective function is determined as the abscissa.
7. The method according to claim 5, characterized in that Determining the vertical coordinate corresponding to each current sensor included in the vertical array according to the initial current and the theoretical installation position of each current sensor included in the vertical array includes: Determining a second objective function according to the initial current and theoretical installation position of each current sensor included in each of the vertical arrays; The minimum value of the second objective function is determined as the vertical coordinate.
8. A current measuring device for a current-carrying conductor, characterized in that: A plurality of current sensors are mounted on the current-carrying conductor, and the device comprises: an acquisition module, configured to acquire, during the process of measuring the current of the current-carrying conductor by each current sensor, an initial current and an initial magnetic induction intensity sensed by each current sensor, and acquire a theoretical installation position of each current sensor on the current-carrying conductor; A first determining module is configured to determine an actual installation position of each current sensor on the current-carrying conductor according to each theoretical installation position and each initial current; The second determining module is used to determine the actual current corresponding to the current-carrying conductor according to each of the actual installation positions and each of the initial magnetic induction intensities.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.