Abstract
This paper proposes a new virtual Halbach analytical method for improved Halbach permanent magnet (PM) slotless planar linear actuators, which have mixed neodymium iron baron (NdFeB) magnets and ferrite magnets to form a two-segment quasi-Halbach topology with different heights of main and auxiliary magnetic poles. The method has four steps, which are described in detail in the paper. One of the key steps is to visually regard the permanent magnet region magnetized only in the y direction as a Halbach array structure with a magnetization amplitude of 0 in the x direction that satisfies the Newman boundary condition. The investigation shows that the results of the new analytical method are in good agreement with the finite element method. Using this analytical method, the effect of improved Halbach permanent magnet slotless planar linear actuator with unequal height of the main and auxiliary magnetic poles on the magnetic field waveform is analyzed by means of a parametric research.
Introduction
Since the high-performance NdFeB were developed in early 1980's, permanent magnet actuators using NdFeB have been able to provide high power density and high efficiency [1], and are becoming increasingly popular in industrial field and domestic appliances, especially electric vehicles, wind power and wave power generation, etc. However, due to the rapid increase in the price of NdFeB in recent years, the awareness of saving the cost of permanent magnets while pursuing the improvement of the air-gap magnetic performance of the actuator is increasing [2]. Exploring new technologies, such as Halbach magnetization structure [3–7], magnet segmentation [8–15], magnet-shaping technique [16–20], and stepped magnet pole [21–24], creating magnet pole with different magnet materials [25,26], etc., are all improving performance and reducing cost awareness. Although the new technologies mentioned above have strong advantages from a certain point of view, but there are many disadvantages, so there are literatures [2–4,10] that combine two or more of them to achieve better performance. Among them, Halbach topology technology [6], especially the Halbach topology combined with other technologies, has outstanding self-shielding properties, and has been sought after by scholars. Firstly, the following summarizes several typical improved Halbach structures. For the improved Halbach structure, scholars [2–4,10,23,27,29–31] have obtained some valuable research results from different structural, magnetization directions, permanent magnet materials and so on. In particular, some scholars considered more Halbach parameters. For example, combining the merits of Halbach magnetization with two magnetic materials and modular pole technique, Shen et al. [2] achieved better performance in machine, but instead of giving an analytical method, the more complicated subdomain analytical method [28] is used. However, for their proposed complex Halbach structure, Shen et al. did not analyze and discuss the influence of the residual magnetization of permanent magnet materials on the magnetic field. Secondly, for the Halbach structure and the improved Halbach structure, the methods are usually analytical methods, 3D modeling, finite element method, subdomain model method [24,28,29,32–35], etc., but the improved Halbach structure is more complicated and difficult to obtain analytical methods. Then, considering the Halbach structure combined with other technologies that comprehensively meets the requirements of reducing structural complexity, reducing costs, and improving performance, it is very difficult to obtain analytical solutions, usually replaced by a finite element method. Therefore, the Halbach structure with two-stage main and auxiliary magnetic pole heights selected in this paper is a better compromise to meet these conditions. Due to the Halbach structure with different heights of main and auxiliary magnetic poles, the extra non-magnetized regions cause an increase in permanent magnet partitioning, making it difficult to adopt a general analytical method. Finally, in response to this problem, this paper proposes a new analytical method, which is different from the subdomain model and other methods mentioned above.
In this paper, a new virtual Halbach analytical method is proposed for the Halbach permanent magnet slotless planar linear actuator with different heights of main and auxiliary magnetic poles. In Section 2, the analytic method is validated by finite element method. In Section 3, this analytic method is used to optimize the Halbach topology using parameters closely related to the shape of the magnetic pole and the magnetic flux density. Section 4 discusses the effects of three parameters on the air gap magnetic field, namely the ratio of the auxiliary magnetic pole to main magnetic pole in the magnetization direction, the ratio of the auxiliary magnetic pole to the pole pitch in the x direction, and remanence density of the auxiliary magnetic pole.
This paper contributions are (1) the new virtual Halbach analytical method is proposed to solve the magnetic field with two-segment Halbach array of different heights of main and auxiliary magnetic poles, and is validated by finite element method, and (2) the parametric research with the method, whose parameters are closely related to the shape of the magnetic pole and the magnetic flux density, are used to optimize the improved Halbach magnetized permanent magnet topology.
Analytical model
Model description and assumptions
Figure 1 shows a slotless permanent magnet planar linear actuator in which the permanent magnets are in an improved Halbach array topology. The traditional quasi-Halbach array structure is formed by splicing two or more regular square permanent magnets, and the magnetic pole height of the main and auxiliary magnetizing magnets is equal, as shown in Fig. 2(a). By changing the shape of the conventional magnetic pole, there is better performance in the actuator magnetic field, namely magnet-shaping technology. Figure 2(b) shows a relatively simple unequal height magnet-shaping magnetic pole based on the conventional two-segment quasi-Halbach array structure. This paper will describe the analytical means to enhance the airgap magnetic field in planar linear actuator by varying the magnetizing magnet height in x and y directions, and by changing the magnetizing magnet widths of the main and auxiliary poles, namely Ly and Lx, and by replacing the remanence magnetic material with different remanence in the x direction, namely B rx .

Schematic diagram of slotless permanent magnet planar linear actuator.

Quasi-Halbach magnetization pattern. (a) Regular square permanent magnets. (b) Unequal height permanent magnets in the two magnetization directions of x and y.
In order to obtain the solution of the analytical equation of the model of Fig. 2(b), planar linear actuator is divided in several regions as shown in Fig. 3. In this model, the following assumptions are made:
(1) the soft magnetic core portion is infinite magnetic permeability and unsaturated;
(2) the actuator is sufficiently long, so end-effects are ignored;
(3) the back iron is unsaturated and eddy current and hysteresis loss in it are all neglected;
(4) all magnets operate on a linear demagnetization curve, and have been fully magnetized in the magnetization direction.
In order to better analyze this model, a high-low coercivity hybrid Halbach permanent magnet linear actuator analysis model is established as shown in Fig. 3. The two arrow colors represent two different material permanent magnets, that is, red indicates high coercive permanent magnet material, and blue indicates a low-coercive permanent magnet material, respectively. The arrow direction in Fig. 3 indicates the magnetization direction of the permanent magnet, that is, the red arrow indicates the high-coercive permanent magnet magnetization direction, and the blue arrow indicates the low-coercive permanent magnet magnetization direction. The layered processing of the quasi-Halbach structure topology actuator model of Fig. 2(b) can divide the five-layer model as shown in Fig. 3, namely, airspace region I, PM region II, the air-gap region III, stator iron region IV, and back iron region V. The boundary conditions where y = ro, y = rmi and y = ri, are all corresponding to the Neumann boundary conditions.
Due to the different heights of the high and low coercive permanent magnets, a green layered line as shown for the region II in Fig. 3 is proposed, and then the region II is subdivided into two regions, which are defined as region II1 and region II2, i.e., II1 is the lower part of the permanent magnet region, and II2 is the upper part. As shown in Fig. 4, after dividing the region II into two regions II2 and II1, region II1 is a quasi-Halbach topology, and region II2 can be regarded as a quasi-Halbach topology in which the residual magnetization vector Mx in the x direction is 0, that is, the x-direction permanent magnets are not magnetized in the region II2. Therefore, the upper boundary of region II and II2 is y = rmo, which satisfies the Newman boundary condition, and the lower boundary of region II and II1 is y = rmi, which also satisfies the Newman boundary condition. The upper boundary of region II1 coincides with the lower boundary of II2, i.e., y = rmi + h1, and meets Neumann boundary conditions. In calculating the magnetic density of the region II to the air gap, the quasi-Halbach boundary conditions are used to calculate the flux density of the region II1 and II2 to the air gap, respectively. Then, using the superposition principle, the air gap flux density of region II can be calculated. That is to say, firstly, when calculating the magnetic flux density of the air gap of the region II1, the air is filled with the region II2 to solve the equation; Secondly, when calculating the magnetic flux density of the air gap of II2, air filling is performed on the region II1, and the residual magnetization in the x direction of the II2 region is set to 0, and the solution of the equation can be obtained; Finally, the magnetic flux density obtained by the previous two steps is superimposed to obtain the flux density of the region II to the air gap.
Since, in the calculation of the magnetic field of the region II2, the region II2 adopts the boundary condition of the Halbach array while adding two other conditions, namely, setting the residual magnetization parameter Mx = 0 in the x direction and unchanging the residual magnetization parameter My value in the y direction. That is to say, the region II2 is regarded as a virtual satisfying Halbach boundary condition, and then the magnetic fields of II1 and II2 are respectively calculated, and finally the magnetic flux density of the region II to the air gap is calculated by applying the magnetic field superposition principle. Therefore, this analysis method is called virtual Halbach analytical method in this paper.

Quasi-Halbach structure region model.

Flux density equivalent calculation model of region II with virtual Halbach analytical method.
For linear PM actuators, the flux density vector and magnet field intensity vector in regions I, II and III, are respectively coupled by
The amplitude of the residual magnetization vector
In the two-dimensional (2D) Cartesian coordinate system, the residual magnetization vector can be decomposed as
The regions are shown in Fig. 3, where regions I and III are source-free regions in which the Laplace equation has to be solved, and in the magnet, region II, the Poisson equation has to be solved. According to the previous assumption, the magnetic vector potential in the Cartesian coordinate system has only a z-component, hence can be treated as scalar potential, and written as A I , A II and A III , respectively.
Therefore, the model can be simplified into a two-dimensional model, and equation can be simplified and expressed as (8) and (9).
According to the magnetic symmetry of the actual actuator, ignoring the magnetic flux leakage effects between the edge and the pole, it can be seen that A I, II, III is symmetric about x, that is, the magnetic potential A I, II, III is an even function, so the magnetic potential A I, II, III does not contain a sinusoidal component about x.
Using the method proposed in this paper, four steps are needed to obtain solutions of Eqs (8) and (9). Firstly, assuming that the entire region II is a two-segment quasi-Halbach array topology, the general solution of the differential Eqs (8) and (9) can be obtained by using the variable separation approach. This general solution are expressed as (10) and (11).

Filled air model in region II2.
Secondly, by using the method mentioned above, the region II2 is filled with air, that is to say, it can be regarded as dividing region II2 into region III. Therefore, region II2 is solved using the Laplace equation, and region II1 is solved using the Poisson equation of the quasi-Halbach array. This region II2 filled air model is shown in Fig. 5, and the boundary conditions required for solving the differential equation in this model are Eqs (12)–(17).
From the basic relationship between the magnetic density, the magnetic field strength and the residual magnetization, the Eq. (18) can be obtained, so the boundary conditions (13) and (15) of the actuator can be rewritten into the Eqs (19) and (20), respectively.
Using Eqs (10) and (11), the boundary condition Eqs (12), (14), (16), (17), (19) and (20) are simplified to obtain Eqs (21)–(26).
The Eqs (21)–(26) are grouped into a set of equations, and the equations are solved to obtain the value of the coefficient A
IIIn
, B
IIIn
. Then the A
IIIn
, B
IIIn
value is substituted into the Eq. (10), and the magnetic potential

Model of filling air in region II1 and setting Mx = 0.
Thirdly, by using the method mentioned above, the region II1 is filled with air, and set the permanent magnet x-direction magnetization Mx = 0 in region II2, that is to say, it can be regarded as dividing region II1 into region I. Therefore, region II1 is solved using the Laplace equation, and region II2 is solved using the Poisson equation of the quasi-Halbach array. This region II1 filled air model is shown in Fig. 6, and the boundary conditions required for solving the differential equation in this model are Eqs (16) and (27)–(31).
Using equations (10) and (11), the boundary condition Eqs (16) and (27)–(31) are simplified to obtain Eqs (25) and (32)–(36).
The Eqs (25) and (32)–(36) are grouped into a set of equations, and the equations are solved to obtain the value of the coefficient A
IIIn
, B
IIIn
. Then the A
IIIn
, B
IIIn
value is substituted into the Eq. (10), and the magnetic potential
Finally, according to the previous assumption, since the components of the magnetic field in the Cartesian coordinate system can be expressed by Eqs (37)–(40), the magnetic flux density from the permanent-region II to the air gap region III can be obtained by the superposition principle. And the equations are (41) and (42).
A virtual Halbach analytical method has been deduced in the previous section. This analysis is mainly to analyze the square quasi-Halbach topology with different heights of main and auxiliary magnetic poles. In this section, a commercial finite element analysis software is used to verify the correctness of this analytical method, using the structural model parameters shown in Table 1. The magnetic flux lines are presented in Fig. 7. In this section, this model is extended to be able to investigate the influence of 𝛼 and 𝛽 on the flux density as shown in Fig. 6. Where, 𝛼 is the ratio of the height of the auxiliary magnetic pole to the height of the main magnetic pole and expressed as Eq. (43), and 𝛽 is the ratio of the length of the auxiliary magnetic pole to the pole pitch and expressed as Eq. (44).
Parameters of the modeled actuator

Magnetic flux lines.
The formulas (41) and (42) for the air field in region III will be verified by comparing to a finite element analysis (FEA). The permanent magnets in the FEA model have a remanent flux density, B rNdFeB = 1. 1T, B rFerrite = 0. 4T and the relative permeability, μ rII1 = μ rNdFeB = μ rFerrite . It can be seen from Fig. 8 that the absolute value of the maximum error of the y component flux density between the analytical solution and the finite element solution is 0.0138T, which occurs at x = 29.5 mm and B IIIy = −0.4631T; and the absolute maximum error of x component flux density is 0.0212T, which occurs at x = 16.34 mm and B IIIx = 0.3792T. It can be obtained from Fig. 9 that the absolute value of the maximum error of the y component flux density between the analytical solution and the finite element solution is 0.0149T, which occurs at x = 9.96 mm and B IIIy = 0.4093T; and The absolute maximum error of x component flux density is 0.0196T, which occurs at x = 21.39 mm and B IIIx = 0.2749T. Therefore, in the air gap magnetic field along the line y = 91 and y = 92, the analytical solution agrees well with the B IIIx and B IIIy waveform of the finite element solution in one cycle, the waveform trend is very consistent, and the error between the two is very small. Obviously, the results show match well for the air field along the line y = 91 and y = 92 mm for 0 < x < 40 mm, and the virtual Halbach analytical method gives a slightly stronger field, due to the approximation μ rII ≈ 1.

Comparison of the x and y component of the air field flux density calculated by analytical means and FEM along the line y = 91 mm for 0 < x < 40 mm.

Comparison of the x and y component of the air field flux density calculated by analytical means and FEM along the line y = 92 mm for 0 < x < 40 mm.
This paper firstly investigates the two parameter variations of the shape of the magnetic pole, one is the ratio of the auxiliary magnetic pole to the magnetization direction of the main magnetic pole, and the other is the ratio of the auxiliary magnetic pole to the pole pitch in the x direction. To evaluate the effect of changing the magnet shape, the field distribution in the center of region III is calculated for several values of 𝛼 and 𝛽. By optimizing the two-segment quasi-Halbach topology actuator model, the maximum value of the first harmonic air gap flux density can be obtained with unequal heights and unequal lengths of the main and auxiliary magnetic poles, and the effect of changes in 𝛼 and 𝛽 on the peak value of the air gap can also be obtained. Fig. 10 shows an analytical model result waveform of five different alpha values, where 𝛼 = 1 corresponds to the case where the square quasi-Halbach topology main magnetic pole and the auxiliary magnetic pole are highly equal in the magnetization direction, that is, the traditional two-segment quasi-Halbach mode shown in Fig. 2. As shown in the figure, when the 𝛼 value changes from 0.5 to 0.98, the peak value of the waveform also corresponds to an incremental change, and the peak value of the waveform for 𝛼 = 0.98 is higher. Fig. 11 shows the analytical model result waveforms for five different beta values, where 𝛽 = 0.5 corresponds to the case where the Halbach main magnetic pole and the auxiliary magnetic pole are equal in length in the x direction. As shown in the figure, when the 𝛽 value changes from 0.3 to 0.6, the peak value of the waveform also corresponds to an incremental change, and the peak value of the waveform for 𝛽 = 0.6 is higher.
At the same time, this paper also investigates the influence of the variation of residual magnetic flux density on the air gap magnetic density. Since the auxiliary magnetic pole adopts a low coercivity ferrite material, and the residual magnetic density of the different types of ferrite after saturation magnetization generally has a range of 0.2–0.44 T, it is very meaningful to examine the effect of this parameter on the air gap flux density. Figure 12 shows the analytical model waveforms for six different B rx values, where B rx = 0.2 and B rx = 0.44 correspond to the minimum and maximum remanence of the auxiliary pole ferrite of the square Halbach structure, respectively. As shown in the figure, when the B rx value changes from 0.2 to 0.44, the peak value of the waveform also corresponds to an incremental change, and the peak value of the waveform for B rx = 0.44 is higher.

Effect of 𝛼 on the waveform of the y component of the flux density along the line y = 91.5 mm for 0 < x < 40 mm in the region III.

Effect of 𝛽 on the waveform of the y component of the flux density along the line y = 91.5 mm for 0 < x < 40 mm in the region III.

Effect of B rx on the waveform of the y component of the flux density along the line y = 91.5 mm for 0 < x < 40 mm in the region III.
However, it can be seen from the influence of the changes of the parameters 𝛼, 𝛽 and B
rx
on the air gap magnetic density that the different parameter 𝛼 and 𝛽 parameter values correspond to different magnetic density waveforms. In order to evaluate the air gap magnetic density waveform of the quasi-Halbach topology, it is necessary to calculate the total harmonic distortion (THD
B
) in y direction, that is, the ratio of the root mean square value of the harmonic content of all air gap magnetic fields to the root mean square value of the fundamental wave, as shown in the following formula (45).
Where, THD By is the harmonic total distortion rate of the y-direction flux density waveform, B y1 is the fundamental component of the flux density, and B yn is the nth harmonic component of the flux density.
Using the Eq. (45) to process the waveforms in Fig. 10, Fig. 11, and Fig. 12, the THD B values corresponding to the different 𝛼, 𝛽 and B rx values can be obtained, as shown in Table 2. The different 𝛼 values in Table 2 correspond to different harmonic distortion rates. The maximum THD By value at 𝛼 = 0.7 is 0.1885, and the minimum THD By value at 𝛼 = 0.9 is 0.1589. It is shown that the harmonic minimum occurs where the height of the main and auxiliary magnetic poles is different, and the magnetic density waveform of the quasi-Halbach permanent magnet obtains better performance. The maximum THD By value at 𝛽 = 0.3 is 0.3451, and the minimum THD By value at 𝛽 = 0.55 is 0.1457. It is shown that the harmonic minimum occurs where the auxiliary magnetic pole length is slightly larger than the main magnetic pole length, and the magnetic flux waveform of the permanent magnet obtains better performance. The minimum THD By value at remanence of auxiliary magnetic pole B rx = 0.2T is 0.1514, and the maximum THD By value at remanence of auxiliary magnetic pole B rx = 0.4T is 0.1724. It shows that the residual magnetism of the auxiliary magnetic pole also affects the magnetic flux density waveform of the permanent magnet air gap. Therefore, as can be seen from the previous discussion, the changes of the three parameters 𝛼, 𝛽 and B rx have an effect on the air gap magnetic density waveform.
Effect of THD on the waveform of 𝛼, 𝛽 and B rx
This paper proposes a new virtual Halbach analytical method for permanent magnet slotless planar linear actuators having mixed high-coercivity NdFeB magnets and low-coercivity ferrite magnets to form a two-segment quasi-Halbach topology with different heights of main and auxiliary magnetic poles, and the three-parameter 𝛼, 𝛽 and B rx , which is closely related to the shape of the magnetic pole and the magnetic flux density, is used to optimize the Halbach magnetized permanent magnet topology with this analytical method. Firstly, the analytical model for the shaped magnetic pole of slotless planar linear actuator is established, and the virtual Halbach analytical method is derived to optimize the Halbach topology. Then, the analytic method is verified by the finite element method. From the perspective of the magnetic density waveform, the results agree well. Finally, the actuator topology is optimized by three parameters in the analytical method. It is concluded that the three parameters 𝛼, 𝛽 and B rx have a great influence on the air gap flux density waveform. Analysis shows that the magnetic distortion waveform has the smallest harmonic distortion rate where 𝛼 = 0.9, 𝛽 = 0.55 and B rx = 0.2. However, additional research using the analytical method presented in this paper is necessary as the desired air-gap flux density waveform strongly depends on the planar linear actuator Halbach topology with the different heights of main and auxiliary magnetic poles.
Footnotes
Acknowledgements
This work was funded by a project that partially funded by National Science Foundation of China (51675265) and the Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD). The authors gratefully acknowledge this support.
