Device and method for measuring horizontal component of geomagnetic field using smart phone
A device that assists in measuring the horizontal component of the geomagnetic field through a smartphone, using current-carrying coils and phyphox software, solves the problems of complexity and large errors in the existing technology, and achieves simple and accurate measurement of the geomagnetic field, which is suitable for teaching experiments.
Patent Information
- Application Number
- CN202110252239.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-03-08
AI Technical Summary
The existing geomagnetic field measurement methods are complex, costly and susceptible to the influence of environmental magnetic fields, making them difficult to promote in general teaching experiments.
A device that uses a smartphone to assist in measuring the horizontal component of the geomagnetic field is designed, including a bar magnet suspended under a bracket, a current-carrying coil, and the magnetic induction intensity measured through phyphox software. The magnetic moment and the horizontal component of the geomagnetic field are calculated based on data fitting.
It achieves a simple, easy and operable geomagnetic field measurement with an error within 2%, which is suitable for ordinary physics experiments and improves the experimental accuracy and students' hands-on ability.
Smart Images

Figure CN114371515B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of horizontal components of geomagnetic fields, and in particular to a device and method for measuring horizontal components of geomagnetic fields using a smart phone as an aid. Background Art
[0002] The geomagnetic field is closely related to human life and has important uses in the fields of military, aviation, navigation, industry, medicine, prospecting, etc. Therefore, the measurement of the geomagnetic field is of great significance. The commonly used geomagnetic field measurement methods so far mainly include the Hall effect method, magnetic focusing method, magnetoresistance effect method and magnetic resonance method. These geomagnetic field measurement methods are all complex, or have high requirements for related measurement devices, high measurement costs, and the measurement process is easily affected by other magnetic fields or ferromagnetic materials in the nearby environment. The measurement error is large, so it is difficult to promote them in ordinary teaching experiments. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a device and method for measuring the horizontal component of the geomagnetic field using a smart phone with simple measurement and strong operability.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0005] A device for using a smart phone to assist in measuring the horizontal component of the geomagnetic field, comprising a base, a column fixed on the base, a bracket fixed on the top of the column, and a bar magnet suspended at point P below the bracket by a wire; the front side of the base is also provided with an arc-shaped guide rail, a slider is slidably provided on the guide rail, a coil support rod is vertically fixed on the top of the slider, a claw is provided on the top of the coil support rod, and a square current-carrying coil is provided in the claw; the cross-section of the bar magnet is rectangular; the base, column, bracket, guide rail, slider, coil support rod and claw are all made of plastic or wood.
[0006] Furthermore, both ends of the guide rail are fixedly connected to the base via connecting rods; the bottom of the guide rail and the bottom of the base are located on the same plane, and the guide rail is located on a circle centered on the silk thread.
[0007] Furthermore, the coil support rod is a telescopic rod with adjustable length.
[0008] Furthermore, the claw is rotatably arranged on the top of the coil support rod.
[0009] Furthermore, the column is cylindrical, and a rotating ring is rotatably provided on the column and at a position flush with point P. A mobile phone support rod is fixedly provided on the outer wall of the rotating ring, and a mobile phone suction cup is fixedly provided on the outer end of the mobile phone support rod; the rotating ring and the mobile phone support rod are both made of plastic or wood.
[0010] Furthermore, the mobile phone support rod is a telescopic rod with adjustable length.
[0011] A measurement method based on the above device comprises the following steps:
[0012] S1. Hang a bar magnet with a rectangular cross section at point P below the wooden support, and place a square current-carrying coil at a horizontal distance x from point P; then adjust the direction of the current-carrying coil so that the direction of the magnetic field generated by the current-carrying coil is the same as the direction of the horizontal component of the earth's magnetic field, and point P is on the central axis of the current-carrying coil;
[0013] S2. Take another magnet and bring it close to the smartphone with phyphox software installed, and change the relative position of the magnet and the smartphone to find the place where the deflection angle of the phyphox magnetometer is the largest, which is the approximate position of the magnetometer in the smartphone;
[0014] S3. Use the phyphox software in the smart phone to measure the magnetic induction intensity curve at point P when the current in the current-carrying coil is i, and make the magnetometer located on the central axis of the current-carrying coil during measurement, and then obtain the swing period T of the magnet from the measured magnetic induction intensity curve; change the current i to obtain multiple swing periods T;
[0015] S4. The horizontal axis is i and the vertical axis is i. The Origin software is used to fit the data. The slope and intercept of the fitted curve can be used to obtain the magnetic moment μ of the magnet and the horizontal component B of the geomagnetic field. ∥ .
[0016] Furthermore, in step S3, the relationship between the swing period T of the magnet and the magnetic induction intensity B at point P is:
[0017]
[0018] Where l and w are the length and width of the magnet, m is the mass of the magnet, and μ is the magnetic moment of the magnet.
[0019] Furthermore, in step S3, the current i varies in the range of 0.1 to 0.5 A, and the magnetic induction intensity curve at point P is measured when the current i varies by 0.05 A.
[0020] Furthermore, in step S4, the relationship between the current i and the magnet swing period T is:
[0021]
[0022] Where K is the current-carrying coil coefficient, I is the moment of inertia of the bar magnet, μ is the magnetic moment of the magnet, and B ∥is the horizontal component of the Earth's magnetic field.
[0023] The beneficial effects of adopting the above technical solution are:
[0024] The measuring device of the present invention is simple and easy to operate, has strong operability, and is very suitable for general physics experiments or designed physics experiments. It helps to deepen students' understanding of the geomagnetic field and simple harmonic oscillation, stimulate students' experimental interest and experimental enthusiasm, and improve students' hands-on ability and innovative thinking. In addition, using the magnetic sensor function in the smart phone to complete the measurement of the simple harmonic oscillation period not only improves the experimental accuracy, but also fully mobilizes students' experimental enthusiasm and promotes the diversified application of smart phones in experimental course teaching; using the drawing method to process data can also help students visualize the problem and improve the ability of software to process data.
[0025] The present invention firstly measures the period of simple harmonic oscillation of magnets in the combined magnetic field of the geomagnetic field and the current-carrying coil by means of a smartphone with a built-in magnetic sensor, and then uses curve fitting to complete the measurement and calculation of the horizontal component of the geomagnetic field. The measurement method is highly operable and accurate, and the measurement results are compared with the real-time observation data on the website of the Institute of Geology and Geophysics, Chinese Academy of Sciences, with an error within 2%. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a schematic diagram of the structure of the measuring device of the present invention;
[0027] Figure 2 is a side view of the measuring device of the present invention;
[0028] Figure 3 It is a schematic diagram of the measuring method of the present invention;
[0029] Figure 4 This is the measurement result of magnetic field change in x direction by phyphox software under different currents;
[0030] Figure 5 is the data fitting result graph;
[0031] Figure 6 This is a real-time observation data chart of the Institute of Geology and Geophysics, Chinese Academy of Sciences. DETAILED DESCRIPTION
[0032] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0033] like Figure 1 , 2As shown, the present invention provides a device for measuring the horizontal component of the geomagnetic field with the assistance of a smart phone, comprising a base 1, a column 2 fixed on the base 1, a bracket 3 fixed on the top of the column 2, and a bar magnet 5 suspended at point P below the bracket 3 by a wire 4; an arc-shaped guide rail 6 is also provided on the front side of the base 1, a slider 7 is slidably provided on the guide rail 6, a coil support rod 8 is vertically fixed on the top of the slider 7, and the coil support rod 8 is a telescopic rod with adjustable length. A claw 9 is provided on the top of the coil support rod 8, the claw 9 is rotatably provided on the top of the coil support rod 8, and a square current-carrying coil 10 is provided in the claw 9; the cross section of the bar magnet 5 is rectangular; the base 1, the column 2, the bracket 3, the guide rail 6, the slider 7, the coil support rod 8 and the claw 9 are all made of plastic or wood.
[0034] The two ends of the guide rail 6 are fixedly connected to the base 1 through connecting rods 11 respectively; the bottom of the guide rail 6 and the bottom of the base 1 are located on the same plane, and the guide rail 6 is located on a circle centered on the wire 4, and the radius of the circle is x. The direction of the current-carrying coil 10 can be adjusted along the guide rail 6 so that the direction of the magnetic field generated by the current-carrying coil is the same as the direction of the horizontal component of the earth's magnetic field. At the same time, the length of the coil support rod 8 can be adjusted so that the central axis of the current-carrying coil 10 passes through point P.
[0035] The column 2 is cylindrical, and a rotating ring 12 is rotatably provided on the column 2 and in a position flush with point P. A mobile phone support rod 13 is fixedly provided on the outer wall of the rotating ring 12, and the mobile phone support rod 13 is a telescopic rod with adjustable length. A mobile phone suction cup 14 is fixedly provided on the outer end of the mobile phone support rod 13; the rotating ring 12 and the mobile phone support rod 13 are both made of plastic or wood. A smart phone installed with phyphox software is adsorbed on the mobile phone suction cup 14, and the rotating ring 12 is adjusted to rotate the mobile phone support rod 13 to a suitable position, so as to measure the magnetic induction intensity curve of point P when the current in the current-carrying coil is i.
[0036] The present invention also provides a method for measuring the horizontal component of the geomagnetic field using a smart phone based on the above device, and the method comprises the following steps:
[0037] S1. Hang a rectangular NdFeB permanent magnet at point P below the wooden support, and place a square current-carrying coil at a horizontal distance x from point P. Then adjust the direction of the current-carrying coil so that the direction of the magnetic field generated by the current-carrying coil is the same as the direction of the horizontal component of the earth's magnetic field, and point P is located on the central axis of the current-carrying coil.
[0038] S2. Take another magnet and bring it close to the smartphone with phyphox software installed, and change the relative position of the magnet and the smartphone to find the place where the deflection angle of the phyphox magnetometer is the largest, which is the approximate position of the magnetometer in the smartphone.
[0039] S3. Use the phyphox software in the smartphone to measure the magnetic induction intensity curve at point P when the current in the current-carrying coil is i, and make the magnetometer located on the central axis of the current-carrying coil during measurement. Then, the swing period T of the magnet is obtained from the measured magnetic induction intensity curve. By changing the current i, multiple swing periods T are obtained.
[0040] S4. The horizontal axis is i and the vertical axis is i. The Origin software is used to fit the data. The slope and intercept of the fitted curve can be used to obtain the magnetic moment μ of the magnet and the horizontal component B of the geomagnetic field. ∥ .
[0041] The working principle of the present invention is:
[0042] like Figure 3 As shown in the figure, when there is no current in the coil, if the magnet remains stationary, the magnetization direction of the magnet is consistent with the orientation of the geomagnetic meridian plane. If the magnet is rotated at a small angle, the magnet will swing at a small angle due to the restoring torque generated by the geomagnetic field.
[0043] The restoring torque generated by the magnetic field is: J = -μBsinθ.
[0044] Among them, μ is the magnetic moment of the magnet, and B is the magnetic induction intensity at point P. Because the swing angle θ of the magnet is small, sinθ≈θ, so J=-μBθ.
[0045] From the law of rotation, we know that
[0046] Where I is the moment of inertia of the magnet and β is the angular acceleration.
[0047] therefore,
[0048] The swing angle θ of the magnet conforms to the law of simple harmonic vibration, and the angular frequency of the vibration is
[0049] Since the magnet is a regular bar, when it rotates horizontally, its moment of inertia is:
[0050]
[0051] Where l and w are the length and width of the magnet, and m is the mass of the magnet. The relationship between the swing period T of the magnet and the magnetic induction intensity B at point P is:
[0052]
[0053] Where l and w are the length and width of the magnet, m is the mass of the magnet, and μ is the magnetic moment of the magnet.
[0054] If the coil is not energized, the magnetic induction intensity B at point P is the horizontal component of the Earth's magnetic field, expressed as B ∥ If the coil is powered, then B is the horizontal component of the Earth's magnetic field. ∥ The magnetic induction intensity B generated by the coil at point P c sum.
[0055] By measuring the swing period T of the magnet under different external magnetic fields (i.e., different currents i are passed through the coil), the magnetic moment of the magnet and the value of the horizontal component of the earth's magnetic field can be determined by the plotting method. The principle is as follows: when the current passing through the coil is i, the magnetic induction intensity at point P at a distance x from the center axis of the square coil is:
[0056]
[0057] Substituting it into equation (1), we can get the swing period of the magnet as:
[0058]
[0059] By transforming this formula, we can get the relationship between the current i and the magnet swing period T as follows:
[0060]
[0061] Among them, the coefficient K and the moment of inertia I can be obtained by measuring the relevant parameters of the current-carrying coil and the bar magnet. With i as the horizontal axis and i as the vertical axis, the slope of the curve is The intercept is Therefore, the magnetic moment μ of the magnet and the horizontal component B of the geomagnetic field can be obtained from the slope and intercept of the curve. ∥ .
[0062] The smart phone in the present invention is installed with phyphox software, and the built-in Magnetometer function of the phyphox software is used to measure the change of the magnetic induction intensity of the surrounding magnetic field when the magnet swings, so as to obtain the swing period T when the magnet oscillates in the magnetic field.
[0063] First, test the position of the magnetic sensor (magnetometer) in the smartphone: turn on the "compass" function of the phone, take another magnet and slowly move it close to the phone. The "compass" will be affected and deflected. Change the relative position of the magnet and the phone, observe and find the place with the largest deflection angle, which is the approximate position of the magnetic field sensor in the smartphone, and mark this position.
[0064] Then place the smartphone appropriately so that the magnetic sensor passes through the central axis of the energized coil. The phyphox software can obtain the changes in the magnetic induction intensity in the three directions of XYZ; point P is the coordinate origin O, the central axis of the current-carrying coil is the X axis, the wire hanging the magnet is the Y axis, and the Z axis satisfies the right-hand rule. Since the magnet swings more in the XOY plane and less in the Z direction, the change curve of the magnetic induction intensity in any direction of X and Y can be used to obtain the swing period of the magnet.
[0065] The basic parameters of bar magnets measured by vernier calipers and electronic balances are:
[0066] l=30.04mm, w=10.01mm, m=8.800g
[0067] The moment of inertia of the magnet is calculated as follows:
[0068]
[0069] From other parameters in the experiment, x = 12cm, a = 15cm, N = 50, we can calculate:
[0070]
[0071] Phyphox software on a smartphone was used to measure the change in magnetic induction intensity around the magnet when the current i varied by 0.05A in the range of 0.1 to 0.5A. In order to ensure the accuracy of the measurement results, more than 20 cycles were measured each time. The measurement results are shown in the figure below. Figure 4 As shown. Figure 4 It can be clearly seen from the figure that the magnetic field around the magnet shows a stable periodic change pattern due to the swing of the magnet.
[0072] Depend on Figure 4 The magnet swing period T corresponding to the current i obtained and the further calculated See Table 1.
[0073] Table 1 Calculation results of magnetic field swing period and related parameters
[0074]
[0075]
[0076] by The data in Table 1 are plotted with the horizontal axis and the current i is plotted with the vertical axis, and the Origin software is used for data fitting. Figure 5 As shown, the slope and intercept of the curve are:
[0077] (1)
[0078] Substituting the values of I and K, the magnetic moment of the bar magnet can be calculated as:
[0079] μ=1.0399A·m 2
[0080] (2)
[0081] Substituting the K value, the horizontal component B of the geomagnetic field can be calculated ∥ for:
[0082] B ∥ =2.8718×10 -5 T
[0083] like Figure 6 The figure shows the real-time observation data of the experiment on the website of the Institute of Geology and Geophysics, Chinese Academy of Sciences. The horizontal component of the geomagnetic field in Beijing, which is at a similar latitude to the experimental site Tianjin, ranges from 2.8161 to 2.8201×10 -5 T. The test results of the present invention are in the same order of magnitude as the data. After calculation, the relative error is only 1.83-1.98%. In addition, compared with the results of optical pump magnetic resonance geomagnetic field horizontal component measurement, which is widely used in laboratories, the horizontal component of the earth's magnetic field in Beijing measured by Hou Qingrun et al. is 2.3×10 -5 T, Wu Yichu et al. measured the value of Wuhan area to be 2.8×10 -5 T, Zhang Yuxia et al. measured the value in Guangzhou as 3.39×10 -5 T, indicating that the value of the horizontal component of the geomagnetic field measured by the method of the present invention has high accuracy and repeatability.
Claims
1. A device for measuring the horizontal component of the geomagnetic field using a smart phone, characterized in that: It includes a base, a column fixed on the base, a bracket fixed on the top of the column, and a bar magnet suspended at point P below the bracket by a wire; the front side of the base is also provided with an arc-shaped guide rail, a slider is slidably provided on the guide rail, a coil support rod is vertically fixed on the top of the slider, a claw is provided on the top of the coil support rod, and a square current-carrying coil is provided in the claw; the cross section of the bar magnet is rectangular; the base, column, bracket, guide rail, slider, coil support rod and claw are all made of plastic or wood; The two ends of the guide rail are fixedly connected to the base through connecting rods respectively; the bottom of the guide rail and the bottom of the base are located on the same plane, and the guide rail is located on a circle centered on the silk thread; The coil support rod is a telescopic rod with adjustable length; The claw is rotatably arranged on the top of the coil support rod; The column is cylindrical, and a rotating ring is rotatably arranged on the column and in a position flush with point P. A mobile phone support rod is fixedly arranged on the outer wall of the rotating ring, and a mobile phone suction cup is fixedly arranged on the outer end of the mobile phone support rod; the rotating ring and the mobile phone support rod are both made of plastic or wood; The mobile phone support rod is a telescopic rod with adjustable length.
2. The measuring method according to claim 1, characterized in that: The method comprises the following steps: S1. Hang a bar magnet with a rectangular cross section at point P below the wooden support and at a horizontal distance from point P. x Place a square current-carrying coil at the position; then adjust the direction of the current-carrying coil so that the direction of the magnetic field generated by the current-carrying coil is the same as the direction of the horizontal component of the earth's magnetic field, and at the same time make point P on the central axis of the current-carrying coil; S2. Take another magnet and bring it close to the smartphone with phyphox software installed. Change the relative position of the magnet and the smartphone to find the place where the deflection angle of the phyphox magnetometer is the largest. This is the approximate position of the magnetometer in the smartphone. S3. Using the phyphox software in the smartphone, we can measure the current in the current-carrying coil. i The magnetic induction intensity curve at point P is taken at 1000 Hz, and the magnetometer is placed on the central axis of the current-carrying coil during measurement. The swing period of the magnet is then obtained from the measured magnetic induction intensity curve. T ; Change of current i , get multiple swing cycles T ; S4. is the horizontal axis, i The vertical axis is used to draw a graph, and the Origin software is used to fit the data. The magnetic moment of the magnet can be obtained from the slope and intercept of the fitted curve. μ and the horizontal component of the geomagnetic field B ∥ .
3. The measuring method according to claim 2, characterized in that: In step S3, the swing period of the magnet T The magnetic induction intensity at point P B The relationship is: in, l and w are the length and width of the magnet, m is the mass of the magnet, and μ is the magnetic moment of the magnet.
4. The measuring method according to claim 2, characterized in that: In step S3, the current i The range of change is 0.1~0.5A, measuring the current i The magnetic induction intensity curve at point P when the A changes by 0.05A.
