Analysis of the influence of a solenoid magnetic field in the azimuth transmission system

A solenoid magnetic field plays an important role in a non-line-of-sight azimuth transmission system based on polarization-maintaining fiber, which is directly related to the transmission accuracy of azimuth information. This research mainly studies the factors that affect the solenoid magnetic field according to the modulation signal from the direct current to the alternating current, as well as the hollow solenoid. First, the magnetic field components of the static solenoid are derived from the Biot–Savart law by using the uniform cylindrical current equivalent model. Then, the magnetic field of the near axial region is studied from the axial and radial directions, and the feasibility of calculating the magnetic field of the multi-layer solenoid with the superposition principle is verified by measuring the magnetic field of each position on the axis of the solenoid with a Gauss meter. Finally, the alternating electromagnetic field model is established using Maxwell’s equations, and the magnetic and electric fields of the hollow solenoid are further solved. The results show that the magnetic field in the middle part of the magneto-optic glass is more stable, and the magnetic collecting ability of the solenoid is stronger. The magnetic field intensity at the center of the magneto-optic modulation solenoid of the system is the largest, and it decreases with the distance from the center. The alternating electromagnetic field is closely related to frequency. The results provide a reference for the study of the azimuth accuracy of a non-line-of-sight azimuth transmission system.

A non-line-of-sight azimuth transmission system based on polarization-maintaining fiber (PMF), combined with the Marius law for detecting an azimuth signal, can theoretically measure the angle between two or more devices without a mechanical connection for the condition of intervisibility, and this type of system is widely used in many fields, such as the initial alignment of a spacecraft launch, instrument measurement and tunnel engineering 1 .
Magneto-optical modulation technology based on the Faraday effect has attracted increasing attention due to its strong anti-interference ability and high precision. The essence of magneto-optical modulation technology is the use of the Faraday effect to modulate and demodulate a linearly polarized light signal carrying azimuth information to improve the accuracy of azimuth transmission 2 . In the process of magneto-optic modulation, an alternating current signal is used to drive the solenoid magnetic field, which generates the polarization plane polarized light deflection, Faraday rotation, and implementation of the polarized light signal modulation. Therefore, the accuracy of information on the alternating current that is used to drive the solenoid magnetic field to the other side of the transmission is critical. The current analyses of the solenoid magnetic field for most literature references are focused on practical applications [3][4][5][6] . For example, the National University of Defense Technology has built a solenoid magneto controlled thermal protection system for the thermal protection of hypersonic aircraft 7 . Kulikov's team discussed the design of a superconducting shield and carried out experimental and numerical studies on the magnetic field uniformity of a solenoid with superconductivity 8 . Some studies have focused on the distribution of a solenoid magnetic field [9][10][11] , and some studies have briefly analyzed a solenoid magnetic field 12,13 . However, few studies have focused on the paraxial region of the solenoid and the solenoid alternating magnetic field in a non-line-of-sight azimuth transmission system.
In this research, a non-line-of-sight azimuth transmission system based on polarization-maintaining fiber is taken as the object. First, the principle of the system and the factors restricting the accuracy of the azimuth transmission are analyzed and explained. Then, the components of the solenoid magnetic field in the axial, circumferential and radial directions are deduced theoretically. Furthermore, the magnetic field distribution in the paraxial region and the magnetic field characteristics of multi-layer solenoids are analyzed, and the electromagnetic field model of a hollow solenoid driven by alternating current is established based on an equation.  Figure 1 show the schematic diagram of the non-line-of-sight azimuth transmission system based on polarization-maintaining fiber. As shown in Fig. 1, the upper and lower instruments are installed in non-line-of-sight positions. The two instruments are connected by a polarization-maintaining fiber. The laser emitted from the laser in the upper instrument passes through the polarizer and becomes linearly polarized light, and the linearly polarized light carrying the polarizer azimuth information is coupled into the polarization-maintaining fiber and transmitted to the modulator of the lower instrument. When the linearly polarized light passes through the magneto-optic material in the modulator, the polarized light signal is modulated by the alternating magnetic field driven by the modulated signal. The modulated polarized light signal is processed with a polarizer, a focusing mirror, photoelectric conversion, signal detection, and processing. The electric signal corresponding to the azimuth angle is extracted, and the instrument is driven to rotate to complete the azimuth synchronization. The azimuth information transmission is achieved under a non-intervisibility condition 1 .

System principle
Using the Jones matrix transformation with Maxwell's method, the light intensity signal emitted through the magneto-optic modulator is as follows: where I 0 is the light intensity after passing through the polarizer,m f is the magneto-optical modulation,α is the azimuth angle,ω is the frequency of the sinusoidal excitation signal on the modulation coil, and δ is the phase difference caused by the fiber polarization mode birefringence.
With cos(m f sin ωt) and sin(m f sin ωt) , the Bessel functions of the first kind are extended and terms of order higher than the second order are ignored. The electrical signal converted by photoelectricity is where u 0 = ηI 0 /4 , η is the photoelectric conversion coefficient, k , is the magnification factor, and J is the Bessel function of the first kind.
After setting U = 2 · ku 0 · J 1 m f · sin (2α) and V = 2 · ku 0 · J 2 m f · cos (2α) , the mixed signal u is filtered by a direct filter, and the alternating current (AC) signal is obtained: It is found that there are always two extreme points in the AC signal u A , the abscissa of which do not change with the change of the azimuth angle, nor do they change with the change of the phase difference. The sampling integration circuit is used to collect the extreme points u A1 and u A2 : The extreme points u A1 and u A2 are processed by 'subtraction division and summation' to obtain the azimuth angle solution model: It can be seen from Eq. (5) that both the signals u A1 and u A2 acquired by the sampling integral and the solution model itself contain the first-order Bessel function J 1 m f and the second-order Bessel function J 2 m f with an (2) u ≈ ku 0 1 − J 0 m f · cos 2α − 2J 1 m f · sin 2α cos δ sin ωt − 2J 2 m f · cos 2α cos(2ωt) , . www.nature.com/scientificreports/ m f as the parameter. In addition, L is a fixed quantity that can be directly measured. The Verdet constant V and the magnetic induction intensity B of the material are very important, and they are affected by many factors, including the material itself, the solenoid structure, the modulation parameters, and the inevitable temperature rise. They directly affect the output signal, and ultimately affect the measurement of misalignment angle. Moreover, this may cause signal distortion and result in significant deviation in the angle measurement result. The solenoid is electrified to produce a magnetic field, which determines the Faraday rotation angle. According to the Biot-Savart law, the magnetic field can be calculated theoretically when the coil density n and the driving current I are known, but these two parameters are not the only factors that determine and affect the magnetic field. The temperature rise is also one of the factors that increase the impedance, and when there is a medium, the magnetic induction B inside the solenoid varies from medium to medium, and this difference is affected by the size of the external magnetic field, the frequency, and the temperature. Therefore, if the medium near the measurement point is selected for the direct measurement, the results will be slightly different from the real magnetic field intensity. Therefore, the solenoid magnetic field is still a complex problem that cannot be treated simply according to the traditional method. The magnetic induction B is a main parameter that restricts the accuracy.

Analysis of static magnetic field of solenoid
According to the analysis of the factors affecting the accuracy of the magneto-optical modulation described in the system principle, it is known that the solution of the solenoid static magnetic field lies in studying the magnetic field in the solenoid. This section mainly describes the study of the size, direction, and distribution of the magnetic field components. Based on the research for a solenoid static magnetic field, the solenoid magnetic field excited by alternating current can be further studied.
Theoretical derivation of magnetic field. A single-layer solenoid with a thin wire tightly wound is set.
Its radius is a , its length is 2b , the number of turns are N , the current I is applied, and the coil density is defined as n = N/2b . The solenoid center is taken as the origin, and the central axis is taken as the z axis to establish the cylindrical coordinate system (r, ϕ, z) , as shown in Fig. 2. The positive direction of the z axis and the current flow direction of the coil satisfy the right-handed spiral relationship. Considering the close winding, the line current is equivalent to the surface current along the cylindrical surface.
Any point Q a, ϕ ′ , z ′ on the current distribution plane in Fig. 2 and any field point P(r, ϕ, z) in the cylindrical coordinate space are taken. Then, the area current density vector at the source point Q is: The vector path from source point Q to field point P is The module of the vector path is The expression of the vector product of the current density vector and the QP vector path diameter in cylindrical coordinates is where r , ϕ , and z are the unit vectors along the radial, circumferential, and axial directions, respectively, in the cylindrical coordinate system, and θ = ϕ − ϕ ′ . According to the Biot-Savart law, the magnetic induction intensity of the solenoid coil at point P can be calculated as www.nature.com/scientificreports/ where D is the module of the vector path, µ 0 is the vacuum permeability. Based on Eq. (10), the components of the solenoid magnetic field in the three directions can be obtained.

Axial component
The axial component of the solenoid magnetic field is are the first and the third kinds of total elliptic integrals, respectively.

Radial component
The radial component of the solenoid magnetic field is

Circumferential component
The circumferential component of the solenoid magnetic field is It can be seen from Eqs. (11) and (12) that the expressions of the axial component B z and the radial component B r are independent functions of ϕ . so, they can also be written as B z (r, z) and B r (r, z) , which fully reflects the cylindrical symmetry of the solenoid. As can be seen from Eq. (13), there is no circumferential component in the solenoid magnetic field because the model uses a uniform cylindrical surface current equivalent, which is equivalent to the superposition of multiple ring currents in the axial direction. The current has a component along the ϕ circumferential direction but not in the z axial direction. The circumferential magnetic field produced by the axial component of the current should be considered when the pitch of the solenoid is obvious, but the application of this kind of solenoid is rare.
Distribution characteristics of magnetic field in the paraxial region. In addition to calculating the magnitude of the point magnetic field, it is sometimes necessary to consider the distribution of the overall magnetic field in a certain space. For example, in the magneto-optical modulation system, when the magneto-optical material is installed, it is required to be coaxial with the solenoid at first and then at the center of the solenoid. At this time, the light emitted by the laser propagates along the central axis, passes through the magneto-optical glass, and forms a slender optical column with the length of glass. The range of the optical column is the effective area of the interaction between the magnetic field and the light, which is called the paraxial region. When studying the magnetic field in the paraxial region, its size and distribution are analyzed based on the axial and radial components.

Axial magnetic field
Setting r = 0 , based on the symmetry of the solenoid, it can be seen that the radial component of the magnetic field on the axis is zero, that is, B r (0, z) = 0 , and only the axial component is considered. In order to facilitate the analysis, the geometric center of the solenoid is taken as the coordinate origin, that is, z 2 = −z 1 = b , and the axial component of the magnetic field on the central axis is obtained by simplifying Eq. (11) as follows:  (14) is the expression of the magnetic field on the axis of the solenoid, which is distributed on the z-axis, has only z components, and is related to the radius a and half-length b of the solenoid. When b ≫ a is satisfied, Eq. (14) is further reduced to Equation (15) is the expression of the magnetic field of the infinite solenoid. Here, the magnetic field on the central axis is only related to the coil density and the current, and the magnetic field is µ 0 nI . It should be noted that infinite length does not exist, but for a long straight solenoid with b > 10a , it is very convenient to analyze the magnetic field with infinite length.
For the convenience of discussion, the aspect ratio m is defined as m = b/a . The current I = 2A , coil density n = 1000 , solenoid length 2b = 10 cm and radius a = 0.5 cm , 1.0 cm , 2.0 cm , and 4.0 cm are taken, and r = 0 is set. The size and distribution of B z are shown in Fig. 3.
It can be seen from Fig. 3 that when the solenoid length b is constant, the axial magnetic field B z inside the solenoid increases with the decrease of the radius a , while the magnetic field outside the solenoid decreases. The smaller the radius a , the more stable the magnetic field in the middle section (−L/2 < z < L/2) of the magnetooptical glass. However, the attenuation of the magnetic field outside the tube is faster. This shows that the larger the ratio of length to diameter m , the stronger the magnetic concentrating ability of the solenoid, and the better the uniformity of the internal magnetic field. The uniformity here can be explained by the fact that the size of the magnetic field is almost constant in the range −L/2 < z < L/2 , indicating that the uniformity is better. L is the length of the magneto-optical medium.

Radial magnetic field
The radius of the solenoid a = 1 cm , the half-length b = 5 cm , the coil density n = 1000 , the current I = 2 A , and the components z 1 and z 2 of Eq. (12) with −b and b are taken separately. The different r(r < a) values are taken, and get the radial components of the magnetic field at different distances from the axis in the z direction are obtained, as shown in Fig. 3.
As can be seen from Fig. 4, when r = 0 , the component B r on the central axis is zero. When r is not equal to zero, there is a component B r , and within the radius of the solenoid, the radial component B r increases with the increase of the distance r . The distribution characteristics in the z direction are as follows. With the increase of the z coordinates, the B r value first increases from zero and then decreases to zero, and there is a maximum at both ends of the solenoid z = ±b , but the value of B r is much smaller than that of B z , especially for the range of the inner middle section (−L/2 < z < L/2) of the solenoid, and the component B r is almost zero.
It can be concluded that the radial component of the magnetic field is often neglected and only the axial component is considered in the analysis of the magnetic field in the solenoid. This conclusion can bring great convenience to the actual analysis and calculation, and the error caused by the simplification can be ignored.
Magnetic field of multi-layer solenoid. In practical applications, in order to increase the magnetic field and obtain a larger Faraday rotation angle, multi-layer solenoids are often used without increasing the output power of the modulation signal and the volume of the solenoid. According to the Biot-Savart law and the magnetic field superposition principle, the magnetic field of a multi-layer solenoid can be regarded as the superposition of the magnetic fields of multiple single-layer solenoids, but the thickness of the multi-layer coil cannot be ignored here. so, the equivalent radius should be introduced to replace the previous radius.
Here, only the axial component of the magnetic field on the central axis is discussed. From Eq. (14), it can be obtained that the magnetic field in the multi-layer solenoid is where N c is the number of layers of the coil, and a d = (a 2 − a 1 )/ ln(a 2 /a 1 ) is the equivalent radius, where a 1 is the inner diameter of the coil, and a 2 is the outer diameter of the coil. In fact, the magnetic field of a multi-layer solenoid is similar to that of a single-layer solenoid. For the analysis of the magnetic field near the axis, there is only a multiple relationship.
In "System principle", the magneto-optical modulation system introduced in the principle of the system uses a multi-layer solenoid, and its basic parameters are: solenoid length 2b = 10 cm , coil inner diameter a 1 = 3.5 cm , outer diameter a 2 = 4.0 cm , number of layers N c = 5 , and coil density n = 1000 . The signal generator is connected to the power amplifier to output direct current (DC) excitation; the excitation voltage is 5 V , and the magnetic field of each position on the solenoid axis is measured with a Gauss meter, in order to ensure the accuracy of measurement and positioning, the wooden ruler is used for accurate measurement, as shown in Table 1.
The position in Table 1 represents the distance between the measuring point and the center of solenoid, and positive and negative represents that the measuring position is on both sides and symmetrical about the center. Measurement 1, 2 and 3 represent three rounds of measurement. The order of measurement points is from zero to the right (positive direction) until the coordinate is the position 13 cm , and then from the negative direction of zero. The specific location and value of measurement as shown in Table 1. Finally, the average of the three measurements is taken as the final result of the measurement.
According to Eq. (16) and the data in Table 1, the calculation is as shown in Fig. 5. The solid blue line in Fig. 5 represents the curve obtained from the theoretical model, and the small red triangle is the measured value of several points in Table 1. By observing the data and the numerical curves in the table, it can be seen that the magnetic field intensity at the center is the largest. As the distance from the center increases, the magnetic field becomes smaller. When the position is z = ±5 cm at both ends of the solenoid, the magnetic field amplitude is almost half of the central value, and when the position is z = ±15 cm at the end of the solenoid, the magnetic field is almost zero. The measured data points are in good agreement with the theoretical curve, which shows that it is feasible to use this method to calculate the magnetic field of multi-layer solenoid.
Therefore, without considering other factors, the single-layer solenoid can usually be studied first, and then, the magnetic field of the multi-layer solenoid can be calculated with the superposition principle and the equivalent radius method, which can simplify the solution of the magnetic field and is suitable for most cases.

Analysis of solenoid alternating magnetic field
In the process of magneto-optical modulation, the current signal supplied to the solenoid coil is an AC signal, usually a sinusoidal signal. The magnetic field generated by the coil excited by the AC signal is called a timevarying electromagnetic field or an alternating electromagnetic field. The research on the alternating electromagnetic field of a solenoid is the basis for solving the magnetic field in a solenoid.  where B and E represent the magnetic field and electric field of the solenoid, respectively, B r and B z are the radial and axial components of the magnetic field, respectively, E ϕ is the circumferential component of the electric field, z is the coordinate of the central axis, r is the distance to the central axis, and t is the time variable. The Maxwell's equations describe the relationship between the spatially time-varying electromagnetic fields, satisfying the following differential form: where J is the current density, ρ is the charge density, D = ε 0 E is the potential shift vector, ε 0 is the vacuum dielectric constant, B = µ 0 H , and µ 0 is the vacuum permeability.
For the region J = 0 and ρ = 0 inside the solenoid (r < a) , the electromagnetic field expression is replaced with Maxwell's equations, and the relationship between the components of the magnetic field and the electric field is as follows: Equations (19-21) are the electromagnetic field relationships in vacuum. Theoretically, they can be used to obtain the full space solution of magnetic field or electric field.
For the practice of magneto-optical modulation, the placement of the magneto-optical glass indicates that the magnetic field inside the solenoid is only effective in the magneto-optical medium region, so, the following is simplified as the solution of the electromagnetic field in the paraxial region. According to the conclusion drawn in "Distribution characteristics of magnetic field in the paraxial region", the magnetic field component B r in the near axial region can be ignored in the analysis of B z . By setting B r = 0 , and by combining Eqs. (20) and (21), the following expressions can be obtained where A and C are the integral constants to be solved, J 0 (k 0 r) is the first kind of zero-order Bessel function, and N 0 (k 0 r) is the second kind of zero-order Bessel function.
The values of the constants A and C are determined, and the relationship with the size of the magnetic field is examined when ω → 0 . Because the relationship B z (ω → 0) = AJ 0 (k 0 r → 0) + CN 0 (k 0 r → 0) = B 0 , J 0 (k 0 r → 0) = 1 and N 0 (k 0 r → 0) → −∞ , so, A = B 0 , C = 0. Therefore, where B 0 is the magnetic field inside the solenoid when excitation is provided by a DC electric signal.
Similarly, the solution of the circumferential electric field inside the solenoid is obtained with Eq. (23) where A ′ and C ′ are integral constants, J 1 (k 0 r) is a first-order Bessel function of the first kind, and N 1 (k 0 r) is a second-order Bessel function of the second kind. Taking the same ω → 0 , here, J 1 (k 0 r → 0) = 0 , N 1 (k 0 r → 0) → −∞ , so, C ′ = 0 . The value of A ′ can be determined with the following relationship: A ′ = icA is obtained with Eqs. (25-27), and c is the speed of light. Hence, the electric field is expressed as Equations (25) and (28) are the expressions of the AC electromagnetic field inside the hollow solenoid, and these expressions have the same sinusoidal variation form as the exciting current. It can be seen that the alternating electromagnetic field is closely related to the frequency. The change of frequency will affect the change of the numerical value, and this change will in turn be affected by the position. The relationship between the electromagnetic field amplitude and frequency is shown in Fig. 6. Figure 6 shows the frequency dependence of the amplitude of the alternating electromagnetic field in the solenoid. It can be seen from Fig. 6a that when the AC frequency is less than 100 MHz , the amplitude of the AC (24) B z (r) = AJ 0 (k 0 r) + CN 0 (k 0 r), (28) E ϕ (r, t) = icB 0 J 1 (k 0 r) · e −iωt . www.nature.com/scientificreports/ magnetic field hardly changes, because the additional magnetic field excited by the low frequency AC electric field is very weak. When the frequency is high, the amplitude attenuation is obvious, and the magnetic field excited by the high-frequency AC electric field cannot be ignored. Compared with the two curves, the amplitude of the axial magnetic field represented by the curves decays with the increase of the frequency, but the magnetic field far away from the axis (r = 2 cm) decays faster, indicating that the magnetic field closer to the center is less susceptible to the change of frequency. It can be seen from Fig. 6b that the two curves show an increasing trend from zero, indicating that the alternating magnetic field stimulates the induced electric field, and the electric field amplitude increases with the increase of frequency. Similar to the change of the magnetic field, the electric field far from the axis changes faster, which indicates that the closer the position is to the center, the better the stability of the electromagnetic field.

Analysis of magnetic field influence on azimuth transmission system
It can be seen from the previous analysis that the Verdet constant V and the magnetic induction B of the material are affected by many factors, except for L in the fixed and directly measurable quantity of the modulation m f = 2VBL . As a result, the modulation m f = 2VBL changes, and then, the azimuth calculation model including the modulation m f changes, which affects the accuracy of the non-line-of-sight azimuth transmission system. First, we focus on the Verdet constant of magneto-optical glass. In order to better interpret the essence of the Tb 3 Ga 5 O 12 (TGG) Verdet constant of the magneto-optic glass, the wave-particle duality theory of light is introduced. Light has both wave characteristics and particle characteristics, and the two characteristics are equally significant and exist simultaneously in the propagation process 14 . Based on this idea, considering the fact that the classical theory reflects the wave properties of light, and the electric dipole transition explained by the quantum theory reflects the particle properties of light, the conjecture hypothesis is put forward: the two parts of the effects explained by the classical theory and the quantum theory exist at the same time, acting on the Faraday rotation together. The Faraday effect can be explained in two parts. One part is caused by the volatility of light, which makes the Faraday rotation angle positive, corresponding to the positive component of the Verdet constant. The other part is caused by the particle effect of light, which makes the rotation angle negative. Correspondingly, the Verdet constant component is negative. Therefore, the deviation of the calculation result in the classical theory is not affected by the efficiency equal multiplicative factor but rather derived from the additive component produced by the quantum effect. Based on the above conjecture, the theory of the contribution of wave transition is proposed, that is, the Faraday magneto-optical effect is the result of the interaction of light waves and matter (wave) and the excited transition of the electric dipole (transition). The fluctuation and transition contribute to the Faraday angle at the same time, and the magnitude of the contribution is related to the magnetic properties of the material, the structural properties of the material, the major contributing ions, the wavelength of incident light, and the temperature of the material.
According to the theory of volatility transition contribution, the volatility contribution term of the paramagnetic material magneto-optical glass TGG Verdet constant is: The transitional contribution term of the paramagnetic material magneto-optical glass TGG Verdet constant is: The Verdet constant of the paramagnetic material magneto-optical glass TGG is: The influence of the Verdet constant can be further analyzed according to Eq. (31). This article mainly describes the study of a solenoid magnetic field. According to the research results, combined with the solenoid used in the non-line-of-sight azimuth transmission system, the change results of the magnetic field of the multilayer solenoid described in "Magnetic field of multi-layer solenoid" are selected, and the results of the influence of the magnetic field are substituted into the modulation m f . According to the azimuth misalignment angle model derived from Eq. (5), with the help of the numerical simulation software MATLAB, the azimuth transfer error curve for the change of the internal magnetic field of the multi-layer solenoid is obtained, as shown in Fig. 7.
In Fig. 7, the abscissa is the corresponding position in Fig. 5 of "Magnetic field of multi-layer solenoid" in this paper, that is, the symmetrical position along the central axis −0.13 m ∼ +0.13 m of the solenoid, The ordinate is the azimuth error caused by the magnetic field at different positions of the central axis. It can be seen from Fig. 7 that when the magneto-optical modulator works at room temperature, the azimuth transfer error is symmetrically distributed with the center position of the solenoid containing the magneto-optical medium, the azimuth transfer error of solenoid center position is about 22″. As the position moves slightly left or right along the center, the azimuth transfer error first decreases and then increases, in the position −0.04 m ∼ +0.04 m of the central axis of the solenoid, the azimuth error is within the acceptable range (20″), when the position exceeds 0.04 m and is in −0.08 m ∼ −0.13 m and +0.08 m ∼ +0.13 m , the azimuth error changes dramatically and www.nature.com/scientificreports/ produces the maximum azimuth error. According to the principle derivation and simulation results, the solenoid containing magneto-optical medium seriously restricts the azimuth transmission accuracy of the system. It can be seen from Fig. 5 that the position far away from the center point of the solenoid has a significant attenuation of the magnetic field and a significant increase of the azimuth transfer error.

Conclusion
This paper mainly describes the study of the magnetic field produced by an electrified solenoid and discusses the static and alternating solenoid magnetic fields. First, a solenoid magnetic field excited by direct current is analyzed, the theoretical model of the magnetic field is deduced, and the amplitude and distribution of the magnetic field are analyzed. Then, the distribution characteristics of the magnetic field in the near axis region of solenoid are mainly discussed. Generally, the magnetic field in the near axis region is uniform and along the axial direction. The magnetic field of the multi-layer solenoid can be obtained with the superposition principle. Finally, the solenoid excited by the alternating current is analyzed. Based on Maxwell's equation, the alternating magnetic field model is established. It is pointed out that the amplitude of the magnetic field will have an attenuation effect for high-frequency excitation. The magnetic field characteristics of a hollow solenoid are discussed. For the magnetic field in the solenoid with an alternating current, the following conclusions are drawn: (1) for the magnetic field inside the solenoid not close to the end face, only considering the axial component can bring great convenience for the actual analysis and calculation, and the error can be ignored. (2) The magnetic field in the solenoid is the superposition of a series of additional magnetic fields induced by the induced electric field. The total magnetic field after superposition has the same change rule as the excitation current. (3) Frequency is the main factor that affects the magnetic field. The amplitude of the magnetic field will decrease with the increase of the frequency. For the condition of low frequency (frequency less than 100 MHz ), there is almost no attenuation of the magnetic field amplitude, and it is considered that the magnetic field is uniformly distributed in the radial direction. (4) According to the analysis of system influence, both the Verdet constant of magneto-optical material and the magnetic field of solenoid strictly limit the accuracy of magneto-optical modulator, which further affects the function of magneto-optical modulator in non-line-of-sight azimuth transmission system, resulting in the fluctuation of system accuracy. Therefore, only by fully verifying and optimizing the magneto-optical modulator can the accuracy of non-line-of-sight azimuth transmission system be effectively improved. According to the theoretical derivation and experimental verification, the research results can be used as an effective reference to improve the accuracy of non-line-of-sight azimuth transmission system.