CN118091223A - Current sensor, current measurement method, apparatus, and storage medium - Google Patents

Current sensor, current measurement method, apparatus, and storage medium Download PDF

Info

Publication number
CN118091223A
CN118091223A CN202410243975.0A CN202410243975A CN118091223A CN 118091223 A CN118091223 A CN 118091223A CN 202410243975 A CN202410243975 A CN 202410243975A CN 118091223 A CN118091223 A CN 118091223A
Authority
CN
China
Prior art keywords
sensor chip
current
magnetic field
magnetic sensor
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410243975.0A
Other languages
Chinese (zh)
Inventor
秦伟富
陆云帆
崔煜悍
肖亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Duochuang Technology Co ltd
Original Assignee
Zhuhai Duochuang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Duochuang Technology Co ltd filed Critical Zhuhai Duochuang Technology Co ltd
Priority to CN202410243975.0A priority Critical patent/CN118091223A/en
Publication of CN118091223A publication Critical patent/CN118091223A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Magnetic Variables (AREA)

Abstract

The application relates to the technical field of current measurement, and discloses a current sensor, a current measurement method, current measurement equipment and a storage medium, wherein the current sensor comprises the following components: the magnetic field acquisition module comprises a triaxial magnetic sensor chip and is used for acquiring current magnetic field information around the triaxial magnetic sensor chip; the driving module is used for driving the triaxial magnetic sensor chip to rotate along the rotation circumference; the motion information module is used for acquiring the current rotation position information of the triaxial magnetic sensor chip; the control module is respectively connected with the magnetic field acquisition module, the driving module and the motion information module, and is used for acquiring the corresponding relation between the rotating position of the triaxial magnetic sensor chip and the magnetic field information and determining the current value of the wire to be tested according to the corresponding relation. According to the application, through the synergistic effect of the magnetic field acquisition module, the driving module, the motion information module and the control module, the accurate measurement of the conductor current is realized in a non-contact manner on the premise that the positions of the conductor and the current sensor are not fixed, and the application has the beneficial effects of simple structure and high measurement precision.

Description

Current sensor, current measurement method, apparatus, and storage medium
Technical Field
The present invention relates to the field of current measurement technologies, and in particular, to a current sensor, a current measurement method, a device, and a storage medium.
Background
In order to realize non-contact measurement of the current of a conductor, a magnetic sensing unit is generally placed at the periphery of the conductor to measure the magnetic field around the conductor, so as to determine the value of the current to be measured of the conductor.
Because the magnetic field around the magnetic sensing unit is weaker and is limited by the measurement accuracy of the magnetic sensing unit, the current value to be measured generally has larger error. In order to solve the problem of weak magnetic field around the magnetic sensor, the magnetic field around the magnetic sensor is generally enhanced by the magnetic focusing ring, so as to reduce the measurement error of the current value to be measured. The volume of the current sensor is generally large due to the large volume of the magnetic flux collecting ring.
Further, in order to achieve small volume and accurately obtain the current value to be measured, a lattice type current sensor is generally adopted, that is, on the basis of not increasing a magnetic flux collecting ring, the number of magnetic sensing units in the current sensor is set to be multiple, the multiple magnetic sensing units are arranged on the periphery of a wire to be measured in an annular array, the wire to be measured is limited in the central area of the annular array, and the current value to be measured of the measuring conductor is determined after summation or average of the output of the magnetic sensing units. The current value to be measured is greatly influenced by the number of the magnetic sensing units, and the more the number of the magnetic sensing units is, the more accurate the current value to be measured is. When the measuring conductor is freely arranged in the inner area surrounded by the annular array, the magnetic sensing unit can only measure the magnetic field in a specific direction, and the current value to be measured generally has larger error mainly due to the influence that the conductor to be measured is far away from the central area of the annular array or is obliquely arranged with the annular array.
Disclosure of Invention
The invention mainly aims to provide a current sensor, a current measurement method, current measurement equipment and a storage medium, and aims to solve the problem that the current measurement accuracy is not high due to the fact that the positions of the current sensor and a measurement conductor are not fixed.
To achieve the above object, the present invention provides a current sensor including:
The magnetic field acquisition module comprises a triaxial magnetic sensor chip and is used for acquiring current magnetic field information around the triaxial magnetic sensor chip;
The driving module is used for driving the triaxial magnetic sensor chip to rotate along the rotation circumference;
the motion information module is used for acquiring the current rotation position information of the triaxial magnetic sensor chip;
The control module is respectively connected with the magnetic field acquisition module, the driving module and the motion information module and is used for acquiring the corresponding relation between the rotating position of the triaxial magnetic sensor chip and the magnetic field information and determining the current value of the wire to be tested according to the corresponding relation, wherein the wire to be tested is positioned in the area surrounded by the rotating circumference.
Optionally, the control module is used for controlling the motion of the driving module to enable the triaxial magnetic sensor chip to rotate along a first direction;
The control module is also used for determining whether the triaxial magnetic sensor chip rotates to at least one preset position or not through the motion information module;
the control module is further used for acquiring current magnetic field information around the triaxial magnetic sensor chip when the triaxial magnetic sensor chip is determined to rotate to the at least one preset position.
Optionally, the rotation circumference comprises m preset positions, wherein m >1, so that magnetic field information of a plurality of preset positions is obtained;
the current value is related to the magnetic field information corresponding to the placement position of the wire to be tested and the m preset positions.
Optionally, the three-axis magnetic sensor chip includes an X-axis magnetic sensing unit, a Y-axis magnetic sensing unit, and a Z-axis magnetic sensing unit, where the X-axis magnetic sensing unit is configured to sense a magnetic field strength around the three-axis magnetic sensor chip along an X-axis direction, and output an X-axis electrical signal; the Y-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Y-axis direction and outputting a Y-axis electric signal; the Z-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Z-axis direction and outputting a Z-axis electric signal; the X-axis direction, the Y-axis direction, and the Z-axis direction are orthogonal to each other;
The magnetic field information corresponding to each preset position comprises the X-axis electric signal, the Y-axis electric signal and the Z-axis electric signal;
the current value I accords with the formula:
Wherein H ix is an X-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iy is a Y-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iz is a Z-axis electric signal of the triaxial magnetic sensor chip at the ith rotation position; k is related to the placement position of the wire to be tested.
Optionally, when the wire to be tested is orthogonal to the first plane in which the rotation circumference is located, k is a preset fixed value;
When the wire to be tested is obliquely intersected with the first plane, k=k 1×k2, wherein k 1 is a constant, and k 2 is related to magnetic field information corresponding to the m preset positions;
Optionally, the Z-axis direction is parallel to the first plane;
When the wire to be tested is obliquely crossed with the first plane towards the X-axis direction,
Wherein max (H 1z,…,Hmz) is the maximum value of each Z-axis electric signal in the magnetic field information corresponding to m preset positions; max (H 1y,…,Hmy) is the maximum value of each Y-axis electric signal in the magnetic field information corresponding to m preset positions.
Optionally, the motion information module includes a grating and a photogate sensor;
the grating is fixedly connected with the triaxial magnetic sensor chip;
the photoelectric door sensor is used for sensing the position of the grating.
In addition, in order to achieve the above object, the present invention also provides a current measurement method, which is applied to the current sensor to detect the current of the wire to be measured, and the method includes:
acquiring current magnetic field information around the triaxial magnetic sensor chip in real time;
driving the triaxial magnetic sensor chip to rotate along a rotating circumference, wherein the wire to be tested is positioned in an area surrounded by the rotating circumference;
When the triaxial magnetic sensor chip is in a rotating state, acquiring current rotating position information of the triaxial magnetic sensor chip, and determining whether the triaxial magnetic sensor chip passes through preset positions of the rotating circumference according to the current rotating position information, wherein the preset positions comprise a plurality of positions;
When the triaxial magnetic sensor chip is determined to pass through the preset position, taking the current magnetic field information around the triaxial magnetic sensor chip as the magnetic field information corresponding to the preset position, and further obtaining the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information;
and determining the current value of the wire to be tested according to the corresponding relation between the rotating position and the magnetic field information.
In addition, to achieve the above object, the present invention also provides a current measurement apparatus including: the system comprises a memory, a processor and a current measurement program stored on the memory and capable of running on the processor, wherein the current measurement program is configured to realize the steps of the current measurement method.
In addition, in order to achieve the above object, the present invention also provides a storage medium having stored thereon a current measurement program which, when executed by a processor, implements the steps of the current measurement method.
The current magnetic field information around the triaxial magnetic sensor chip is obtained in real time; driving the triaxial magnetic sensor chip to rotate along the rotating circumference, wherein the wire to be tested is positioned in an area surrounded by the rotating circumference; when the triaxial magnetic sensor chip is in a rotating state, acquiring current rotating position information of the triaxial magnetic sensor chip, and determining whether the triaxial magnetic sensor chip passes through a preset position of a rotating circumference according to the current rotating position information, wherein the preset position comprises a plurality of positions; when the triaxial magnetic sensor chip is determined to pass through the preset position, taking the current magnetic field information around the triaxial magnetic sensor chip as the magnetic field information corresponding to the preset position, and further obtaining the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information; and determining the current value of the wire to be tested according to the corresponding relation between the rotating position and the magnetic field information. Through the synergism of the magnetic field acquisition module, the driving module, the motion information module and the control module, the accurate measurement of the conductor current is realized in a non-contact mode on the premise that the positions of the conductor and the current sensor are not fixed, and the device has the advantages of being simple in structure and high in measurement accuracy.
Drawings
FIG. 1 is a block diagram of a first embodiment of a current sensor according to the present invention;
FIG. 2 is a schematic illustration of the eccentric condition of the present invention;
FIG. 3 is a flow chart of a first embodiment of the current measurement method of the present invention;
FIG. 4 is a flow chart of a second embodiment of the current measurement method of the present invention;
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a block diagram of a first embodiment of a current sensor according to the present invention.
In this embodiment, the current sensor includes a control module 10, and a magnetic field acquisition module 20, a driving module 30, and a motion information module 40 respectively connected to the control module.
The magnetic field acquisition module 20 comprises a three-axis magnetic sensor chip and is used for acquiring current magnetic field information around the three-axis magnetic sensor chip.
It is understood that a three-axis magnetic sensor chip is an integrated circuit capable of simultaneously measuring magnetic field strengths in three dimensions (X, Y, Z three orthogonal axes). In this embodiment, the triaxial magnetic sensor chip may be a chip designed based on the principles of, but not limited to, hall effect or anisotropic magnetoresistance effect, giant magnetoresistance effect, tunneling magnetoresistance effect, etc., and these chips are widely used in the fields of navigation system, electronic compass, unmanned plane positioning, gesture sensing of mobile phone and tablet computer, industrial automation control, etc., and may be used for accurately sensing magnetic field changes in the environment, and due to high integration level, the omnibearing real-time monitoring of magnetic field can be realized on a single chip. In practical application, the triaxial magnetic sensor chip not only can provide data of a static magnetic field, but also can detect dynamic magnetic field information, and has an important effect on estimating the position, direction and speed of a moving object. By means of the corresponding signal processing algorithm, the data accuracy can be further improved and the influence of external noise interference can be reduced. In this embodiment, the magnetic field collection module 20 installs the triaxial magnetic sensor chip on the rotation and connection mechanism, so that the movement position of the triaxial magnetic sensor chip is on the fixed circumference, the magnetic field distribution of each point on the circumference is detected, the processed three-dimensional magnetic field data can be pushed to the control module in real time, the sensor only uses one chip, the matching of the chip is not required, and the corresponding relation between the position and the magnetic field data is obtained in real time. The whole process is a continuous process, and the sensor can monitor the three-dimensional magnetic field change in the environment in real time.
Fig. 2 is a schematic diagram of the eccentricity, and when the cylindrical conductor is located at the center of the circumference, the magnetic field direction a generated at the triaxial magnetic sensor chip is parallel to the sensitivity direction B of the triaxial magnetic sensor chip, and the sensor works normally. When the conductor deviates from the original position or inclines, the magnetic field direction A 'generated on the triaxial magnetic sensor chip is not parallel to the triaxial magnetic sensor chip sensitivity direction B', and the eccentricity caused by the deviation of the conductor from the original position or the inclination can cause the magnetic field generated on the triaxial magnetic sensor chip to be not parallel to the triaxial magnetic sensor chip sensitivity direction, so that the accuracy of acquiring triaxial magnetic field information is not high, and the measured current value deviation is larger.
The driving module 30 is used for driving the triaxial magnetic sensor chip to rotate along the rotation circumference.
It should be understood that in this embodiment, the driving module is composed of a motor, a transmission mechanism and a rotary platform. The motor provides power, and the transmission mechanism converts linear motion or high-speed rotation of the motor into low-speed stable rotation required by the triaxial magnetic sensor chip. The magnetic field acquisition module is connected with the rotating platform of the driving module through the triaxial magnetic sensor chip, and when the driving module works, the rotating platform is driven by the transmission mechanism so that the triaxial magnetic sensor chip can rotate along a preset circular track. The driving module structure of the present embodiment is not limited to the structure described in the embodiments described in detail herein, and all technical solutions obtained by adopting equivalent substitution or equivalent transformation based on the disclosure of the present invention are considered to be within the scope of the claimed invention as long as they do not exceed the spirit and scope of the disclosure
And the motion information module 40 is used for acquiring the current rotation position information of the triaxial magnetic sensor chip.
It should be understood that in this embodiment, the motion information module 40 includes a grating and a photo gate sensor, the grating is fixedly connected with the tri-axial magnetic sensor chip, the photo gate sensor is used for sensing the position of the grating, the grating is usually a coded disc with holes or reticles, the grating rotates along with the monitored object, the photo gate is fixed at a specific position, when the holes or reticles on the grating pass through the photo gate, periodic shielding and transmission phenomena are formed, and when the grating rotates, the light source inside the photo gate emits light, and irradiates onto the receiver through the holes or reticles of the grating. When the aperture or scribe line of the grating obscures light, the intensity of the light received by the receiver changes, thereby producing a level signal. The photoelectric gate sensor generates a series of pulse signals by converting the light intensity changes into electric signals and performing shaping, amplifying and other processes through a built-in circuit, each pulse signal represents a unit displacement of the grating, and the motion information module 40 can accurately measure the motion information such as the rotation speed, the angle and the rotation direction of the grating by counting the number and the frequency of the pulse signals and send the data to the control module 10 in real time. The motion information module 40 determines the current rotation position of the three-axis magnetic sensor chip by using the grating and the matched photoelectric gate, can provide detailed information about the dynamic behavior of the three-axis magnetic sensor chip, and is beneficial to realizing accurate motion control and state monitoring. The present embodiment does not limit the structure of the motion information module, but is not limited to the structure described in the embodiments described in detail herein, and all technical solutions obtained by adopting equivalent substitution or equivalent transformation form based on the disclosure of the present invention are considered to be within the scope of the claimed invention as long as they do not exceed the spirit and scope of the disclosure of the present invention.
The control module 10 is respectively connected with the magnetic field acquisition module 20, the driving module 30 and the motion information module 40, and is used for acquiring the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information, and determining the current value of the wire to be tested according to the corresponding relation, wherein the wire to be tested is positioned in the area surrounded by the rotation circumference.
It should be understood that the control module 10 is used to issue various instructions inside the sensor to the control portion of the other module, in addition to calculating the current value.
In the embodiment, the current magnetic field information around the triaxial magnetic sensor chip is obtained through a magnetic field acquisition module; the driving module drives the triaxial magnetic sensor chip to rotate along the rotation circumference; the motion information module acquires current rotation position information of the triaxial magnetic sensor chip; the control module acquires the corresponding relation between the rotating position of the triaxial magnetic sensor chip and the magnetic field information, and determines the current value of the wire to be tested according to the corresponding relation. Through the synergism of the magnetic field acquisition module, the driving module, the motion information module and the control module, the accurate measurement of the conductor current is realized in a non-contact mode on the premise that the positions of the conductor and the current sensor are not fixed, and the device has the advantages of being simple in structure and high in measurement accuracy.
Based on the above-described block diagram of the first embodiment, a second embodiment of the current sensor of the present invention is proposed.
In this embodiment, the control module 10 is configured to control the movement of the driving module 30 to rotate the tri-axial magnetic sensor chip along the first direction.
It should be understood that, in the present embodiment, the first direction is preset to rotate clockwise, and the driving module 30 drives the triaxial magnetic sensor chip to rotate along a rotation circumference, and in the present embodiment, the rotation circumference includes m preset positions, where m >1, so as to obtain magnetic field information of a plurality of preset positions; the current value is related to the magnetic field information corresponding to the placement position and m preset positions of the wire to be tested.
The control module 10 is further configured to determine, via the motion information module 40, whether the tri-axial magnetic sensor chip is rotated to at least one preset position.
It should be noted that, in this embodiment, when the tri-axis magnetic sensor chip starts to rotate, the magnetic field acquisition module 20 starts to monitor the surrounding magnetic field intensity in real time on three orthogonal axes X, Y, Z, and when the magnetic field change caused by the rotation of the tri-axis magnetic sensor chip is detected and the counter in the motion information module 40 increases, three-dimensional magnetic field data values at the current moment are synchronously acquired, so as to ensure that each incremental position corresponds to a set of accurate magnetic field readings. This process is continued until the control module 10 detects that the three-axis magnetic sensor chip completes a complete rotation period, that is, makes a rotation, at this time, three-dimensional magnetic field data points uniformly distributed on the whole circumference are collected, and by continuously acquiring three-dimensional magnetic field data measured by the three-axis magnetic sensor chip under different rotation angles, and combining with mathematical models and algorithm processing, the accurate magnetic field distribution condition within the whole circumference range is finally restored.
The control module 10 is further configured to obtain current magnetic field information around the tri-axis magnetic sensor chip when it is determined that the tri-axis magnetic sensor chip rotates to at least one preset position.
It should be understood that when the tri-axial magnetic sensor chip rotates with the measured object, the three orthogonally arranged magnetically sensitive elements therein continuously sense the component changes of the ambient magnetic field in the X, Y, Z three axes. The numerical values in the register output by the triaxial magnetic sensor chip are periodically read through the communication interface control module, and the numerical values correspond to the magnetic field intensities of the X axis, the Y axis and the Z axis, namely the magnetic field measured values of each axis of the triaxial magnetic sensor chip are Hx, hy and Hz. As the tri-axial magnetic sensor chip rotates, the system continuously records corresponding three-dimensional magnetic field measurements at each angular position.
It can be understood that the three-axis magnetic sensor chip comprises an X-axis magnetic sensing unit, a Y-axis magnetic sensing unit and a Z-axis magnetic sensing unit, wherein the X-axis magnetic sensing unit is used for sensing the magnetic field intensity around the three-axis magnetic sensor chip along the X-axis direction and outputting an X-axis electric signal; the Y-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Y-axis direction and outputting a Y-axis electric signal; the Z-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Z-axis direction and outputting a Z-axis electric signal; the X-axis direction, the Y-axis direction and the Z-axis direction are orthogonal to each other; the magnetic field information corresponding to each preset position comprises an X-axis electric signal, a Y-axis electric signal and a Z-axis electric signal.
The current value I corresponds to the formula:
Wherein H ix is an X-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iy is a Y-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iz is a Z-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; k is related to the placement position of the wire to be tested.
In this embodiment, the electric signal refers to a voltage value proportional to the magnetic field strength, and according to ampere loop theorem, in a steady magnetic field, the magnetic induction strength B is integrated along any line of a closed path, equal to the algebraic sum of currents enclosed by the closed path and multiplied by magnetic permeability, and because the magnetic permeability in air is uniform and approximately equal to vacuum magnetic permeability, the relationship between the magnetic field strength and the surrounding current on the loop is obtained after the change as follows:
∮Bdl=u0ΣI;
Assuming that the grating resolution is phi degrees, the positions of the magnetic field sensors are 360/phi, the positions are marked as m, the counter rotates for one circle, the count value is m, the initial count value is 1, when the counter is n (n is more than or equal to 1 and less than or equal to m), the components in the X, Y, Z axial directions of the triaxial magnetic field sensor chip are Hxn, hyn, hzn respectively, and then the magnetic field values Hn acquired by each point and the magnetic field output values of each axis acquired by each point have the following relation:
Through discretization, assuming that the motion circle radius of the triaxial magnetic sensor chip is r, k is a certain proportionality coefficient related to n and r, the approximate relation between the measured current I and the magnetic field value Hn of each acquisition point can be obtained through the principle of integration:
When the wire to be tested is orthogonal to a first plane where the rotating circumference is located, k is a preset fixed value; when the wire to be tested is obliquely crossed on the first plane, k=k 1×k2, wherein k 1 is a constant, and k 2 is related to magnetic field information corresponding to m preset positions.
It will be appreciated that the values of k 2 may be different for the above-described values, depending on the angle of inclination of the wire to be tested, the Z-axis direction being parallel to the first plane, when the wire to be tested is tilted in the X-axis direction to the first plane,
Wherein max (H 1z,…,Hmz) is the maximum value of each Z-axis electric signal in the magnetic field information corresponding to m preset positions; max (H 1y,…,Hmy) is the maximum value of each Y-axis electric signal in the magnetic field information corresponding to m preset positions.
In the embodiment, the control module controls the driving module to move so that the triaxial magnetic sensor chip rotates along the first direction; the control module determines whether the triaxial magnetic sensor chip rotates to at least one preset position through the motion information module; when the control module determines that the triaxial magnetic sensor chip rotates to at least one preset position, current magnetic field information around the triaxial magnetic sensor chip is obtained, multidirectional magnetic field information of the triaxial magnetic sensor chip can be obtained in real time, and the comprehensiveness and accuracy of magnetic field measurement are improved.
Referring to fig. 3, fig. 3 is a flow chart of a first embodiment of the current measurement method according to the present invention.
And step S10, acquiring current magnetic field information around the triaxial magnetic sensor chip in real time.
It is to be understood that the magnetic field acquisition module acquires current magnetic field information around the triaxial magnetic sensor chip, the working environment of the sensor is low-frequency alternating current or low-frequency direct current, the triaxial magnetic sensor chip acquires magnetic field data including internal circuit initialization after power-on, and parameters such as working mode, sampling rate, resolution, measuring range and the like of the sensor are set through the I2C or SPI interface according to application requirements. The sensor comprises three mutually perpendicular magneto-sensitive elements, which correspond to X, Y, Z axes respectively. When an external magnetic field is applied to the sensor, each axial element generates a voltage signal proportional to the magnetic field strength. These weak voltage signals are amplified and conditioned by an internally integrated signal conditioning circuit for further processing. The amplified analog signal is converted to a digital signal by the ADC. The main controller reads X, Y, Z three axial digital magnetic field intensity values from the triaxial magnetic sensor chip through an I2C or SPI interface. After the controller receives the original values, it may need to calibrate the data to improve accuracy, such as offset compensation, temperature compensation, and perform necessary calculations according to the actual application scenario, such as calculating information of geomagnetic inclination angle, magnetic declination angle, heading angle, and the like.
In step S20, the triaxial magnetic sensor chip is driven to rotate along the rotation circumference, wherein the wire to be tested is located in the area surrounded by the rotation circumference.
It should be understood that, the driving module drives the triaxial magnetic sensor chip to rotate along the rotation circumference, and when the driving module is started, the triaxial magnetic sensor chip is driven to do circular motion around a certain fixed axis. In this process, the tri-axial magnetic sensor chip continuously captures and converts magnetic field variation information of the electrical signal.
Step S30, when the triaxial magnetic sensor chip is in a rotating state, current rotating position information of the triaxial magnetic sensor chip is obtained, whether the triaxial magnetic sensor chip passes through preset positions of a rotating circumference or not is determined according to the current rotating position information, and the preset positions comprise a plurality of positions.
It should be noted that, in this embodiment, the motion information module includes a grating and a photoelectric gate sensor, the grating is a coding disc, it is used for accurately measuring rotation angle or position information, the driving module is made up of a motor, a transmission mechanism and a rotating platform, in order to avoid the motor vibration to cause external interference to the acquisition of the tri-axial magnetic sensor chip, fix the tri-axial magnetic sensor chip and the grating on the same rotating platform, drive the rotating platform to rotate through the transmission mechanism, then the tri-axial magnetic sensor chip and the grating synchronously rotate, so that no direct contact exists between the motor and the tri-axial magnetic sensor chip. Because the grating rotates along with the triaxial magnetic sensor chip, and the photoelectric gate is fixed in specific position, when the hole or the reticle on the grating passes through the photoelectric gate sensor, can form periodic shielding and transmission phenomenon, and when the grating rotates, the light source inside the photoelectric gate emits light, shines on the receiver through the hole or the reticle of the grating. When the aperture or scribe line of the grating obscures light, the intensity of the light received by the receiver changes, thereby producing a level signal. And analyzing the level signal to obtain the rotation position information of the triaxial magnetic sensor chip.
Step S40, when the triaxial magnetic sensor chip is determined to pass through the preset position, the current magnetic field information around the triaxial magnetic sensor chip is used as the magnetic field information corresponding to the preset position, and then the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information is obtained.
It can be understood that the system drives the connection structure to rotate by driving the electromagnetic motor, wherein the assembly of the triaxial magnetic sensor chip and the grating is included, and when the electromagnetic motor receives an instruction to start running, the counter is started to count at the same time. Along with the rotation of the triaxial magnetic sensor chip along with motor driving, the magnetic field acquisition module can monitor and record three-dimensional magnetic field data around the triaxial magnetic sensor chip in real time at each increment position, wherein the three-dimensional magnetic field data comprises magnetic field measurement values of an X axis, a Y axis and a Z axis, and each time the counter is increased by one unit, the magnetic field acquisition module can acquire and store the three-dimensional magnetic field data at the current moment again. This process continues until a complete circumferential rotation of the tri-axial magnetic sensor chip is detected.
And S50, determining the current value of the wire to be tested according to the corresponding relation between the rotating position and the magnetic field information.
The control module acquires the corresponding relation between the rotating position of the triaxial magnetic sensor chip and the magnetic field information, and determines the current value of the wire to be tested according to the corresponding relation, wherein the wire to be tested is positioned in the area surrounded by the rotating circumference.
The embodiment obtains the current magnetic field information around the triaxial magnetic sensor chip in real time; driving the triaxial magnetic sensor chip to rotate along the rotating circumference, wherein the wire to be tested is positioned in an area surrounded by the rotating circumference; when the triaxial magnetic sensor chip is in a rotating state, acquiring current rotating position information of the triaxial magnetic sensor chip, and determining whether the triaxial magnetic sensor chip passes through a preset position of a rotating circumference according to the current rotating position information, wherein the preset position comprises a plurality of positions; when the triaxial magnetic sensor chip is determined to pass through the preset position, taking the current magnetic field information around the triaxial magnetic sensor chip as the magnetic field information corresponding to the preset position, and further obtaining the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information; and determining the current value of the wire to be tested according to the corresponding relation between the rotating position and the magnetic field information. Through the synergism of the magnetic field acquisition module, the driving module, the motion information module and the control module, the accurate measurement of the conductor current is realized in a non-contact mode on the premise that the positions of the conductor and the current sensor are not fixed, and the device has the advantages of being simple in structure and high in measurement accuracy.
Referring to fig. 4, fig. 4 is a flow chart of a second embodiment of the current measurement method according to the present invention.
Before step 40 of the second embodiment, the method further includes:
In step S401, the control module controls the driving module to move, so that the tri-axial magnetic sensor chip rotates along the first direction.
It can be understood that when the triaxial magnetic sensor chip rotates along with the measured object, three orthogonally arranged magnetic sensitive elements therein continuously sense the component changes of the surrounding magnetic field in three axial directions X, Y, Z. The numerical values in the register output by the triaxial magnetic sensor chip are read regularly through the communication interface control module, the numerical values correspond to the magnetic field intensities of the X axis, the Y axis and the Z axis, and the system continuously records the corresponding three-dimensional magnetic field measured value at each angle position along with the rotation of the triaxial magnetic sensor chip until a complete circumferential rotation is completed.
In step S402, the control module determines, through the motion information module, whether the tri-axial magnetic sensor chip rotates to at least one preset position.
It should be noted that, the control module and the motion information module cooperate tightly to ensure that the triaxial magnetic sensor chip completes the rotation operation according to the expected mode and reaches the preset detection position. In actual operation, the control module monitors and analyzes data feedback from the motion information module in real time, wherein the data comprises key information about the motion state of the triaxial magnetic sensor chip, such as the current position, the speed, the acceleration, the angular position and the like, and the motion information module can capture and record the angular change of the triaxial magnetic sensor chip in the rotating process with high precision. When the triaxial magnetic sensor chip starts to rotate along the first direction, the motion information module continuously collects dynamic data of the triaxial magnetic sensor chip and transmits the dynamic data to the control module in real time.
In step S403, the control module obtains current magnetic field information around the tri-axis magnetic sensor chip when determining that the tri-axis magnetic sensor chip rotates to at least one preset position.
It should be understood that, in this embodiment, each time the three-axis magnetic sensor chip rotates one turn, the control module receives the information transmitted by the motion information module, and after receiving the information, the control module compares and calculates the current position of the three-axis magnetic sensor chip with the preset position list through the built-in algorithm. Once it is confirmed that the tri-axial magnetic sensor chip has reached any one of the preset location points, it will collect magnetic field data at that moment.
The control module of the embodiment controls the driving module to move so that the triaxial magnetic sensor chip rotates along the first direction; the control module determines whether the triaxial magnetic sensor chip rotates to at least one preset position through the motion information module; when the control module determines that the triaxial magnetic sensor chip rotates at least one preset position, current magnetic field information around the triaxial magnetic sensor chip is obtained, the real distribution situation of the magnetic field in the three-dimensional space can be more completely and accurately described, and the measurement accuracy is improved.
In addition, to achieve the above object, the present invention also proposes a current measurement apparatus including: a memory, a processor and a current measurement program stored on the memory and executable on the processor, the current measurement program being configured to implement the steps of the current measurement method as described above.
Because the current measuring device adopts all the technical schemes of all the embodiments, the current measuring device at least has all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted herein.
In addition, the embodiment of the invention also provides a storage medium, wherein a current measurement program is stored on the storage medium, and the current measurement program realizes the steps of the current measurement method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in this embodiment may refer to the engineering mode control method provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A current sensor, comprising:
The magnetic field acquisition module comprises a triaxial magnetic sensor chip and is used for acquiring current magnetic field information around the triaxial magnetic sensor chip;
The driving module is used for driving the triaxial magnetic sensor chip to rotate along the rotation circumference;
the motion information module is used for acquiring the current rotation position information of the triaxial magnetic sensor chip;
The control module is respectively connected with the magnetic field acquisition module, the driving module and the motion information module and is used for acquiring the corresponding relation between the rotating position of the triaxial magnetic sensor chip and the magnetic field information and determining the current value of the wire to be tested according to the corresponding relation, wherein the wire to be tested is positioned in the area surrounded by the rotating circumference.
2. The current sensor according to claim 1, wherein,
The control module is used for controlling the driving module to move so that the triaxial magnetic sensor chip rotates along a first direction;
The control module is also used for determining whether the triaxial magnetic sensor chip rotates to at least one preset position or not through the motion information module;
the control module is further used for acquiring current magnetic field information around the triaxial magnetic sensor chip when the triaxial magnetic sensor chip is determined to rotate to the at least one preset position.
3. A current sensor according to claim 2, wherein,
The rotation circumference comprises m preset positions, wherein m is greater than 1, so that magnetic field information of a plurality of preset positions is obtained;
the current value is related to the magnetic field information corresponding to the placement position of the wire to be tested and the m preset positions.
4. A current sensor according to claim 3, wherein,
The three-axis magnetic sensor chip comprises an X-axis magnetic sensing unit, a Y-axis magnetic sensing unit and a Z-axis magnetic sensing unit, wherein the X-axis magnetic sensing unit is used for sensing the magnetic field intensity around the three-axis magnetic sensor chip along the X-axis direction and outputting an X-axis electric signal; the Y-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Y-axis direction and outputting a Y-axis electric signal; the Z-axis magnetic sensing unit is used for sensing the magnetic field intensity around the triaxial magnetic sensor chip along the Z-axis direction and outputting a Z-axis electric signal; the X-axis direction, the Y-axis direction, and the Z-axis direction are orthogonal to each other;
The magnetic field information corresponding to each preset position comprises the X-axis electric signal, the Y-axis electric signal and the Z-axis electric signal;
the current value I accords with the formula:
Wherein H ix is an X-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iy is a Y-axis electric signal of the three-axis magnetic sensor chip at the ith rotation position; h iz is a Z-axis electric signal of the triaxial magnetic sensor chip at the ith rotation position; k is related to the placement position of the wire to be tested.
5. The current sensor according to claim 4, wherein,
When the wire to be tested is orthogonal to the first plane of the rotating circumference, k is a preset fixed value;
When the wire to be tested is oblique to the first plane, k=k 1×k2, where k 1 is a constant, and k 2 is related to magnetic field information corresponding to the m preset positions.
6. The current sensor according to claim 5, wherein,
The Z-axis direction is parallel to the first plane;
When the wire to be tested is obliquely crossed with the first plane towards the X-axis direction,
Wherein max (H 1z,…,Hmz) is the maximum value of each Z-axis electric signal in the magnetic field information corresponding to m preset positions; max (H 1y,…,Hmy) is the maximum value of each Y-axis electric signal in the magnetic field information corresponding to m preset positions.
7. The current sensor of any one of claims 1-6, wherein the motion information module comprises a grating and a photogate sensor;
the grating is fixedly connected with the triaxial magnetic sensor chip;
the photoelectric door sensor is used for sensing the position of the grating.
8. A current measurement method, characterized in that a current sensor according to any one of claims 1-7 is applied to detect a current of a wire to be measured, the method comprising:
acquiring current magnetic field information around the triaxial magnetic sensor chip in real time;
driving the triaxial magnetic sensor chip to rotate along a rotating circumference, wherein the wire to be tested is positioned in an area surrounded by the rotating circumference;
When the triaxial magnetic sensor chip is in a rotating state, acquiring current rotating position information of the triaxial magnetic sensor chip, and determining whether the triaxial magnetic sensor chip passes through preset positions of the rotating circumference according to the current rotating position information, wherein the preset positions comprise a plurality of positions;
When the triaxial magnetic sensor chip is determined to pass through the preset position, taking the current magnetic field information around the triaxial magnetic sensor chip as the magnetic field information corresponding to the preset position, and further obtaining the corresponding relation between the rotation position of the triaxial magnetic sensor chip and the magnetic field information;
and determining the current value of the wire to be tested according to the corresponding relation between the rotating position and the magnetic field information.
9. A current measurement device, the device comprising: a memory, a processor and a current measurement program stored on the memory and running on the processor, the current measurement program being configured to implement the steps of the current measurement method of claim 8.
10. A storage medium having stored thereon a current measurement program which when executed by a processor performs the steps of the current measurement method of claim 8.
CN202410243975.0A 2024-03-04 2024-03-04 Current sensor, current measurement method, apparatus, and storage medium Pending CN118091223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410243975.0A CN118091223A (en) 2024-03-04 2024-03-04 Current sensor, current measurement method, apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410243975.0A CN118091223A (en) 2024-03-04 2024-03-04 Current sensor, current measurement method, apparatus, and storage medium

Publications (1)

Publication Number Publication Date
CN118091223A true CN118091223A (en) 2024-05-28

Family

ID=91161430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410243975.0A Pending CN118091223A (en) 2024-03-04 2024-03-04 Current sensor, current measurement method, apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN118091223A (en)

Similar Documents

Publication Publication Date Title
AU2020205220B2 (en) IMU calibration
US7957931B2 (en) Positioning pattern
KR100939158B1 (en) Azimuth measuring device and azimuth measuring method
US20030043362A1 (en) Six dimensional laser tracking system and method
CN105164494B (en) Equipment and system and method for 3-D scanning
JP5386698B2 (en) Indoor position detector
EP2920547B1 (en) System and method for measuring the relative positions of rotary components
CN104380038A (en) Improved method and apparatus for performing rolling runout compensation for vehicle wheel alignment
Yang et al. Binocular vision-based method used for determining the static and dynamic parameters of the long-stroke shakers in low-frequency vibration calibration
Yan et al. A three degree-of-freedom optical orientation measurement method for spherical actuator applications
JP2011033609A (en) Indoor position detector
KR101503046B1 (en) inertial measurement unit and method for calibrating the same
US20240168109A1 (en) Device and method for determining an orientation of a magnet, and a joystick
CN107390155A (en) A kind of Magnetic Sensor calibrating installation and method
Alves et al. Camera-inertial sensor modelling and alignment for visual navigation
EP3971532A1 (en) Three-dimensional position sensor systems and methods
JP2013150426A (en) Spherical motor
CN116211278A (en) Magnetic positioning method and magnetic positioning device
CN118091223A (en) Current sensor, current measurement method, apparatus, and storage medium
JP5475873B2 (en) Geomagnetic detector
JP2011185868A (en) Azimuth detector
JP5498209B2 (en) Magnetic field detector
CN114487968A (en) Magnetic ball calibration method and magnetic ball calibration device
JPH0875442A (en) Simplified length measuring machine
CN109120833A (en) A kind of monitor camera determining function with direction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination