Development of the Electromagnetic Calculation Software Package for a Synchronous Motor Based on the Field-Circuit Combination Algorithm

Nowadays, domestic motor manufacturers often use high-speed circuit and magnetic circuit parameters in engine models. In addition, the calculation accuracy is low and cannot fully meet the requirements of a modern engine design. The field-circuit combination algorithm is based on electric field analysis, which avoids many rough assumptions and empirical formulas; its calculations are more accurate and reliable than traditional algorithms. It is used to analyze and calculate the steady-state operating conditions and characteristics of motors, which can effectively improve the design level of China’s boss synchronous motors. This article mainly introduces software algorithms and auxiliary FDTD methods. In this article, we use the field-circuit coupling algorithm to develop an electromagnetic calculation software package for synchronous motors and establish a mathematical model for the potential field-circuit coupling algorithm. We use the cassette electromagnetic calculation program to solve the model, evaluate the synchronous motor, and use historical data to modify the model and improve the accuracy of the development-state evaluation of the electromagnetic calculation software package for the synchronous motor based on the motor electromagnetic circuit coupling algorithm. The experimental results of this article show that the field circuit combination algorithm increases the development of the electromagnetic calculation software package for synchronous motors by 55% and reduces the false alarm rate and false alarm rate. Finally, by comparing the phases of traditional algorithms, we analyzed the excitation circuit combination algorithm to calculate the parameters and performance of the synchronous motor.


Introduction
1.1. Background and Significance. At present, domestic motor manufacturers often use the method of calculating circuit and magnetic circuit lumped parameters and the numerical calculation method of an electromagnetic field when designing motors [1]. From the perspective of practical application, both of them have certain defects [2,3]. However, the calculation process of the latter is complicated, which is difficult for technicians to understand [4]. Therefore, neither of these two methods can achieve satisfactory results in practical application [5]. When the magnetic field circuit is integrated into the algorithm to analyze the motor parameters and effi-ciency, the calculation software formation is easy to use and can achieve multigroup and multifeature calculations, so that users can select multiple groups of different forms of calculation data and characteristic curve output [6]. Finally, the software package with an accurate algorithm, simple operation, friendly interface, and suitability for domestic motor designers is jointly developed, which will help to improve the current motor design level in China and improve the competitiveness of motor products [7].

Related Work.
Dusek J studied the influence of the slotpole combination on the interturn short-circuit current of fault-tolerant permanent magnet motors [8,9]. The multiobjective genetic algorithm is used to establish a twodimensional subdomain field calculation model, and the design and performance prediction of the FT-PM motor are carried out. The electromagnetic loss of the motor, including iron loss, magnet loss, and winding loss, is calculated systematically by using this analysis tool. In the postprocessing stage, the one-dimensional analysis method is adopted for steering fault analysis [5]. This method calculates the self-induction and mutual induction of fault turns and normal turns according to the fault position, so as to calculate the fault current when the fault position [10] is considered. However, there are some unstable factors in the process of the experiment, resulting in inaccurate experimental results.

Research Innovation
Points. The innovation of this article is the use of a modern computing technology based on the field-road combination calculation method. According to the steady-state electromagnetic ideal straight line and the safety threshold range of the synchronous motor, as a basis for judging the process occurring in the motor, a fieldcircuit combination calculation method is established. The probabilistic representation of the steady-state electromagnetic state of the synchronous motor provides a basis for the design and actual operation of the electromagnetic calculation software package of the synchronous motor.

Development Method of the Electromagnetic
Calculation Software Package for a Synchronous Motor Based on the Circuit Field Combination Algorithm 2.1. Software Algorithm. These algorithms are designed according to the idea of modularity. After the function of each module is realized through programming, it will be packaged into functions and open interfaces for calling. Because the control frequency of the speed loop and the current loop changes, the response value is obtained through Clark transformation and Park change. The current loop frequency is high and the speed loop frequency is low. Therefore, calibration is required to set the meter to a fixed value; when the calculated value is equal to k, m, perform speed control. When the count value is less than m, only the closed loop control of the current is performed. After the control signal is generated, the required tube conduction time can be obtained through the IPM conversion and the space vector calculation module and finally undergo a DSP event. The manager generates the corresponding PWM signal.
2.2. Second-Order FDTD Method. This article chooses the longest wavelength in a specific time period as the target. First of all, since the size change is small compared with the rest of the entire motor, this change will affect the weight and inertia and slightly affect the transportation cost, but this change will affect the electrical conductivity and the impact cannot be ignored. Second, customized technical guidelines for the most expensive car turning lanes depend on driving conditions. Third, the actual gravity and shape of the traction vehicle are very close to a sine wave, which is why the actual fixed gravity is not much different from its value. The high value of the initial wave can be easily obtained from the static torque value, and the average static torque value can be obtained by changing the magnetic force and the rotating side. The magnetic coenergy change of the tooth moment angle θ from 0 to π is where E π and E 0 are the total magnetic coenergy of the motor when the corresponding tooth pitch angles is π and 0, respectively. The increment of the tooth moment angle is expressed in the mechanical angle as In this article, the mathematical field combination circuit model combines their respective field and circuit advantages. The characteristic of this method is to solve the two-way electromagnetic field problem. For the magnetic field problem of the tooth layer unit in the tooth layer range, for the size and material of the normal tooth range layer, the corresponding layer first calculates the magnetic permeability and specific magnetic energy data and then calculates the magnetic field of the tooth layer unit and other parts of the motor. The conductivity forms a nonlinear magnetic network, which can better reflect the electromagnetic process of the motor, and the characteristics of the motor can be calculated by analyzing the magnetic network.

Development Experiment of the Electromagnetic Calculation Software
Package for the Synchronous Motor Based on the Field-Circuit Combination Algorithm

Development of the Electromagnetic Calculation Software
Package for the Synchronous Motor Based on the Field-Circuit Combination Algorithm. In this paper, when one phase is energized and the winding current is 551 A and the initial values of the two sets of tooth layer sizes are selected to optimize the design. The calculation results are shown in Table 1. The initial values are b3 = 0:245 and h3 = 0:148 for the first time. The maximum static torque of the advantage solution obtained is 7518848 kg·cm, the initial value of the second time is b3 = 0:138, h3 = 0:15, the maximum static torque of the advantage solution obtained is 7943068 kg−cm, and the advantage solution is better than the maximum static torque of the original prototype which  Table 1.
As can be seen in Table 1, the measured value of static torque is greater than the calculated value. This is because the calculated value is the maximum value of the fundamental wave and the measured value is the actual maximum value. The relative error between calculation and measurement is 414%, which meets the engineering accuracy requirements.

Modular Design of Control System Software
The traditional flowchart software program is difficult to read, the algorithm is not easy to change, and the portability is poor. Modular software programs can reduce program complexity, can make program design convenient, can clear logical relationships, are convenient when debugging, and are easy to maintain. Each module program performs a specific subtask and combines all modules according to the system modules to perform the tasks required by the entire system. The software modular design based on the field circuit combination algorithm involves two aspects. First is the modular design of the functions experienced by the software module control, and the second is the field circuit hybrid algorithm design. The task software module is a digital control system. According to the software requirements, all the software can be divided into assembly language to modulate and write the system startup, torque control, power stop control, and serial communication programs. The synchronous motor rotation control program calls the subroutines of the sine and cosine values of the rotor feedback angle to obtain the calculated torque winding current value and calls the inverter. The modular data of the control system software is shown in Figure 1.
It can be clearly seen from the form and can be changed, the inverse transformation subroutine is called, the inverse winding subroutine is not called during rotation, and it is predicted that there is a calculation element feedback by the rotor. Resources are managed by controlling interrupts, that is, before using these resources, the relevant interrupts must be first disabled, and then, the corresponding interrupts after the end of use must be enabled. This kind of management mechanism realized by the corresponding control will cause some delay in the realization of the interrupt subroutine service, but this delay can be reduced by designing a reasonable program structure and enabling the corresponding interrupt. Test results show that this management mechanism is feasible and can control the delay time in the engine cycle to ensure the highest execution efficiency of the program.  3 Wireless Communications and Mobile Computing adjusted, but each time the calculation parameters are adjusted, the motor must stop and the system must be a compiled software program. Accurately judge the running performance of the engine and increase the complexity of the test. The research team has developed a basic home computer interface for the BP management system. The results of the bearingless motor test and alignment using this human-computer interaction strategy show that the test and alignment are convenient and simple, the connection is stable and reliable, and the motor suspension has good torque and performance. The model is the original calculation and actual measurement of the machine, and the results of the comparison and analysis of the different size schemes of the tooth layer are shown in Figure 2.

Data
According to the calculation of the actual prototype, the actual measurement, and the comparison of different tooth layer size schemes, the groups are first sorted in proportion, and then, several high-frequency feature words are selected for analysis in each group. The last topic is to get the words, relationships, and meanings of the attributes. This result proves the accuracy of the actual type of calculation and actual measurement, as well as the comparative analysis of various sizes of tooth size schemes. Not only that, even if the proportion is as low as 54%, the results are still satisfactory. It can be seen from the statistical data that the two experimental results show that under different conditions, test plan 1 is better than test plan 2.
It should be noted that as the level of use increases, the efficiency of the system continues to improve. Especially when the completion rate reaches 7%, the performance improvement of the system is very obvious, the performance improvement of the system is very close, and the subsequent completion rate and the result of the system performance improvement are usually the same.

Function Analysis of Electromagnetic Calculation
Software for the Synchronous Motor. Synchronous motor electromagnetic calculation software is mainly used for electromagnetic calculation of multiphase asynchronous motors. The representative values in Table 1 are the results calculated by the software in the table, and the measured values are the actual measurement results under the same parameters. As shown in Table 2.
By analyzing the data in Table 2, it can be determined that the design parameters of each parameter are the same as the estimated value and the purpose of writing the programming software is to quickly and accurately obtain the results, so the results indicate that the mathematical software is running and can be used. After the calculation is completed, when you click the "Exit and Save" button, the

Conclusions
According to the characteristics of the system and the need to complete the task, the overall design of the task. The scheme selection of the entire operating system is carried out, and the parallel control research and design are carried out from the master slave control and parallel control. Based on the determination of the scheme, this paper carried out the hardware circuit design of the system and the interface circuit design of the bus and wrote the main model, as well as the specific operation and model data.
In this paper, some achievements have been made on the research model of the electromagnetic calculation software package for synchronous motors and there are still some shortcomings on the basis of the field circuit combination algorithm. There are still many methods for in-depth research in the development and research of the electromagnetic calculation software package for synchronous motors based on the combined field circuit algorithm. Due to space and personal skills, there are many steps in the decisionmaking process that have not been involved. In addition, from the perspective of theory and simulation, the actual application effect of the improved algorithm can only be compared with traditional models.

Data Availability
The data underlying the results presented in the study are available within the manuscript.