Abstract
The use of soft magnetic composite materials (SMCM) core in the permanent magnet spherical motor (PMSpM) can increase the air gap magnetic flux density and torque density. However, it will also cause the distortion of the magnetic flux density, leading to the generation of cogging torque. In this paper, an analytical model of cogging torque for PMSpM with iron core is proposed. Firstly, based on the spatial distribution of the air gap, the distribution function characterizing the tooth slot structure in both the longitude and latitude direction is obtained through Fourier expansion. Secondly, an analytical model of air gap magnetic flux density is obtained based on the distribution function of the tooth slot structure. Next, an analytical model for the rotation and yaw cogging torque is established based on the virtual work method. Finally, the analytical results are verified by finite element analysis and experimental results. The model can quickly obtain the relationship between the cogging torque and structural parameters such as permanent magnet thickness, air gap length, and stator slot opening angle, which lays a certain theoretical foundation for the structural optimization design of the PMSpM with SMCM cores.
Introduction
With the advancement of modern industry, an increasing number of scenarios in aerospace, military, medical, and other fields require the accomplishment of multi-degree-of-freedom operation (DOF). However, current multi-DOF operation relies on multiple motors in conjunction with complex mechanical transmission structure, each of which performs only single-DOF operation. 1 Deformation of mechanical coupling structure in extreme environments is a common failure of systems operating in multi-DOF. 2 A single axis spherical motor3 that can achieve three-DOF movement is expected to reduce the mechanical components of the system, thereby reducing its failure rate and improving its reliability. However, the unique three-dimensional structure of spherical motor increases it complexity in terms of body structure design, electromagnetic analysis, material processing technology, etc. The spherical motor is still in laboratory research and exploratory stage.
Due to the limitation of processing technology, the core of the permanent magnet spherical motor (PMSpM) is generally made of non-conducting magnetic materials. However, the poor magnetic field transfer and concentration effect of the coreless PMSpM leads to increased energy loss, low torque density, and insufficient driving capability,4–6 which greatly affects the application prospect of spherical motors.
Soft magnetic composite materials (SMCM) are easy to machine into complex shapes 7 and the magnetic behavior of SMCM is isotropic, 8 it has been intensively studied in the field of permanent magnet motors.9–11 SMCM represent a convenient solution for machines in which the magnetic flux lines run in three dimensional paths. Therefore, SMCM are used to make into the stator core of spherical motors in this paper. However, the introduction of SMCM makes the air gap unevenly distributed in three-dimensional space, which brings multi-dimensional cogging torque and thus causes spherical motor vibration. Reference12–14 performed analytical solution the cogging torque of conventional cylindrical and linear permanent magnet motors and obtained the constraint relationship between the cogging torque and the structural parameters of the motor. However, the three-dimensional structure of the spherical motor determines that its cogging torque also needs to be analyzed in three-dimensional, conventional methods are no longer suitable. The analytical model for the magnetic field of the PMSpM with iron core was obtained in References,15–18 but the cogging torque was not analyzed.
In,19–22 the cogging torque of a PMSpM was studied using the finite element analysis (FEA). The FEA has high accuracy in engineering analysis, but it is difficult to provide theoretical support for the optimization direction of structural parameters. Reference 23 analyzed the cogging torque of a spherical motor, but the shape of the stator was approximated as a barrel, so the cogging torque was only solved in one dimension. Reference 24 solved the multi-dimensional electromagnetic torque in the spherical motor, but it did not analyze the cogging torque separately during the solving process. The air gap magnetic field of the spherical motor with an iron core was analyzed in our previous work, 15 and it found that the air gap magnetic field had severe distortion at different positions of the rotor.
Based on the PMSpM with SMCM iron core structure proposed in, 15 the analytical model of cogging torque is derived in this paper. Firstly, the distribution functions characterizing the tooth slot structure in the longitude and latitude directions is obtained by the Fourier expansion method. Secondly, the analytical model of air gap magnetic flux density is deduced by combining the distribution function of slot structure and the air gap magnetic flux density function of the slotless structure. Then, the analytical model of the cogging torque in rotation and yaw is obtained by using the virtual work method. Finally, the result was validated on a finite element simulation and torque experiment platform.
Structure and working principle
The structure of the PMSpM with SMCM core is shown in Fig. 1. The motor consists of a spherical shell stator with teeth and a permanent magnet spherical rotor.

Structural diagram of PMSpM.
In the figure, R1 and Rs are the outer and inner radii of the stator shell, R2 is the inner stator radius from the stator teeth to the center of the ball, R3 and R4 are the outer and inner radii of the rotor, rs and hs are the radius and length of the stator teeth, and rr and hr are the radius and height of the rotor magnetic pole.
The rotor body is made of resin material by 3D printing technology, and the stator is made of SMCM, which is the Somaloy 1000 5P material from Hoganas, Sweden. Sixteen NdFeB35 permanent magnets are embedded on the surface of the rotor ball, with the upper and lower layers uniformly spaced on the latitude lines of 63.43° and 116.57°. The N and S poles are arranged alternately in two layers. The shape of the permanent magnet is designed as a solid cylinder with parallel magnetization along the column axis. Sixteen stator teeth are mounted uniformly in two layers on the 63.43° and 116.57° latitude lines of the stator. Spherical bearings are mounted on the bottom of the stator to support the rotor, and the spherical rotor can achieve multi-DOF movement in the sphere space. The parameters and symbols of the structure are listed in Table 1.
Simulation model parameters of the PMSpM with SMCM core.
The schematic diagram of the motion of the PMSpM is shown in Fig. 2.

Schematic diagram of the motion of the PMSpM.
When the stator coil is energized, the magnetic field of the energized coil is made to interact with the magnetic field of the rotor pole, thereby producing electromagnetic torque. When the coils of the same latitude are energized, the rotor is caused to rotate around the Z-axis under the action of the electromagnetic torque. When the coils of the same longitude are energized, the rotor is made to pitch around the X-axis or yaw around the Y-axis. Therefore, the three-DOF motion of the motor can be realized by changing the powering strategy of the stator windings. In the spherical coordinate, the spatial position of any point P is (r, θ, φ), r is the distance between the origin O and point P, θ is the angle between the line segment OP and the positive Z-axis, φ is the angle formed by rotating counterclockwise from the X-axis to OM, and M is the projection of the point P on the XOY plane. The motion of the PMSpM is described by (δr, δy, δp), δr is rotation angle, δy is the yaw angle, and δp is the pitch angle. ε1 and ε2 are the longitude and latitude angle crossed by the magnetic pole.
Analytical model of cogging torque
For the PMSpM, the utilization of SMCM as the stator core has the potential to enhance the air gap flux density and output torque. However, it unavoidably gives rise to the cogging torque. To analyze the relationship between the cogging torque and the motor parameters, the analytical model of the cogging torque is obtained by using the virtual work method combined with the Fourier expansion method.
Before the cogging torque is discussed, it is necessary to define the stator and rotor coordinate system to describe of the motion of the PMSpM. The stator coordinate system is a stationary coordinate system, the rotor coordinate system is a motion coordinate system that follows the rotor. The rotor position of a single-DOF motor is determined by the initial position θ0 and the rotation angle θr, and the rotor position can be expressed as θt=θ0+θr. The rotor position of the PMSpM is also related to the initial position and the rotation angle, but the difference is that the rotation angle that determines the rotor position is no longer a single variable. The rotor position is determined by the initial position (δr0,δy0,δp0) and the rotation angle (δr,δy,δp), and the arbitrary rotor position can be expressed as δrt=δr0+δr, δyt=δy0+δy, δpt=δp0+δp. In addition to the rotor position, distribution functions of the magnetic field and the air gap length, in the stator and the rotor coordinate system are described by (θd,φd) and (θz,φz), respectively.
Because the yaw and pitch motions are similar, the solution process of yaw cogging torque and pitching cogging torque is the same, so only the solution process of rotation cogging torque and yaw cogging torque is analyzed. The schematic diagrams of the rotation and yaw cogging torque are shown in Fig. 3.

Schematic diagram of cogging torque direction.
Fig. 3 depicts the direction of rotor motion and direction of cogging torque during rotation and yaw.
For the convenience of research, the following assumptions are made:
The permeability of permanent magnets is the same as vacuum; The shape of stator slot is simplified as a rectangle; End effects are not considered; fundamental in the air gap is considered.
According to the virtual work method, the cogging torque is defined as the negative derivative of the magnetic field energy W to the rotor rotation angle δ.
Since the magnetic permeability of the SMC core is much greater than that of the air gap, it is approximated that the magnetic field energy of the air gap is the total amount of magnetic field capacity.
Where, μ0 represents the vacuum permeability and Br(θz, φz, δ) represents the air gap magnetic flux density distribution function with rotor rotation angle.
Characterization function of tooth slot structure
Affected by the tooth slot structure, the distribution function of air gap magnetic flux density with rotor rotation angle can be expressed as:
Where, Br(θz,φz,δr) is the magnetic flux density distribution function with rotation angle, Br(θz,φz,δy) is the magnetic flux density distribution function with yaw angle, and Br(θz,φz) is the distribution function of air gap magnetic flux density without tooth slot structure.
D(δr,φz) and D(δy,θz) are characterization functions of tooth slot structure in rotation and yaw, they can be expressed as:
Where, hm is the length of the permanent magnet in the direction of magnetization, g(δr, φz) and g(δy, θz) are the effective air gap length distribution functions in rotation and yaw, respectively.
The key to deriving the analytical model of the cogging torque is the analysis of Br(θz,φz), D(δr, φz) and D(δy, θz), the detailed analysis process is shown in Fig. 4. Firstly, according to the boundary conditions and Laplace's equation, the analytical model of air gap magnetic flux density for the slotless structure is established. Then, the distribution function of the effective air gap length is obtained based on the tooth slot structure, and the characterization function of tooth slot structure is obtained. Combining the air gap magnetic flux density for the slotless structure with the characterization function of the tooth slot structure, the air gap magnetic flux density for the tooth slot structure is obtained. It describes accurately the air gap magnetic flux density of the PMSpM and obtains the magnetic field characteristics, thus optimizing the design to reduce cogging torque.

Analysis flowchart of analytical model for the PMSpM.
Firstly, calculate the Br(θz,φz). The PMSpM is divided into five regions according to the magnetic field characteristics of the space as shown in Fig. 5.
Region 1: The air region outside the stator. Region 2: The stator and stator teeth. Region 3: The air region between the stator and rotor. Region 4: The permanent magnets. Region 5: The rotor yoke.

Division of solution area.
The Laplace's equation of the scalar magnetic potential for the PMSpM is expressed as
15
:
The boundary conditions between the five regions can be expressed as:
The magnetic field in space is solved by the Laplace's equation and the scalar magnetic potential is represent by (r, θz, φz).
Where, i = 1,2,3,4,5, represents the magnetic field solution region. Aml,.i and Bml,i are the coefficients to be determined from the boundary conditions, Yml (θz, φz) is the spherical harmonic function, l represents the degree, and m represents the order.
Yml (θz, φz) can be expressed as:
Where, Pml (cosθz) is the differential form of the associated Legendre function, which can be expressed as:
Because only the radial component of the air gap flux density can generate torque, the radial fundamental wave magnetic flux density of the air gap obtained by spherical harmonic expansion can be expressed as:
Where, A-45,3, B-45,3, A45,3 and B45,3 are the scalar magnetic potential coefficients, Y-4 5and Y4 5are the spherical harmonic functions abbreviated respectively.
Analytical model of cogging torque in rotation dimension
The relative position between the permanent magnet and the stator teeth in rotation is shown in Fig. 6.

Relative position of stator and rotor in rotation.
The relative positions of rotor pole PM2 and stator tooth S2 are taken as an example. δr0 represents the initial position of the rotor, δr represents the rotation angle, and δrt represents the position after rotation. φd and φz describe the distribution of the air gap length in the stator and rotor coordinate system, and the relative position relationship is φd = φz + δr. φd = 0° represents the centerline of the stator tooth S2, and φz = 0° represents the centerline of the magnetic pole PM2.
The distribution function of effective air gap length in the stator coordinate system is obtained according to the geometric structure of the air gap, as shown in Fig. 7.

Distribution function of effective air gap length in rotation.
As shown in Fig. 7, it assumed that the magnetic flux path crosses the air gap and magnet region in the radial direction, and enters the slot opening with a circular trajectory, the distribution function of effective air gap length in the stator coordinate system in rotation is expressed as:
Where, br0 is the width of the slot opening in rotation, φα=(φ1-φ0)/2, φ1 and φ0 are the slot pitch and slot opening, respectively, and g is the air gap length.
Combining φd=φz+δr and (5), D(δr, φz) can be expressed as:
Where, D(δr, φz) and D(φd) represent the characterization functions of the tooth slot structure in the rotor coordinate system and stator coordinate system, respectively.
To simplify the calculation, (15) can be obtained by Fourier expansion.
Where, zr represents the number of stator teeth, Gr0 and Grn represent the Fourier expansion coefficients, and the expression is:
Combining (1), (2), (3), (12), (15) and (16), the analytical expression of cogging torque in rotation is given.
Where, θa and θb are the latitudes of the upper and lower layers of the magnetic poles, R3 and R2 are the radii of the inner and outer spheres of the air gap.
The cogging torque Tcogr in rotation is related to the distributions of D2(δr, φz) and Br2(θz, φz). Br2(θz, φz) is related to the rotor magnetic poles, with a period of 2p = 8. D2(δr, φz) is related to the stator teeth, with a period of zr = 8. Br(θz, φz) is a series of cosine waves with a period of 2kp in the direction of φz, when it is expanded by the spherical harmonic function. D2(δr, φz) is a series of cosine waves with period nzr when it is expanded by Fourier series expansion. Therefore, Br2(θz, φz) and D2(δr, φz) can generate cogging torque only when 2kp = nzr (k, nzr are positive integers). Because the cogging torque is solved using the fundamental wave component of the air gap radial magnetic flux density in the φz direction, it can get k = 1, which results in n = 1, so the cogging torque model in rotation in this paper is based on the fundamental waves of Br2(θz, φz) and D2(δr, φz).
Analytical model of cogging torque in yaw dimension
The relative position between the permanent magnet and the stator teeth in rotation is shown in Fig. 8.

Relative position of the stator and rotor in yaw.
The relative positions of rotor pole PM1 and stator tooth S1 are taken as an example. δy0 represents the initial position of the rotor, δy represents the yaw angle, δyt represents the position after yaw, θd and θz describe the distribution of the air gap length in the stator and rotor coordinate system, and the relative position relationship is θd=θz+δy. θd=θdu represents the centerline of the stator tooth S1, and θz=θzu represents the centerline of the magnetic pole PM1, θdu=θzu = 63.43°.
Br(θz, φz) is the same as in the previous section, and the distribution function of effective air gap length in yaw is obtained according to the geometrical structure of the air gap, as shown in Fig. 9.

Distribution function of effective air gap length of yaw.
As shown in Fig. 9, again assuming that the magnetic flux path passes crosses the air gap and magnet region in the radial direction, enters the slot opening with a circular trajectory, the distribution function of effective air gap length in yaw is expressed as:
Where, by0 is the width of the slot opening in yaw, θβ=(θ1-θ0)/2, θ1 and θ0 are the slot pitch and slot opening, respectively, and g is the air gap length.
Combining θd=θz+δy and (6), D(δy, θz) can be expressed as follows:
Where, D(δy, θz) and D(θd) are the characterization functions of the tooth slot structure in the rotor coordinate system and stator coordinate system, respectively.
To simplify the calculation, (20) can be obtained by the Fourier expansion.
Where, zy represents the number of stator teeth, Gy0 and Gyn represent the Fourier expansion coefficients, and the expression is:
Combining (1), (2), (4), (12), (20) and (21), the analytical expression for cogging torque in yaw is given.
Where, φa and φb are the longitudes of the left and right edges of the magnetic poles, and R3 and R2 are the radii of the inner and outer sphere of the air gap.
The cogging torque Tcogy in yaw is related to the distributions of Br2(θz, φz) and D2(δy, θz). Br2(θz, φz) is related to the rotor magnetic poles, with a period of 2p = 2. D2(δy,θz) is related to the stator teeth, with a period of zy = 2. Br(θz,φz) is a series of cosine waves with a period of 2kp in the direction of θz, when it is expanded by the spherical harmonic function. D2(δy,θz) is a series of cosine waves with period nzy, when it is expanded by Fourier series expansion. Thus Br2(θz, φz) and D2(δy, θz) can generate cogging torque only when 2kp = nzy(k, zy are positive integers). Becausethe cogging torque is solved using the fundamental wave component of the air gap radial magnetic flux density in the θz direction, it can get k = 1, which results in n = 1. The cogging torque model in yaw in this paper is based on the fundamental waves of Br2(θz, φz) and D2(δy, θz).
FEA validation of the analytical cogging torque model
The analytical model is compared with the FEA results to verify the accuracy of the analytical model of the cogging torque. The simulation setup information table is shown in Table 2.
PMSpM with SMCM core simulation model parameters.
The analytical results and FEA results are shown in Fig. 10. The amplitudes of rotation and yaw cogging torque in FEA are 0.3384N·m and 0.3142N·m. The rotation cogging torque is a sinusoidal waveform with a cycle of 45°, and the yaw cogging torque is a central symmetric sinusoidal waveform centered at δy = 0°. When the yaw angle is greater than 25°, the error between the analytical result and simulated result of yaw cogging torque is relatively large. That is caused by two reasons. Firstly, the magnetic field at the end of the PMSpM is complex, but the effective air gap length function is simplified. Secondly, it only considers the fundamental component of the air gap magnetic flux density and the fundamental component of the Fourier decomposition of effective air gap length function, without adding actual harmonics.

Comparison of analytical model and FEA of cogging torque. (a) Cogging torque in rotation (b) Cogging torque in yaw.
The relative error is used to assess the accuracy of the analytical calculations of the rotation and yaw cogging torque, and the relative error calculation formulation is as follows:
Where, TrFEM and TyFEM are the finite element simulation values, Tcogr and Tcogy are the analytical values, ur and uy are the average relative errors between the analytical model and the FEA results of the rotation cogging torque and yaw cogging torque, and N pole is the number of numerical points.
The magnitude and average relative error are shown in Table 3, and the errors are within the allowable range of engineering.
Analysis of cogging torque error
The effect of motor parameters on cogging torque in analytical model
The constraint relationship between physical quantities and the structural parameters of the spherical motor is established by the analytical model, which can easily analyze the influence of the structural parameters of the motor and has guiding significance for the structural optimization of the motor. Without changing the overall structure of the spherical motor with SMCM core, analyze the relationship between the permanent magnet thickness hm, air gap length g, stator slot opening angle φ0 and the cogging torque in the analytical.
The values of motor parameters hm, g and φ0 are changed in the analytical model, and hm is designed to be a step of 0.5 mm with a variation range of 2mm-4 mm, g is designed to be a step of 0.2 mm with a variation range of 2.1mm-2.9 mm, and φ0 is designed to be a step of 2° with a variation range of 16.5°-24.5°. Through analytical calculation, the results are shown in Fig. 11.

The effect of motor parameters on cogging torque. (a) Rotation cogging torque (b) Yaw cogging torque.
In the above figure, the size and color of the circles indicate the rotation and yaw cogging torque, respectively. When the thickness of the permanent magnet hm increases, the cogging torque will increase, and the rate of the cogging torque increase is uniform; when the air gap length g increases, the cogging torque will decrease, and the rate of the cogging torque decrease is also uniform; when the opening angle of the stator slot φ0 increases, the rotation cogging torque will increase, and the rate is slow, and the yaw cogging torque is almost unaffected.
According to the effect of the structural parameters of the motor on the cogging torque, the weakening of the cogging torque can be considered from the aspects of decreasing the thickness of the permanent magnets, increasing the air gap length, and decreasing the opening angle of the stator slot.
The air gap magnetic flux density will increase with the increase of permanent magnet thickness, but there will be a saturation point. The increase of air gap length will make the air gap magnetic flux density decrease, but too small air gap length requires high requirements for machining and assembly process. Based on the above analysis, a set of optimal design parameter combinations are selected as hm = 2 mm, g = 2.9 mm, φ0 = 16.5°. The results of the cogging torque analysis before and after the optimization are compared, as shown in Fig. 12.

Comparison of analytical model and FEA for cogging torque. (a) Rotation cogging torque (b) Yaw cogging torque.
As shown in the above figure, the magnitudes of the analytical results of the rotation cogging torque before and after optimization are 0.3157N·m and 0.1272N·m, respectively, which is weakened by 59.71%. The magnitude of the analytical results of the yaw cogging torque are 0.3204N·m and 0.1462N·m, respectively, which is weakened by 54.37%. The relationship between the structural parameters and the cogging torque can be quickly and accurately reflected by the analytical model. A lot of time is saved compared with the FEA, and the foundation for the structural optimization of the PMSpM with SMCM core is laid by the analytical model of the cogging torque.
Experimental validations
Experimental measurements were conducted on the rotation and yaw cogging torque to verify the correctness of the cogging torque analytical model. The torque measurement platform is shown in Fig. 13. When measuring the rotation torque, the sensor support plate is fixed in the XOZ plane, and the rotation torque is applied to the pressure sensor through the torque output guide shaft and the horizontal output rod. When measuring the yaw torque, the sensor support plate moves in the YOZ plane through the base slide to follow the translation of the horizontal output rod, thus obtaining the measured value of yaw torque. During the experiment, the rotor of the motor was made to rotate and yaw in the planned direction by an external force, so as to get the values of the cogging torque in rotation and yaw at the set measurement nodes.

Torque measurement platform of the PMSpM with SMCM core.
The experimental data of the rotation cogging torque and yaw cogging torque are obtained with a measurement step of 5°, and the analyzed results and experimentally measured waveforms are shown in Fig. 14.

Experimental and analytical results of cogging torque. (a) Rotation cogging torque (b) Yaw cogging torque.
It can be seen that, the analytical model and experimental measurement amplitude of the rotation cogging torque of the PMSpM with SMCM core are 0.3157N·m and 0.3308N·m, respectively, and the analytical model and experimental measurement amplitude of the yaw cogging torque are 0.3204N·m and 0.3150N·m, respectively. The rotation cogging torque is a periodical variation with a period of 45°. The experimental results are consistent with the analytical analysis. When the rotor rotates from the initial position δr = 0° to the positive direction, it will be subjected to the action of the negative direction of the cogging torque, which hinders the rotation motion. It is in the unstable equilibrium state when the rotor rotates to δr = 22.5°. The yaw cogging torque is a centrosymmetric change, and the center of symmetry is δy = 0°. When the rotor is yawing from the initial position δy = 0° to the positive direction, it will be acted by the cogging torque in the negative direction to hinder the yawing motion. On the contrary, it holds true. Neglecting factors such as friction of the support structure, the experimental data of the rotation and yaw cogging torque are in good agreement with the analytical results.
Equation (24) is utilized to calculate the relative error between the experimental measurements and the analytical results, and the relative error of the rotation cogging torque and yaw cogging torque data is shown in Fig. 15.

Relative error between the experimental measurements and the analytical results. (a) Rotation cogging torque (b) Yaw cogging torque.
Where, TAna is the analytical result, and TExp is the experimental result.
From Fig. 15, it can be seen that the average values of the relative errors between the experimental and analytical results of the rotation and yaw cogging torque are 6.09% and 7.56%, respectively. Relatively large errors manifest in the vicinity of 0 N·m, and this portion of the relative error fails to measure the overall accuracy level. Therefore, the error data in this part is disregarded. Given the objective existence of mechanical errors sensor measurement errors and other errors in the experimental measuring device, relative errors are within acceptable limits.
Conclusion
Firstly, in this paper, the analytical models of the rotation and yaw cogging torque for the double-layer eight-pole PMSpM with SMCM core are derived by using the Fourier expansion method and the virtual work method. Moreover, the models are verified through finite element analysis. Then, the relationships between the permanent magnet thickness hm, air gap length g, stator slot opening angle φ0 and the cogging torque of the motor are discussed based on the analytical model. Finally, the analytical model of cogging torque is verified by experiments. The research work on cogging torque in this paper lays a theoretical foundation for the structural optimization design of the PMSpM with iron core.
Footnotes
Acknowledgements
This work was supported by the Department of National Natural Science Foundation of China (52377065).
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
