1. Introduction
Rapid zoom optical lenses [
1] can switch fleetly from a short-focus state with wide-area surveillance to a long-focus state with high-resolution identification, which may show great potential in many fields such as security surveillance [
2], intelligence vision [
3], and high-speed photography [
4]. For instance, in unmanned surveillance, faster zooming enables capturing fast-moving targets in wide areas and identifying them with high-resolution images, reducing the probability of losing sight of targets. However, high-magnification zoom optical lenses often face significant zoom delay issues, which are caused by long-stroke moving groups at relatively low speeds. Compared to liquid lenses [
5] and Alvarez lenses [
6], which are more suitable for small-bore compact systems, voice coil motors (VCMs) with high thrust, response speed, precision, and durability have emerged as the preferred actuation technology in rapid zoom optical systems [
1,
7,
8]. Therefore, moving lens groups are driven directly by linear VCMs without transmission mechanisms, and the problem of accurate positioning for high-speed groups has followed.
Generally, linear displacement sensor techniques in zoom lenses can be roughly classified into the following two categories: optical encoder-based and magnetic encoder-based. While optical sensors are widely recognized for their high resolution and precision, their operational limitations, such as susceptibility to dust, debris, and vibrations, significantly constrain their reliability in harsh environments [
9]. In contrast, magnetic positioning systems exhibit inherent advantages [
10,
11,
12] in cost-effectiveness, enhanced robustness against environmental contaminants, flexible customization, and resistance to vibration and impact, making them increasingly preferred for applications demanding long-term operational stability. Therein, compared to magnetic encoders based on the Hall effect [
13] and anisotropic magneto-resistance effect, tunnel magneto-resistance (TMR) sensors [
14] have been emerging, with higher sensitivity, lower power consumption, a lower temperature coefficient of resistance, and smaller size. Therefore, TMR sensors are especially suitable for the compact design of rapid zoom optical lenses, whose working environment is always with electromagnetic interference, vibration, and low/high temperature.
In recent years, research on improving TMR positioning systems’ performance has attracted much interest. C. Lee et al. [
15] demonstrated an integrated positioning module on a single substrate to simultaneously sense the incremental and absolute scale line. They made all sensors parallel to the magnetic scale surface on the same substrate in the lithography stage, and alignment error between sensors during the installation was totally excluded. X. Wang et al. [
16] presented a displacement sensor based on the TMR effect with a resolution of 800 nm in millimeter-level operation range. They employed chip-level Au-In bonding to implement low-temperature assembly of the TMR devices and exploited the interpolation circuit and multi-bridge detection to enhance the sensor’s sensitivity and accuracy. J. Silva et al. [
17] developed a three-channel application-specific integrated circuit (ASIC) for position encoder readout, and the ASIC can mitigate offsets up to approximately 1.3× common-mode voltage and amplify signals with a gain of 43.5 dB.
For magnetic positioning systems, the most important is to carefully analyze the magnetic field distribution of the magnetic encoder to determine the air gap between the sensor and encoder, which is the most significant structural parameter. For instance, in Y. B. Muna and C. Kuo’s work [
18], the finite element method (FEM) analysis of the magnetic field for the magnetic encoder and TMR sensor gives an insight into the design of a relatively accurate magnetic encoder. They identified the best distance of 2 mm between the magnet and the TMR sensor and chose ceramic to reduce magnetic interference. Based on FEM results, S. Wang et al. [
19] analyzed the position of the TMR sensor in the air gap of a permanent magnet synchronous motor. However, the magnetic field distribution of the magnetic encoder is not ideal generally, and external interference should be considered. In practical applications, there are lots of relevant studies on the interference effect of external factors on positioning accuracy. G. F. Close et al. presented a new method for multiphysics simulation of integrated magnetic sensors, allowing the joint modeling of kinematic, magnetostatic, and integrated circuit behavior within a signal-flow system model [
20]. They presented a new sensor design for the accurate and robust measurement of linear displacement based on an exhaustive analysis of practical Ferrite magnets, and the sensor’s total error is 1%, including manufacturing tolerances, trimming accuracy, temperature, aging effects, and practical magnet constraints [
21]. B. Chen et al. [
22] investigated the effect of flattening a cracked medium on the positioning accuracy of a linear magnetic encoder and improved the accuracy by modification of the magnetic medium and flattening conditions. In order to eliminate the background magnetic field in the TMR sensor’s location, S. Wang et al. [
23] utilized a double-layer parallel cables magnetizer and magnetic flux concentrating plates to further improve the displacement measurement sensitivity.
In addition, magnetic interference from electromagnetic motors on TMR sensors cannot be neglected. Differing from the common magnetic displacement sensor packaged with magnetic grating, S. Wang et al. [
24] utilized TMR sensors to detect the periodic magnetic field of the permanent magnet linear synchronous motor directly to sense the displacement of the mover. From another perspective, when the TMR sensor is closed to electromagnetic motors, particularly for compact systems, magnetic field leakage of motors may interfere with signals. For VCM, external leakage [
25,
26,
27] should be further considered carefully, while more works concentrate on the magnetic field distribution in the air gap [
28,
29], which is necessary for electromagnetic force computation. It is necessary to analyze the influence of magnetic interference on the positioning accuracy of TMR-based displacement sensors, as it provides critical insights for component arrangement.
In this work, to address the above challenges, we systematically analyze a high-precision positioning system comprising a TMR sensor and magnetic grating encoder for high-magnification rapid zoom optical systems integrated with VCMs. The total length of magnetic grating is determined by the stroke of VCM and multiple magnets model. The equivalent magnetic charge (EMC) method and FEM simulations are utilized to verify the accuracy of analytical computation of magnetic field distribution for magnetic grating. Based on analytical computation, the optimal air gap between the sensor and magnetic grating is determined to be δS = 0.15 mm, which balances magnetic flux density amplitude and total harmonic distortion. In addition, a simplified fitting model is further proposed to reduce computational complexity. Furthermore, we quantify VCM-induced interference through three-dimensional flux leakage mapping, deriving an optimal sensor position (24 mm y-offset, 20 mm z-offset). The position error caused by interference remains below 5 μm with maximum deviations occurring at the trajectory endpoints of the moving group. The original signal output is processed and corrected, and eventually, the measured displacement exhibits a linear relationship with the actual displacement, demonstrating the positioning system’s robustness and precision. Our study provides a comprehensive framework for the design and optimization of magnetic positioning systems in high-performance optical applications with electromagnetic motors.
4. FEM Simulations of Magnetic Field Distribution for VCM and Measured Displacement
As described above, these results confirm that the optimal air gap between the sensor and magnetic grating is identified in ideal conditions without any interference. In this section, we examine the magnetic interference of VCM on signal output. The zoom optical system utilizes VCMs to actuate both the moving lens group and the TMR sensor. As illustrated in
Figure 7a, the VCM configuration employs a 45SH NdFeB permanent magnet (Senyang Co., Ltd., Ganzhou, China) (stator) and a copper coil (mover), with the coordinate system origin aligned to the magnet’s geometric center
OV, as shown in
Figure 7b. The dimensions of the NdFeB magnet are as follows: length
Lm = 49 mm, width
Wm = 20 mm, and height
hm = 3 mm, with a residual magnetic flux density of 1.32 T [
32]. The extended planar geometry of the magnet (
) establishes a quasi-uniform axial magnetic field (
B ∥
z) within the air gap, while the closed yokes enhance flux confinement and circuit permeability. For yokes, the dimensions are as follows: length
Lm = 51 mm, width
Wm = 20 mm, height
hy = 2.5 mm, and air gap
δ0 = 2.8 mm. When the coil is energized, the wires that pass through the air gap experience Lorentz force that causes the coil, together with the lens group, to take linear motion. The number of turns of the coil is
N = 400, and the current is
I = 1.55 A. As the VCM operates based on electromagnetic force, it inevitably produces an external magnetic field, which may interfere with the TMR sensor. Specifically, the magnetic flux leakage from the magnet and electromagnetic field generated by the coil must be carefully considered, particularly the former. Therefore, it is essential to analyze the VCM’s magnetic field to identify an external region with relatively weak magnetic interference. This analysis is critical for determining the optimal relative positioning between the TMR sensor (
OS) and VCM (
OV) to minimize interference effects.
Figure 7c presents FEM simulations of magnetic flux density
B distribution for VCM. The magnetic circuit is mainly confined in yokes and air gaps, while the flux density generated by the energizing coil is negligible compared to the magnetic field from the magnet. Because the relative permeability of copper is nearly 1 (equivalent to air in magnetics), the shape of the coil affects little flux density distribution. The boundaries that form the top and sides of the magnet are bordered by yokes with large permeability, and consequently, the tangential component vanishes along these boundaries. As shown in
Figure 7d, the magnet polarized along the positive
z-axis mainly generates a quasi-uniform axial magnetic field in the air gap with flux confinement by yoke I, while white arrows represent directions of the magnetic flux density. The field uniformity metric ((
Bz max −
Bz min)/
Bz mean) is less than 14% across the central 80% of the air gap, validating the effectiveness of the yoke design in maintaining spatial field consistency. Compared to yoke-free configurations, iron yokes achieve a 29% improvement in field uniformity and a 213% enhancement in flux density.
As the TMR sensor is mounted on the moving group, the direction of periodically arranged magnets of the magnetic grating is parallel to the direction of length for the VCM (i.e., along the
x-axis) of necessity. Consequently, the remaining critical design considerations are determining the orientation of the top surface of magnetic grating and the relative positioning between the sensor and VCM. To address these aspects, a detailed analysis of the magnetic flux density distribution in the
y–
z plane is essential. FEM simulations were conducted to characterize this distribution, with the results presented in
Figure 8 and
Figure 9. These simulations provide critical insights into the spatial field variations, enabling the optimization of sensor placement and grating orientation to minimize interference and ensure accurate signal detection.
The potential positioning of the TMR sensor is categorized into four regions (A, B, C, and D) external to the VCM, corresponding to the top, bottom, side, and upper side. Given the sensor’s trajectory along the x-axis, Bx is the primary detection parameter, and its distribution significantly influences signal integrity. Due to the presence of bilateral yokes at both ends of the permanent magnet along the x-axis, the Bx distribution is nearly negligible across most of the y–z plane. However, Bx leakage is only observed in Region C, where the absence of yokes results in unconfined magnetic fields. Consequently, Region C is excluded to minimize interference effects on the sensor.
The
By primarily concentrates on the four corners of the magnet in the
y–
z plane, as illustrated in
Figure 9a. The isolines reveal an antisymmetric
By distribution about the plane
y = 0, which coincides with the
By = 0 isoline. Although the magnet’s mounting on yoke II breaks the symmetry along the z-direction, the
By = 0 isoline nearly aligns with the plane
z = 0. While Regions A and B, where
By = 0, appear suitable for sensor placement, practical constraints limit their feasibility. Specifically, the moving group is fixed to the top surface of the coil, with optical lenses occupying Region A to maintain optical axis consistency. Additionally, the energized coil generates significant heat, leading to increased copper resistance and potential magnet demagnetization. To enhance thermal dissipation, the bottom surface of yoke II is exposed to ambient air, rendering Regions A and B unsuitable due to these external factors. Thus, alternative regions must be considered to optimize sensor placement while mitigating thermal and magnetic interference.
As illustrated in
Figure 9b,
Bz distribution exhibits symmetry about the plane
y = 0, with significant magnetic flux leakage observed in Region C. Consequently, Region D emerges as the optimal location for sensor placement, with the sensor position
OS ideally positioned as close as possible to the
Bz = 0 isoline to minimize interference. Within Region D, the magnitude of
By generally exceeds that of
Bz, necessitating the alignment of the magnetic grating’s top surface with the
x–
z plane of the VCM to mitigate the interference effects of the relatively strong
By component.
While theoretical analysis suggests that magnetic interference decreases with increasing distance from the VCM, practical constraints imposed by the overall dimensions of the zoom optical system and the geometry of the lens group flange limit the feasible placement of OS. After comprehensive consideration of these factors, OS is designed to be located in the upper side region outside the VCM, with coordinates offset by 24 mm in the y-direction and 20 mm in the z-direction relative to OV. This configuration achieves an effective balance between minimizing magnetic interference and accommodating the mechanical and optical design requirements of the system.
To evaluate the impact of magnetic interference on positioning accuracy, an analysis of position errors is essential, as it provides critical insights for magnetic shielding design and subsequent signal correction.
Figure 10a summarizes the magnetic flux density components (
Bx,
By, and
Bz) along the sensor’s trajectory. The most influential component,
Bx, exhibits an antisymmetric distribution about the midpoint (located at 18 mm), with its magnitude increasing gradually from the midpoint toward the ends, reaching a maximum value of 5.4 mT. In contrast,
By and
Bz display opposing symmetry and variation trends, with maximum values of 4.3 mT and 0.5 mT, respectively.
By combining the periodic magnetic flux density distribution of magnetic grating with the magnetic interference from VCM, the resulting sensor output signals are calculated and depicted in
Figure 10b. The interference causes deviations from the ideal sinusoidal and cosine waveforms. The position error, derived by comparing the affected signals with their standard counterparts, is generally less than 5 μm, as shown in
Figure 10c. The minimum position error occurs at the midpoint of the trajectory, corresponding to the region of minimal magnetic interference, while the maximum errors are observed at both ends.
Figure 11 presents the processing of measured original signals of the TMR sensor. Measured original signals are Sine and Cosine waveforms with a period of 0.8 mm. Besides magnetic interference, deviations from the ideal waveforms may originate from inhomogeneous magnetization of the magnetic grating, uneven air gap, and assembly alignment error. After Atan calculation, the measured displacement still exhibits an approximate periodic Cosine function of actual displacement with a period of 0.4 mm (see red line in
Figure 11b), which should be corrected to be a linear function, as shown in
Figure 11c. The position error is less than 5 μm, which is shown in
Figure 11d.
Utilizing the above-designed positioning system as position feedback of moving groups, the closed-loop control system is achieved with a photo-interrupter sensor (RPI-222, ROHM Co., Ltd., Kyoto, Japan) for absolute positioning for a 40× zoom optical system. The moving group is driven by VCM and controlled in linear motion with a stroke of 35.4 mm, and it costs about 0.17 s for the moving group to reach the destination, as shown by the actual trajectory in
Figure 12a. Consequently, the zooming time from the short-focus state to the long-focus state is within 0.2 s for the rapid zoom optical system with VCMs. At
t = 0 s, a security camera in a wide-area surveillance state captures a moving drone, and high-resolution identification is acquired fleetly at
t = 0.2 s, as illustrated in
Figure 12b. Rapid zoom optical lenses with VCMs show great potential in security surveillance applications.