1. Introduction
The atomic magnetometer, as a new generation of high-precision and sensitive magnetometry, is attractive for vast applications, including fundamental physics[1], biological sensing[2,3], materials inspection[4], geophysics[5], and navigation[6]. An increasing number of studies have focused on all kinds of specific and challenging application scenarios[7]. Parameters such as accuracy, sensitivity, bandwidth, dynamical range, size, and power consumption need to be balanced and optimized in a targeted manner. Here, we consider applications such as unknown magnetic detection and large-strength variations where fast magnetic field search and locking scheme is required.
In an optically pumped atomic magnetometer, the magnetic field can be measured by probing the free induction decay (FID) signal of the atomic spin polarization[8]. However, this is determined by the frequency counter’s bandwidth and accuracy or the FID signal fitting, which is not quite suitable for weak fields and high sensitivity requirements. Another widely used method is to apply modulation techniques and balanced polarimetry methods for polarization rotation measurement[9,10]. In order to achieve high sensitivity, the resonance linewidth of the magnetometer should be narrow, which limits the bandwidth and dynamical range[11,12]. Some researchers turn to closed-loop configurations for tracking the resonant Larmor frequency, including self-oscillating techniques[13–15], real-time magnetic compensation[16,17], and active modulation feedback[18,19]. Among these methods, there exist separate pumping and probe laser beams or additional oscillating or compensation coils, which usually increase the sensors’ complexity and lead to systematic error.
Here, we present a feedback method to search and measure the scalar magnetic field using a nonlinear magneto-optical rotation (NMOR) magnetometer[11] with single-beam intensity modulated light[10,20]. Based on the in-phase response of the atomic polarization rotation, we apply the successive approximation algorithm to find an unknown magnetic field within a time duration of 0.8 s and with an accuracy of . The measurement range is 10 to . In contrast, current atomic magnetometer studies mainly deal with either near-zero magnetic fields or strong magnetic fields. After reaching the linear phase response region of the field, the 3-dB locking bandwidth is about 87 Hz, and the sensitivity is about @10 Hz, both of which are comparable with current commercial magnetometers. Our all-optical single-beam configuration also has the advantages of compactness and no influence on the measured magnetic field. The scheme should be valuable in future practical applications that require precise and fast unknown magnetic field measurements that cover both the weak and strong field regimes.
Sign up for Chinese Optics Letters TOC Get the latest issue of Advanced Photonics delivered right to you!Sign up now
2. Experimental Setup
As illustrated in Fig. 1, an all-optical single-beam atomic magnetometer is applied. One 795 nm diode laser (Newport-TLB-6814) is used as the light source. The light is controlled by an acousto-optic modulator (AOM, AA-MT80-B30A1-IR) to generate a square wave with a 50% duty cycle. Its frequency is 80 MHz red detuning to the D1-line transition . The intensity modulation frequency of the pulse shape is controlled by a direct digital synthesizer (DDS). The DDS is generated through a multifunction data acquisition card (NI-6363). The light pulse is then linearly polarized and propagated through a cylindrical paraffin-coated vapor cell. The averaged light power is 40 µW, and the collimated beam diameter is 3 mm. The vapor cell has a diameter of 25 mm and a length of 40 mm. It is filled with isotopically pure atoms without buffer gas. In our experiment, the vapor cell is working at room temperature and placed inside a five-layer -metal magnetic shield to attenuate the ambient magnetic field. The residual magnetic field is compensated down to the nT level by additional three-dimensional coils. A pair of Helmholtz coils are used to generate the constant magnetic field along the direction of the light beam for measurement.

Figure 1.Schematic diagram of the system. VCO, voltage-controlled oscillator; DDS, direct digital synthesizer; AOM, acousto-optic modulator; PBS, polarization beam splitter; HWP, half-wave plate; BPD, balanced photodetector.
After atom–light interaction in the vapor cell, the polarization of the transmitted light is rotated by a half-wave plate (HWP) and detected by a balanced photodetector (BPD, Thorlabs-PDB210A/M). The BPD output signal reflects the precession of the atomic polarization in the presence of the magnetic field. The signal is sent to a lock-in amplifier (LIA, SRS-SR830) together with the DDS signal as a reference to demodulate the field strength . The in-phase and quadrature signals are sent to our data acquisition and processing system (DAPS). The sampling rate is 335 Hz. Based on the detected signals, we use feedback to adjust the DDS frequency to track the resonant Larmor frequency and achieve the magnetic field search and locking tasks. The DAPS system also sends instructions to a direct current (DC) current supply to adjust the field strength .
3. Properties of the Single-Beam Magnetometer
The magnetic field is usually obtained by sweeping the modulation frequency and fitting the line shape of the polarization process signal. A typical response curve of the LIA in-phase () and quadrature () components for our atomic magnetometry is shown in Fig. 2(a). Here, we set the magnetic field at 500 nT and change the intensity modulation frequency at around twice the resonant Larmor frequency · = γB and γ is the gyromagnetic ratio. The in-phase value at is set exactly at zero by adjusting the offset of the LIA. At the resonant point, the quadrature signal () reaches its maximum. The field strength can be obtained by searching the peak position of . For the in-phase component, there is a narrow linear region () near the resonance frequency , showing a narrow dispersive relation of the polarization rotation with the magnetic field. The slope is about 1.9 V/kHz. Within this linear region, we can calculate the field . Since such a narrow region corresponds only to about 10 nT, it is time-consuming to find an unknown magnetic field by means of step scanning [21]. Considering a large search range, such as for example, hundreds of steps are generally required. This is not available for a magnetic field that is not constant but changes with time.

Figure 2.(a) Typical in-phase (X) and quadrature (Y) output signals versus the modulation frequency ωm when Bset = 500 nT. (b) The resonant in-phase value X0 and inverse of the linear slope kslop for different Bset. (c) Time variation of the BPD output Sout for each cyclic light pulse when Bset = {100, 1000, 4000, 7000} nT. (d) The maximum and minimum values of the BPD output Smax and Smin for different Bset.
Focusing on how to quickly find the linear region, we check the in-phase value at the resonant position for the different in Fig. 2(b). The inverse of the slope rate is also calculated. We fit them linearly between partitions for simplicity and use the fitting results as the calibration in our search and locking scheme discussed in Sec. 4. The value is not always zero but changes with the magnetic field. Remembering that our magnetometer is a single-beam configuration, the light pulse acts as both pumping and probe of the atomic polarization. The pumping efficiency depends both on the magnetic field and the laser beam intensity. The larger the magnetic field and the stronger the laser power, the better of the atomic polarization. However, strong laser power also contributes more noise and thus affects the sensitivity. The light power is a tradeoff between pumping efficiency and sensitivity. In the experiment, we fix the light power averaged at 40 µW. Thus, the polarization rotation is maximized at a certain magnetic field. For a different magnetic field, change of the atomic polarization leads to the observed drift of .
To see clearly, we show variation examples of the BPD output signal for each cyclic light pulse in Fig. 2(c). It reflects the time evolution of the atomic spin polarization. For each cyclic light pulse, the aligned polarization gradually increases when the light pulse is on and damps when the light pulse is off. Thus, varies accordingly. We further select the minimum and maximum values and for different and plot them in Fig. 2(d). When the magnetic field approaches zero, the pumping process is slow and does not reach the maximum polarization. As the magnetic field increases, the atomic spin polarization first increases to the maximum at around 500 nT and then decreases slowly, resulting in a different time variation shape of . Thus, the product output of the signal and reference through the LIA changes for different magnetic fields. Because of the variation, the usual PID (proportion-integration-differentiation) locking method cannot be directly applied over a large magnetic range. As mentioned above, to find the peak of the quadrature by sweeping is time-consuming[21]. Instead, based on the measured in-phase values , we present one novel scheme for quick searching and locking the magnetic field in the following section.
4. Search and Locking Scheme
We plot the flowchart of our scheme in Fig. 3, including the magnetic search, locking, and output parts. Large-scale scanning curves are shown in the upper-right of the figure when setting the magnetic field B at 500 and 4000 nT. The in-phase signal is almost odd symmetric, corresponding to the resonant position . The task is how to find the symmetry point quickly. In our scheme, we first select two modulation frequencies and and obtain the values and . If the signs of and are opposite corresponding to the precalibrated resonant value [] as shown in Fig. 2(b), then the unknown magnetic field is in between and . As may be far from the real resonant value, resulting in misjudgment, we add another criterion to compare the difference between and . If the difference is larger than , then should be within the search range. is the width of the linear region. Then, we measure at the modulation frequency and compare it with (, ) in the same way. Based on the product sign of , we cut the search region in half. If , then we replace with . Otherwise, we replace with . Repeating the above operation several times till , we will reach the linear region at around the resonant frequency . This iterative approaching algorithm converges quickly, requiring only several steps [see Fig. 4(a)].

Figure 3.Flowchart of magnetic field measurement, consisting of the search (blue), lock (yellow), and output (pink) parts. The right-top inset is the large-scale scanning curves of the detected in-phase values X(ωm) when setting B = 500 and 4000 nT.

Figure 4.(a) Examples of the magnetic field search where Bset =500 and 5000 nT. (b) Comparison of the set and measured values Bset and Bout, where δB = Bout − Bset is the deviation.
After reaching the linear region, we turn to calculate the resonant modulation frequency and the output of the magnetic strength . is the difference between the measured signal and the precalibrated reference . Continuously, we get the LIA signal (, ) and check the value . If , then we output the magnetic field accordingly. Otherwise, the magnetic field is out of the linear region. We need to find it again. Because of the possibility that the changing magnetic field is not in the linear region but is still on the slope of , we update the modulation frequency to and then measure and recheck the new value of . If , then the magnetic field can be relocked. Otherwise, we determine the direction of the magnetic field change by the sign of . If (), then the actual magnetic field becomes larger (smaller). Accordingly, we set a new magnetic field search region and jump to the search part.
5. Results and Discussion
5.1. Accuracy
Figure 4(a) shows two examples of our magnetic field search when and 5000 nT. The initial searching region is between 20 and 2000 nT. Labeled with ① to in Fig. 4(a), the linear region is found within ten trial measurements at different . Each measurement takes about 90 ms in our system, so it is about 0.8 s in total to reach the linear region at around the actual magnetic field. The time is mainly spent on the DDS signal update and the LIA frequency discrimination, and we take an average of 10 ms of data sample to obtain an accurate for the region selection. The sampling rate and searching speed can be further improved using a field programmable gate array (FPGA) and fast digital LIA technique. As shown by the response time of atomic pumping polarization in Fig. 5(b), the time consumption for each trial has the potential to be improved within 10 ms. In Fig. 4(b), we measure the searching accuracy by comparing the set and measured values and . The error bar is the statistic of five searching measurements. It shows good linearity, and the deviation between them is no more than . The accuracy is determined by the magnetometer’s stability and calibration parameters, as measured in Fig. 2(b). System noises and fluctuations, such as vapor cell temperature and laser frequency and power, will cause unwanted drift of and . Thus, active stabilization of these factors is required for long-term accuracy. We can also improve the accuracy via the search of the maximum quadrature value after reaching the linear region . As mentioned in Sec. 3, the single-beam magnetometer needs to deal with the pumping and probe tradeoff of the atomic polarization, which results in the large variation of for different magnetic fields. We may apply temporal or spatial decoupling configurations, i.e., strong-pump weak-probe or forward-pump backward-probe methods[22,23], to decrease the variation of . The accuracy can be optimized better than the current results. In this work, we measure field in the range of thousands of nT due to the limited sampling rate and current supply of our system. The dynamic range can be increased up to the geomagnetic field level without any principal barriers.

Figure 5.(a) Comparison between Bset (black) and Bout (red) when linearly pulling up the magnetic field on a scale of 500 to 1500 nT within 10 s. (b) Response time of the atomic polarization when abruptly switching the magnetic field from 500 to 1000 nT. (c) Measurement response of the magnetometer when setting the sinusoidal amplitude oscillation f =60 Hz of the field within a small scale of 497 to 503 nT. (d) Amplitude ratio between Bout and Bset versus the frequency f.
5.2. Bandwidth
Further, the response bandwidth of our magnetometer is measured in Fig. 5. We first check the magnetic following response in Fig. 5(a) when is pulled up linearly on a large scale. The sweep rate is 100 nT/s, and can basically follow with a time delay. The delay is mainly due to the slow response of the LIA. When the actual field is far away from the linear region before the LIA frequency discrimination is done, the field locking fails. In order to check the searching limit, we observe the BPD output signal when abruptly switching the magnetic field from 500 to 1000 nT [Fig. 5(b)]. The modulation frequency equals 7 kHz. It takes about 6 ms to reach a stable value. This reflects the response time of the atomic polarization. We estimate that the magnetic field following rate can be further improved by an order of magnitude up to 1000 nT/s. In addition, we measure the bandwidth by applying a sinusoidal time-varying magnetic field, where . Here, we set , , and ωm = 7 kHz. Figure 5(c) is an example of when the frequency . The magnetic oscillation range is on the slope of the in-phase cure . There is a delay and amplitude attenuation between and . We calculate the amplitude ratio between and and plot it in Fig. 5(d). The data is fitted by a function of . The 3-dB bandwidth is about 87 Hz.
5.3. Sensitivity
We measure the sensitivity as the yellow line shown in Fig. 6. The magnetic field is set at 500 nT and the magnetometer is feedback locked on. The sensitivity is about @ 1 Hz and @ 10 Hz. Considering similar dynamical measurement ranges of commercial magnetometers available today, the sensitivity of our magnetometer is comparable or even better. In Fig. 6, we also measure the power spectral density of the in-phase signal of the two cases of laser off (black line) and laser on with constant 40 µW light power (red line). The black line represents the background noise of the balanced photodetector at around . Since our laser is free running, the noises and fluctuations of the laser frequency and power are the main noise source both at low and high frequency zones. Current supply for the stray magnetic field compensation and the set magnetic field 500 nT is another main noise source, with low-frequency noise from resistance fluctuation and high-frequency noise from commercial power. Imperfect intensity modulation of the laser beam also provides some noises. With effective methods to suppress these noises, the sensitivity can be improved to below .

Figure 6.Sensitivity of our single-beam magnetometer. The black line is related to the power spectral density of the in-phase signal without light. The red line is measured when the light power is 40 µW without modulation, and the yellow line is measured when the magnetometer is feedback-locked (Bset = 500 nT).
6. Conclusion
In this Letter, we demonstrate a simple magnetic field search and measurement scheme for all-optical single-beam atomic magnetometry. We observe that the central point of the LIA signal drifts with the magnetic field . After calibrating this offset, we quickly find the magnetic field within one second by iteratively narrowing the search region over a range of 10 to . The searching accuracy is , and the following capability of the linear field change is close to 100 nT/s. Our closed-loop locking scheme maintains good bandwidth and sensitivity performance of the magnetometer. All the parameters can be further optimized as discussed in Sec. 5. Our scheme should benefit those practical applications that involve measurements of unknown and changing magnetic fields, covering both the weak and strong field regimes.