This application claims priority under 35 USC § 119 to Korean Patent Application No. 10-2021-0155788 filed on Nov. 12, 2021 and to Korean Patent Application No. 10-2022-0018711 filed on Feb. 14, 2022, the collective subject matter of which is hereby incorporated by reference in its entirety.
Embodiments of the inventive concept relate generally to devices including a magnetometer, and more particularly to devices capable of performing magnetometer calibration. Embodiments of the inventive concept also relate to methods of calibrating a magnetometer.
Many hand-held portable electronic devices that provide navigational and/or device orientation functionality as an aid to users. In one example, smart phones may provide a navigational display that maps a region identified by a user. Such navigational displays may be used to plot the position of the user within the region and/or plot a path directing the user through the region. In another example, hand-held gaming controllers or remote controllers may use orientation functionality to provide control of a video game, computing system, and/or remote apparatus. In this regard, various portable electronic devices may include an on-board magnetometer (e.g., a magnetic field sensor) integral to the provision of navigational and/or orientation functionality.
A magnetometer may be used to provide positioning information for a device in relation to the vector of an external magnetic field (hereafter “magnetic vector”). However, the magnetic vector, or perceptions of the magnetic vector may be variously affected by a number of factors. For example, measurements made using a device including a magnetometer may errantly detect (or interrupt) the position of a magnetic vector due to one or more interfering magnetic fields related to proximate electrical circuitry, ferromagnetic components, etc. Such potentially interfering magnetic fields may be referred to as internal magnetic fields associated with the device.
Embodiments of the inventive concept provide devices including a magnetometer that are capable of more efficiently calibrating the magnetometer by estimating and compensating for various internal magnetic fields associated with the device.
Embodiments of the inventive concept also provide a magnetometer calibration device capable of efficiently calibrating a magnetometer within an electronic device.
Embodiments of the inventive concept also provide methods of efficiently calibrating a magnetometer within an electronic device.
In one aspect of the inventive concept, a method of calibrating a magnetometer may include; obtaining at least four measurement values using the magnetometer, calculating a center and a radius of a sphere in accordance with the measurement values, wherein the center and the radius of the sphere correspond to an internal magnetic field associated with an electronic device including the magnetometer, and calibrating an output of the magnetometer in accordance with the center of the sphere.
In another aspect of the inventive concept, a magnetometer calibration device may include; a measurement value obtaining module connected to a magnetometer and configured to obtain at least four measurement values, a calculating module configured to calculate a center and a radius of a sphere in accordance with the at least four measurement values, wherein the center and the radius of the sphere correspond to an internal magnetic field associated with an electronic device including the magnetometer, and a calibrating module configured to calibrate an output of the magnetometer in accordance with the center of the sphere.
In still another aspect of the inventive concept, a method of calibrating a magnetometer may include; periodically obtaining at least four measurement values using the magnetometer, periodically calculating a center and a radius of a sphere in accordance with the at least four measurement values, and continuously calibrating an output of the magnetometer in accordance with the center of the sphere, wherein the periodically obtaining of the at least four measurement values includes sequentially obtaining a first measurement value, a second measurement value, a third measurement value and a fourth measurement value, the periodically calculating of the center and the radius of the sphere includes; performing a sphere singularity check including at least one of a proximity check and a coplanarity check on the first measurement value, the second measurement value, the third measurement value and the fourth measurement value, calculating a first center value corresponding to the center of the sphere and a first radius value corresponding to the radius of the sphere in accordance with the first measurement value, the second measurement value, the third measurement value and the fourth measurement value, performing a radius adequacy check including at least one of an operation of checking whether the first radius value falls within a first reference range and an operation of checking whether an amplitude associated with the first center value falls within a second reference range, and performing a filtering operation on the first center value, and the continuously calibrating of the output of the magnetometer includes subtracting the first center value from the fourth measurement value.
Advantages, benefits and features, as well as the making and use of the inventive concept, may be better understood upon consideration of the following detailed description together with the accompanying drawings, in which:
Throughout the written description and drawings, like reference numbers and labels are used to denote like or similar elements, components, features and/or method steps.
Figure (FIG.) 1 is a flowchart illustrating a method of calibrating a magnetometer according embodiments of the inventive concept.
Referring to
The method of calibrating a magnetometer may begin by obtaining (or acquiring) a number of measurement values using the magnetometer (S100). In some embodiments, the number of measurement values may be at least four (4). In this regard, each of the measurement values may be output from the magnetometer, and may be conceptually as a vector (or radius) extending from a center (or origin) to point plotted in a three-dimensional (3D) space corresponding to (or representing) an orientation of a magnetic field, as measured by the magnetometer. Example(s) of this approach will be described hereafter in some additional detail with reference to
Thereafter, a center and a radius of a sphere corresponding to an internal magnetic field associated with the electronic device may be calculated in relation to the measurement values (S200). For example, assuming the acquiring of at least four measurements values, the center and radius of the sphere may be calculated in accordance with four measurement values among the measurement values. That is, the center and radius of the sphere may be calculated using only the four measurement values, without additional information. Example(s) of this approach will be described hereafter in some additional detail with reference to
Then, an output of the magnetometer may be calibrated in accordance with the center of the sphere (S300). For example, one of the a number of measurement values may be calibrated in accordance with a center value corresponding to the center of the sphere.
In some embodiments, the output of the magnetometer may be continuously calibrated in accordance with the center of the sphere, as it is periodically calculated (or updated). Example(s) of this approach will be described hereafter in some additional detail with reference to
Here, the output of the magnetometer may be understood as providing information regarding how a geomagnetic field deviates from a magnetic field generated by device-bias. With respect to the device-bias, ferromagnetic component(s) included within the electronic device including the magnetometer may produce a corresponding, internal magnetic field. Additionally, each conductive element passing a constant electrical current may produce a corresponding internal magnetic field. Hence, error(s) may occur in the output of the magnetometer due to such these internal magnetic fields. It follows that some type of calibration procedure is required to compensate for and/or correct the output of the magnetometer.
According to methods of calibrating a magnetometer according to embodiments of the inventive concept, an internal magnetic field may be estimated using only the output of the magnetometer—without requirement of additional information. As a result, the output of the magnetometer may be rapidly calibrated using the estimated internal magnetic field.
In some embodiments, calibration of the magnetometer may be continuously and/or periodically performed using an iterative calibration approach using only four measurement values. Accordingly, magnetometers associated with embodiments of the inventive concept may be quickly, accurately and efficiently calibrated. Further, overall computational burden and power consumption required for calibrating the magnetometer may be reduced. Accordingly, the performance and efficiency of various operations performed using the magnetometer may be improved.
Referring to
In some embodiments, the electronic device 10 may one of various devices capable of changing orientation in space and including the magnetometer 20. For example, the electronic device 10 may be; a mobile device, a mobile phone, a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital camera, a portable game console, a music player, a camcorder, a video player, a navigation device, a wearable device, an internet of things (IoT) device, an internet of everything (IoE) device, an e-book reader, a virtual reality (VR) device, an augmented reality (AR) device, a robotic device, a drone, etc. One example of the electronic device 10 will be described hereafter in some additional detail with reference to
The magnetometer 20 may generate and provide raw measurement values MV. (Hereafter, the raw measurement values MV may be referred to as basic or original measurement values. Each of the raw measurement values MV may corresponding to a three-dimensional point corresponding to a magnetic field (e.g., a magnetic field vector), as measured by the magnetometer 20. For example, as will be described in some additional detail with reference to
The magnetometer calibration device 100 may estimate an internal magnetic field for the electronic device 10 (e.g., generate an estimated internal magnetic field) in response to raw measurement values MV provided by the magnetometer 20. The magnetometer calibration device 100 may then calibrate an output of the magnetometer 20 in accordance with the estimated internal magnetic field.
In some embodiments of the inventive concept, like the embodiment illustrated in
Herein, the term “module” may be understood as denoting, for example, a component implemented using software and/or hardware, such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). In this regard, a module may be configured to reside, wholly or in part, within tangible, addressable storage medium and may executable by one or more processors. Illustrative examples of a module various include; various components (e.g., software components, object-oriented software components, class components and task components), processes, functions, routines, code segments, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. Those skilled in the art will appreciate that a module may be arbitrarily divided into multiple modules, or multiple modules may be arbitrarily combined into a single module—depending on functionality and design architecture.
The measurement value obtaining module 200 may be used to obtain (or generate) measurement values OMV corresponding to the raw measurement values MV provided by the magnetometer 20, wherein a number of the of measurement values OMV is at least four. In this regard, the measurement values OMV may be included, wholly or in part, within the raw measurement values MV. As with each of the raw measurement values MV, each of the measurement values OMV may be expressed in terms of an ‘x’ value, a ‘y’ value and a ‘z’ value. In some embodiments, the measurement value obtaining module 200 may obtain the measurement values OMV at a relatively low frequency or rate (e.g., at about 0.5 to 2 Hz). One example of the measurement value obtaining module 200 will be described hereafter in some additional detail with reference to
The calculating module 300 may be used to calculate a center and a radius of a sphere in accordance with the measurement values OMV, and may accordingly generate a center value CV and a radius value RV. Here, the center and the radius of the sphere correspond to an internal magnetic field associated with the electronic device 10. The center value CV may represent the center of the sphere, and the radius value RV may represent the radius of the sphere. In some embodiments, the center and radius of the sphere may be calculated using four or more measurement values among the measurement values OMV.
In some embodiments, the calculating module 300 may perform at least one of a first verification operation determining whether the measurement values OMV are suitable, a second verification operation determining whether the center value CV and/or the radius value RV is (are) suitable, and a filtering operation associated with the center value CV and/or the radius value RV.
One example of the calculating module 300 will be described hereafter in some additional detail with reference to
The calibrating module 400 may be used to calibrate the output of the magnetometer 20 in response to the center value CV corresponding to the center of the sphere, and may generate a calibrated measurement value CMV as a result of the calibration. For example, the measurement values OMV may be calibrated in accordance with the center value CV. Alternately or additionally, the raw measurement values MV may be calibrated in accordance with the center value CV.
In this regard, the measurement value obtaining module 200 may periodically obtain the measurement values OMV, the calculating module 300 may periodically calculate (or update) the center value CV and the radius value RV, and the calibrating module 400 may continuously and periodically generate the calibrated measurement value CMV.
In some embodiments, at least part of the measurement value obtaining module 200, the calculating module 300 and the calibrating module 400 may be implemented as hardware. For example, at least part of the measurement value obtaining module 200, the calculating module 300 and the calibrating module 400 may be included in a computer-based electronic system. In other embodiments, at least part of the measurement value obtaining module 200, the calculating module 300 and the calibrating module 400 may be implemented as instruction code, program routines and/or software. Here, the instruction code, program routines and/or software may be executed by a computer-based electronic system, and may be stored in any storage device within, and/or external to, the computer-based electronic system.
Referring to
When the electronic device 10 including the magnetometer 20 is rotated in space, a tip of the internal magnetic field vector IMFV may be stable in a device coordinate system. At the same time, a tip of the external magnetic field vector EMFV may be moving on a surface of a sphere SPH having a center SPH_O pointed by the internal magnetic field vector IMFV. A radius of the sphere SPH may be defined as a magnitude of the external magnetic field vector EMFV (e.g., a strength of the external magnetic field). The measurement value output provided by the magnetometer 20 may include a sum of the internal magnetic field and the external magnetic field disturbed by noise. In other words, the magnetometer vector M_MSM may correspond to a sum of the internal magnetic field vector IMFV, the external magnetic field vector EMFV and the noise vector NV.
During a method of calibrating the magnetometer according to embodiments of the inventive concept, four measurement values M1, M2, M3 and M4 may be generated and obtained when the electronic device 10 changes its orientation in space (e.g., in relation to the magnetic field vector). Thereafter, the sphere SPH may be generated in accordance with the four measurement values M1, M2, M3 and M4. The center SPH_O of the sphere SPH may represent the tip of the internal magnetic field vector IMFV, and thus the internal magnetic field may be estimated and compensated for in relation to the center SPH_O of the sphere SPH.
Referring to
Referring to
In some embodiments, the foregoing method steps of obtaining respective measurement value may be periodically performed at predetermined time intervals (e.g., a first time interval between the first time point and the second time point, a second time interval between the second time point and the third time point, a third time interval between the third time point and the fourth time point, and a fourth time interval between the fourth time point and the fifth time point). Here, the first, second, third and fourth time intervals may have substantially the same duration). And from the foregoing, those skilled in the art will appreciate that additional measurement values (e.g., beyond a fifth measurement value) may be periodically obtained by embodiments of the inventive concept.
Referring to
Here, the delay line 210 may be connected to the output of the magnetometer 20 of
For example, assuming that a measurement value MV(t) is received from the magnetometer 20 at a time ‘t’, the measurement value MV(t) is provided through the fourth output line OL4 without material delay. However, the delay line 210 delays the measurement value MV(t) by a first delay time D, such that a delayed measurement value MV(t+D) is provided through the third output line OL3. The delay line 210 delays the measurement value MV(t) by a second delay time 2D, such that a delayed measurement value MV(t+2D) is provided through the second output line OL2, and the delay line 210 delays the measurement value MV(t) by a third delay time 3D, such that a delayed measurement value MV(t+3D) is provided through the first output line OL1.
Thus, with respect to one specific time (e.g., current time), the measurement value MV(t+3D) provided through the first output line OL1 may be a measurement value received before the third delay time 3D from the current time. With respect to the current time, the measurement value MV(t+2D) provided through the second output line OL2 may be a measurement value received before the second delay time 2D from the current time. With respect to the current time, the measurement value MV(t+D) provided through the third output line OL3 may be a measurement value received before the first delay time D from the current time, and the measurement value MV(t) provided through the fourth output line OL4 may be a measurement value received at the current time. Hence, the measurement values MV(t+3D), MV(t+2D), MV(t+D) and MV(t) may respectively correspond to the measurement values OMV of
In some embodiments, the second delay time 2D may be about twice that of the first delay time D, and the third delay time 3D may be about thrice that of the first delay time D. In some embodiments, the first delay time D may be substantially the same as a time interval or period during which the operation of obtaining each measurement value is performed.
Referring to
As illustrated in
In one example, at the first time point t1, the first measurement value M1 may be provided through the fourth output line OL4. At the second time point t2, the first measurement value M1 may be provided through the third output line OL3, and the second measurement value M2 may be provided through the fourth output line OL4. At the third time point t3, the first measurement value M1 may be provided through the second output line OL2, the second measurement value M2 may be provided through the third output line OL3, and the third measurement value M3 may be provided through the fourth output line OL4.
Thereafter, as illustrated in
Thereafter, as illustrated in
Referring to
Referring to
Thereafter, a second center value corresponding to the center of the sphere may be calculated in accordance with the second measurement value, the third measurement value, the fourth measurement value and the fifth measurement value obtained in method steps S113, S115, S117 and S119 of
Although not shown in
Referring to
Here, the sphere center and radius calculating module 320 may calculate a center value CV(t) corresponding to the center of the sphere and a radius value RV(t) corresponding to the radius of the sphere accordance with the measurement values MV(t+3D), MV(t+2D), MV(t+D) and MV(t) that are provided from the measurement value obtaining module 200a of
As described in relation to
Referring to
When the measurement value obtaining module 200a provides the first measurement value M1, the second measurement value M2, the third measurement value M3 and the fourth measurement value M4 at the fourth time point t4—as described in relation to
For example, the first measurement value M1, the second measurement value M2, the third measurement value M3 and the fourth measurement value M4 may be respectively expressed as coordinates in accordance with Equation 1, Equation 2, Equation 3 and Equation 4 that follow:
M
1(x1, y1, z1) [Equation 1]
M
2(x2, y2, z2) [Equation 2]
M
3(x3, y3, z3) [Equation 3]
M
4(x4, y4, z4) [Equation 4]
Here, a first x value x0, a first y value y0 and a first z value z0 of a coordinate corresponding to the first center value C1 may be calculated in accordance with Equation 5, Equation 6 and Equation 7 that follow:
In Equation 5, Equation 6 and Equation 7, values 15′, ‘V’ and ‘W’ may be obtained in accordance with Equation 8, Equation 9 and Equation 10 that follow:
U=(z1−z2)(x3y4−x4y3)−(z2−z3)(x4y1−x1y4) [Equation 8]
V=(z3−z4)(x1y2−x2y1)−(z4−z1)(x2y3−x3y2) [Equation 9]
W=(z1−z3)(x4y2−x2y4)−(z2−z4)(x1y3−x3y1) [Equation 10]
In Equation 5, values ‘Ax’, ‘Bx’, ‘Cx’ and ‘Dx’ may be obtained in accordance with Equation 11, Equation 12, Equation 13 and Equation 14 that follow; in Equation 6, values ‘Ay’, By', Cy' and ‘Dy’ may be obtained in accordance with Equation 15, Equation 16, Equation 17 and Equation 18 that follow; and in Equation 7, values ‘Az’, ‘Bz’, ‘Cz’ and Dz' may be obtained in accordance with Equation 19, Equation 20, Equation 21 and Equation 22 that follow:
A
x=(x12+y12+z12)(y2)(z3−z4)+y3)(z4−z2)+y4)(z2−z3)) [Equation 11]
B
x=(x22+y22+z22)(y3)(z4−z1)+y4)(z1−z3)+y1)(z3−z4)) [Equation 12]
C
x=(x32+y32+z32)(y4)(z1−z2)+y1)(z2−z4)+y2)(z4−z1)) [Equation 13]
D
x=(x42+y42+z42)(y1)(z2−z3)+y2)(z3−z1)+y3)(z1−z2)) [Equation 14]
A
y=(x12+y12+z12)(x2)(z3−z4)+x3)(z4−z2)+x4)(z2−z3)) [Equation 15]
B
y=(x22+y22+z22)(x3)(z4−z1)+x4)(z1−z3)+x1)(z3−z4)) [Equation 16]
C
y=(x32+y32+z32)(x4)(z1−z2)+x1)(z2−z4)+x2)(z4−z1)) [Equation 17]
D
y=(x42+y42+z42)(x1)(z2−z3)+x2)(z3−z1)+x3)(z1−z2)) [Equation 18]
A
z=(x12+y12+z12)(x2)(y3−y4)+x3)(y4−y2)+x4)(y2−y3)) [Equation 19]
B
z=(x22+y22+z22)(x3)(y4−y1)+x4)(y1−y3)+x1)(y3−y4)) [Equation 20]
C
z=(x32+y32+z32)(x4)(y1−y2)+x1)(y2−y4)+x2)(y4−y1)) [Equation 21]
D
z=(x42+y42+z42)(x1)(y2−y3)+x2)(y3−y1)+x3)(y1−y2)) [Equation 22]
Here, for example, the first radius value R1 may be calculated accordance with the first measurement value M1 and the first center value C1, and may be calculated in accordance with Equation 23 that follows, assuming e.g., that R=R1:
R=√{square root over ((x1−x0)2+(y1−y0)2+(z1−z0)2)} [Equation 23]
Thereafter, when the measurement value obtaining module 200a provides the second measurement value M2, the third measurement value M3, the fourth measurement value M4 and the fifth measurement value M5 at the fifth time point t5 as described with reference to
If there are no strong magnetic fields nearby, the magnitude of Earth's magnetic vector may be approximately 50 uT. Accordingly, if a length of this magnetic vector as measured by the magnetometer is different, some other (potentially interfering) magnetic field source may be nearby. For example, if the measured magnetic vector is about 300 uT or higher, there is probably a strong magnet nearby. Artificial strong magnets may have relatively small size (not exceeding few centimeters), and their magnetic fields may also be small. Accordingly, even moving the device by a few centimeters may change the external magnetic field measured by the magnetometer, and thus the error may be increased. Information regarding the magnitude of the measured magnetic field vector may be used in relation to an algorithm accuracy estimation.
In this regard, the more angular distance between the measured points, the more accuracy of the algorithm. For example, it may be reasonable to use various constellations of points with angular difference exceeding about 15 degrees. Points selection for sphere parameters calculation should be optimized by measurement rates and device states. For example, there may be no reason to select points when device is motionless or when the magnetic field is not changing in the device frame. Time interval between points should be chosen under a condition that time should be sufficient for device orientation change to an acceptable angle. The optimal frequency for selecting points may be different depending on device movement characteristics.
For example, in practice, it may be better to generate calibration movement when the device is continuously turned in a hand fast for few seconds. In this case, about 5 to 10 Hz may be an appropriate data rate.
Although certain embodiments of the inventive concept have been described in relation to calculating the center and the radius of the sphere in accordance with four measurement values, the scope of the inventive concept is not limited thereto. For example, the center and radius of the sphere may be calculated accordance with five or more measurement values.
Referring to
For example, when steps S221, S223, S225 and S227 are performed in step S220 as described in relation to
Although certain embodiments of the inventive concept have been described in relation to method steps S210, S230 and S240, the scope of the inventive concept is not limited thereto. For example, one or more of method steps S210, S230 and S240 may be omitted.
Referring to
Here, for example, when steps S211 and S213 are performed before step S221 in
In some embodiments, when the proximity check is performed in step S211, a first average value Mx, a second average value My and a third average value Mz may be calculated in accordance with Equation 24 that follows; and a first distance Dx, a second distance Dy and a third distance Dz may be calculated in accordance with Equation 25 that follows. Thereafter, the first distance Dx, the second distance Dy and the third distance Dz may be compared with a threshold value Th, and it may be checked whether the first measurement value M1, the second measurement value M2, the third measurement value M3 and the fourth measurement value M4 stay too close, as represented by Equation 26 that follows:
Upon determining (or checking) that the four measurement values stay too close, it may be further determined that noise exists on the estimated center of the sphere (e.g., the estimation of sphere center could be noisy), and accordingly, execution of the algorithm may be terminated.
For example, assuming that the output of the magnetometer contains noise, the best accuracy may be reached when there are four points on the surface of the sphere, where each point may be far from the other points. If device does not move (e.g., does not change orientation in space), four points that are located very closely may be obtained, and an accuracy of the estimation may be reduced due to such noise and magnetic deviation.
In some example embodiments, when the coplanarity check is performed in method step S213, a parameter ‘k_cpl’ may be calculated in accordance with Equation 27, Equation 28 and Equation 29 that follow:
n1=(M(t1)→M(t2))×(M(t2)→M(t3)) [Equation 27]
n2=(M(t1)→M(t2))×(M(t2)→M(t4)) [Equation 28]
K_cpl=norm(|(n1)×(n2)|) [Equation 29]
In Equation 27, Equation 28 and Equation 29, (M(t1)→M(t2)) denotes a vector from a point M(t1) to a point M(t2) , ( . . . )×( . . . ) denotes a cross product of vectors, and norm( ) denotes a function that calculates a size of a vector.
The parameter K_cpl may be defined as a coefficient of coplanarity, and may be a numerical value characterizing how close points to the plane. For example, in practice, if the parameter K_cpl is less than 100, it may represent that it is not reasonable to use data because four points are coplanar.
If it is determined that four points stay in one plane, the center of the sphere may not be found, and thus the execution of the algorithm may be stopped or terminated.
Although certain embodiments of the inventive concept have been described in accordance both of method steps S211 and S213, the inventive concept is not limited thereto. For example, only one of the method steps S211 and S213 may be performed.
Referring to
For example, when method step S231 is performed following method step S223 of
Referring to
For example, when method step S233 is performed following method step S223 in
Although certain embodiments of the inventive concept have been described in accordance with steps S231 and S233, as individually and/or independently performed, the scope of the inventive concept is not limited thereto. For example, both steps S231 and S233 may be performed.
Referring to
The sphere singularity checking module 310 may perform a sphere singularity check on the measurement values MV(t+3D), MV(t+2 D), MV(t+D) and MV(t) that are provided from the measurement value obtaining module 200a of
The sphere center and radius calculating module 320 may be substantially the same as the sphere center and radius calculating module 320 described in relation to
The radius adequacy checking module 330 may perform a radius adequacy check in accordance with the center value CV(t) and the radius value RV(t) that are output from the sphere center and radius calculating module 320. The radius adequacy check may correspond to the second verification operation described in relation to
The center filtering module 340 may perform a filtering operation on the center value CV(t) that is provided by the radius adequacy checking module 330. For example, a low pass filtering may be performed on the center value CV(t). Since the input data contains noise, the output may also contain noise, and thus the center filtering module may be used to smooth out the high frequency deviation. For example, a second-order low pass filter having a cut-off frequency of about 0.25 Hz may be used.
In certain embodiments of the inventive concept, when at least one of the method steps S210, S230 and S240 of
Referring to
Referring to
Thereafter, a second calibrated measurement value may be generated by subtracting the second center value that calculated by method step S225 of
Although shown in
Referring to
When the fourth measurement value M4 is obtained and the first center value C1 is calculated at the fourth time point t4 as described with reference to
Thereafter, when the fifth measurement value M5 is obtained and the second center value C2 is calculated at the fifth time point t5 as described with reference to
However, the scop of the inventive concept is not limited thereto, and the calibrating module 400 may directly calibrate the raw measurement values MV provided from the magnetometer 20. For example, when the first center value C1 is calculated, the raw measurement values MV may be calibrated using the first center value C1 until the second center value C2 is calculated. Similarly, when the second center value C2 is calculated, the raw measurement values MV may be calibrated using the second center value C2 until the third center value subsequent to the second center value C2 is calculated.
As will be appreciated by those skilled in the art, the inventive concept may be embodied as a system, method, computer program product, and/or a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon. The computer readable program code may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, the computer readable medium may be a non-transitory computer readable medium.
Referring to
The processor 1010 includes various processing circuitry and controls general operations of the electronic device 1000. The magnetometer calibration device 1800 may be the magnetometer calibration device according to example embodiments, may perform the method of calibrating the magnetometer according to example embodiments, and thus may calibrate a magnetometer 1410.
The input interface 1700 may receive an input for controlling an operation of a module mounted in the electronic device 1000.
The output interface 1200 may include various circuitry to output an audio signal, a video signal, and/or a vibration signal, and may include a display 1210, a sound output interface (e.g., including sound output circuitry) 1220, and a vibration motor 1230. For example, the output interface 1200 may output a notification message as an audio, a video, and/or vibration.
The processor 1010 may generally control the input interface 1700, the output interface 1200, the sensor 1400, the communication interface 1500, the A/V input interface 1600, or the like, by executing programs stored in the memory 1100. Also, the processor 1010 may perform the functions of the electronic device 1000, by executing the programs stored in the memory 1100.
The sensor 1400 may include various sensors and sensing circuitry to sense a state of the electronic device 1000, a state of a user, or a state around the electronic device 1000, and may transmit sensed information to the processor 1010. The sensor 1400 may include various sensing circuitry, such as, for example, and without limitation, at least one of the magnetometer (or magnetic field sensor) 1410, an acceleration sensor 1420, a temperature/humidity sensor 1430, an infrared sensor 1440, a gyroscope sensor 1450, a position sensor (e.g., global positioning system (GPS)) 1460, an atmospheric sensor 1470, a proximity sensor 1480, and an RGB sensor 1490, but is not limited thereto.
The communication interface 1500 may include various communication circuitry including at least one component configured to enable the electronic device 1000 to communicate with another electronic device (not illustrated) and a server (not illustrated). For example, the communication interface 1500 may include a short-range wireless communication interface 1510, a mobile communication interface 1520, and a broadcasting receiving interface 1530. The short-range wireless communication interface 1510 may include a Bluetooth communication interface, a Bluetooth low energy (BLE) communication interface, a near-field communication and/or radio frequency identification (NFC/RFID) interface, a WLAN (e.g., Wi-fi) communication interface, a Zigbee communication interface, an infrared data association (IrDA) communication interface (not illustrated), a Wi-fi direct (WFD) communication interface, a ultra wideband (UWB) communication interface, an Ant+ communication interface, or the like, but is not limited thereto.
The A/V input interface 1600 may include various A/V interface circuitry and is configured to input an audio signal or a video signal, and may include a camera 1610, a microphone 1620, or the like.
The memory 1100 may store programs for the processing and controlling operations of the processor 1010, and may store data that is input to the electronic device 1000 or output from the electronic device 1000. The programs stored in the memory 1100 may be divided into a plurality of modules in accordance with their functions. For example, the programs may be divided into a user interface (UI) module 1110, a touch screen module 1120, and a notification module 1130.
Referring to
The unmanned aerial vehicle 2000 may include a housing 2100, a plurality of propulsion elements 2200, a magnetometer 2400 and a magnetometer calibration device 2500. The plurality of propulsion elements 2200 may provide a thrust to the unmanned aerial vehicle 2000, and may enable the unmanned aerial vehicle 2000 to fly. For example, each of the plurality of propulsion elements 2200 may include a propeller 2210 and a motor 2220 configured to rotate the propeller 2210. The magnetometer 2400 and the magnetometer calibration device 2500 may be disposed or located inside the housing 2100.
Referring to
The smart phone 3000 may include a camera 3100, a display and touch screen 3200, at least one physical button 3300, a magnetometer 3400 and a magnetometer calibration device 3500.
Referring to
Different embodiments of the inventive concept may be variously applied to electronic devices and systems including one or more magnetometer(s). For example, other embodiments of the inventive concept may be applied to systems such as a personal computer (PC), a server computer, a data center, a workstation, a mobile phone, a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital camera, a portable game console, a music player, a camcorder, a video player, a navigation device, a wearable device, an internet of things (IoT) device, an internet of everything (IoE) device, an e-book reader, a virtual reality (VR) device, an augmented reality (AR) device, a robotic device, a drone, etc.
The foregoing is illustrative of example embodiments and is not to be construed as limiting thereof. Although some example embodiments have been described, those skilled in the art will readily appreciate that many modifications are possible in the example embodiments without materially departing from the novel teachings and advantages of the example embodiments. Accordingly, all such modifications are intended to be included within the scope of the example embodiments as defined in the claims. Therefore, it is to be understood that the foregoing is illustrative of various example embodiments and is not to be construed as limited to the specific example embodiments disclosed, and that modifications to the disclosed example embodiments, as well as other example embodiments, are intended to be included within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2021-0155788 | Nov 2021 | KR | national |
10-2022-0018711 | Feb 2022 | KR | national |