A motion control method of multi-freedom magnetic suspension turntable based on FPGA
By equating the permanent magnets and coils of the magnetic levitation turntable to magnetic charges and current nodes, and using FPGA to perform numerical calculations and construct a magnetic model, the problem of low calculation accuracy and efficiency of the traditional magnetic levitation system has been solved, and high-precision multi-degrees of freedom have been achieved. Motion control and real-time control at fast sampling rates.
Patent Information
- Application Number
- CN202110960917.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional magnetic levitation system has low accuracy and efficiency when calculating magnetic force and magnetic moment, and it is difficult to meet the design needs of real-time controllers, especially the motion positioning requirements under multiple degrees of freedom and high-frequency sampling rates.
The permanent magnet of the magnetic levitation turntable is equivalent to several magnetic charge nodes, and the current carrying area of the runway coil is equivalent to the current node. The FPGA is used to configure the numerical calculation of the interaction between the magnetic charge node and the current node, build a magnetic model, and use PID control The principle implements the inverse model method to drive current for closed-loop control.
It improves the positioning accuracy and control performance of the magnetic levitation turntable, realizes efficient calculation of multi-degree-of-freedom magnetic forces and torques, is suitable for complex fast dynamics systems, and meets real-time control requirements under fast sampling frequencies.
Smart Images

Figure CN113726222B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of magnetic suspension, and in particular relates to a multi-freedom magnetic suspension turntable motion control method based on FPGA. Background Art
[0002] Magnetic levitation technology has the characteristics of non-contact, pollution-free, multi-degree-of-freedom and long stroke, which can achieve excellent performance for many motion systems, such as precise positioning, manipulation, suspension, and tactile interaction. For decades, the study of magnetic levitation has attracted the attention of many researchers, and various magnetic levitation motion systems have been proposed. Generally, these magnetic levitation motion systems are implemented using Lorentz force or electromagnetic force and dynamic magnet design. Coil design is proposed for applications with different requirements. In addition, the motion range of magnetic levitation systems extends from short strokes of translational and rotational axes to infinite strokes. At present, many commercial finite element software have given general solutions for the output magnetic force and magnetic torque of traditional rotary or planar motors, but when it is used to solve the output magnetic force of magnetic levitation motion actuators, it is usually necessary to calculate the three-dimensional magnetic field model, and its calculation accuracy and efficiency will be greatly reduced, which is not conducive to the design of real-time controllers.
[0003] In order to calculate the output magnetic force and magnetic torque of the magnetic levitation motion actuator, the spatial magnetic field distribution excited by the permanent magnet array in the motor system is the basis for calculating the magnetic force and magnetic torque. The general expression of the spatial magnetic field can be obtained with the help of Maxwell's equations. However, as a general means of solving differential equations, harmonic analysis requires the distribution of permanent magnets to satisfy spatial periodicity. However, many permanent magnet arrays do not meet this characteristic, which limits the versatility of harmonic analysis in magnetic levitation systems. In addition, the calculation of magnetic force and magnetic torque requires the use of Lorentz integrals. Since the motion form of the magnetic levitation motion actuator may exist in translation and rotation at the same time, this further increases the difficulty of implementation of the calculation. When the permanent magnet array is modeled using an equivalent magnetic charge model or a vector magnetic potential model, the output magnetic force expression obtained is in the form of multiple integrals, and it is difficult to obtain an analytical expression. At the same time, since multi-degree-of-freedom magnetic levitation is a strict multi-input and multi-output system, it is costly to design a controller that can run in real time directly based on a complex magnetic model, and it is not conducive to the closed-loop magnetic levitation system with a high-frequency sampling rate to perform high-precision motion positioning.
[0004] The traditional magnetic levitation system control method directly based on the magnetic model is difficult to ensure high-precision tracking, and its calculation at a fast sampling frequency is difficult to meet the real-time requirements. Summary of the invention
[0005] In view of the problems existing in the background technology, the present invention provides a multi-freedom magnetic suspension turntable motion control method based on FPGA.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solution: a multi-freedom magnetic suspension turntable motion control method based on FPGA, comprising the following steps:
[0007] Step 1: The permanent magnet of the magnetic levitation turntable is equivalent to a number of independent magnetic charge nodes, and the current-carrying area of the magnetic levitation turntable runway coil is equivalent to a number of current nodes that do not affect each other;
[0008] Step 2: convert the interaction between the magnetic charge node and the current node to the same coordinate system, and then convert the interaction between the coil and the permanent magnet into the sum of the pairwise interaction between the magnetic charge node and the current node;
[0009] Step 3, by configuring the numerical calculation of the sum of the interaction between the magnetic charge node and the current node through FPGA, the magnetic force model of the magnetic levitation turntable is obtained;
[0010] Step 4: According to the PID control principle, the deviation between the target position and the position of the magnetic levitation turntable is used as input to calculate the magnetic force and magnetic torque required for movement. Combined with the magnetic model of the magnetic levitation turntable, the magnetic force is converted into the driving current required for the turntable movement through the inverse model method to achieve closed-loop control of the magnetic levitation turntable movement.
[0011] In the above-mentioned FPGA-based multi-freedom magnetic suspension turntable motion control method, the implementation of step 1 includes the following steps:
[0012] Step 1.1, the permanent magnet is a rectangular magnet, and the eight vertices of the rectangular body are magnetic charge nodes;
[0013] Step 1.2: The current-carrying area of the runway coil is the two long-side rectangular bodies in the coil, and the current nodes are the nodes distributed according to a certain pattern in the two energized areas.
[0014] In the above-mentioned FPGA-based multi-freedom magnetic suspension turntable motion control method, the implementation of step 2 includes the following steps:
[0015] Step 2.1, magnetic field calculation of charge node;
[0016] The position of the magnetic suspension turntable at time k is p(k)=(x p (k),y p (k),z p (k)) T 、Posture q(k)=(α(k),β(k),γ(k)) T and the size information of the turntable, calculate the magnetic field B(p) generated by each magnetic charge node = (B x ,B y ,B z ) T :
[0017]
[0018] Among them, p c (k)=(x(k),y(k),z(k)) T =f(p(k)) is the position vector of the magnetic charge node with the target position as the origin, which is determined by the position and size of the magnetic levitation turntable, B r is the residual magnetism of the permanent magnet, l is the magnetic charge node number;
[0019] Step 2.2: The current density calculation formula at the current node is:
[0020]
[0021] Where i is the current node number, j is the coil number;
[0022] Step 2.3, calculate the sum of the pairwise actions of the charge nodes and the current nodes;
[0023] The interaction between the charge node and the current node is the vector cross product of the magnetic field and the current density in space, and the expression of the magnetic force and magnetic moment between the nodes is obtained as follows:
[0024]
[0025]
[0026] Step 2.4, the interaction between the coil and the permanent magnet is converted into the calculation of the sum of the pairwise actions of the magnetic charge nodes and the current nodes;
[0027] Step 2.4.1. Convert the interaction between the magnetic charge node and the current node to the same coordinate system for calculation:
[0028]
[0029]
[0030] in,
[0031]
[0032] Step 2.4.2: Convert the interaction between the coil and the permanent magnet into the sum of the pairwise interactions between the magnetic charge nodes and the current nodes:
[0033] The magnetic flux density generated by each magnetic charge node at a single coil node is obtained, and then cross-multiplied with the current density after superposition; the cross-product results of all coil nodes on a single coil are superimposed to obtain the total magnetic force and magnetic torque:
[0034]
[0035]
[0036] Where G represents the number of magnetic charge nodes in the permanent magnet array, N represents the number of current nodes in the coil array, and w i Represents the weight corresponding to the coil node.
[0037] In the above-mentioned FPGA-based multi-freedom magnetic suspension turntable motion control method, the implementation of step 3 includes the following steps:
[0038] Step 3.1: Configure the numerical calculation of the sum of the interaction between the magnetic charge node and the current node through FPGA:
[0039] Assigning a single charge node and current node to one assembly line consumes a total of 2·G·N assembly lines;
[0040] Step 3.2, the magnetic model of the magnetic levitation turntable is:
[0041]
[0042] Where M represents the total number of track coils;
[0043] Step 3.3, distribute the magnetic force and torque of the M runway coils to 2·G·NM production lines to complete the construction of the magnetic model of the magnetic levitation turntable.
[0044] In the above-mentioned FPGA-based multi-freedom magnetic suspension turntable motion control method, the implementation of step 4 includes the following steps:
[0045] Step 4.1, calculation of the magnetic force and magnetic moment required for movement;
[0046] With e(k)=[e x (k)e y (k)e z (k)e α (k)e β (k)e γ (k)] T is the deviation between the target position and the position of the magnetic suspension turntable at time k. According to the PID control principle, the magnetic force and magnetic torque required for movement at time k are:
[0047]
[0048]
[0049] Among them, K x,1 , K x,2 , K x,3 is the PID parameter of translational motion, K α,1 , K α,2 , K α,3, K γ,1 , K γ,2 , K γ,3 is the PID parameter of rotational motion;
[0050] Step 4.2, calculation of the driving current required for movement;
[0051] The magnetic force is converted into the driving current required for the turntable motion by the inverse model method:
[0052]
[0053] Wherein, I(k) is the driving current required for the magnetic levitation turntable to move at time k.
[0054] Compared with the prior art, the beneficial effects of the present invention are as follows: a method for constructing a magnetic model of a magnetic levitation turntable is provided based on the magnetic charge node method. The method has strong versatility and a high parallel structure, and can realize the calculation of magnetic forces and torques of multiple degrees of freedom, thereby achieving the purpose of multi-degree-of-freedom motion of the turntable. A pipeline design scheme of a magnetic model is configured based on FPGA. Under a fast sampling frequency, the proposed decoupling control method has good versatility and can be widely used in fast dynamic systems with complex models, which is conducive to promotion and application. The control method of the present invention improves the positioning accuracy of the magnetic levitation turntable. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 is a flow chart of an embodiment of the present invention;
[0056] Figure 2 This is a mechanical structure diagram of a magnetic suspension turntable according to an embodiment of the present invention;
[0057] Figure 3 This is a schematic diagram of an equivalent magnetic charge node according to an embodiment of the present invention;
[0058] Figure 4 This is a schematic diagram of an equivalent current node according to an embodiment of the present invention;
[0059] Figure 5 A flowchart of a program for modeling the magnetic force and magnetic torque of a magnetic levitation turntable according to an embodiment of the present invention;
[0060] Figure 6 The figure is a schematic diagram of the calculation principle of completing magnetic model calculation using a pipeline architecture according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0063] The present invention will be further described below in conjunction with specific embodiments, but the present invention is not limited thereto.
[0064] In order to solve the problems of low precision and poor real-time performance of traditional magnetic levitation control methods, this embodiment proposes a multi-freedom magnetic levitation turntable motion control method based on FPGA, which is equivalent to the permanent magnet array of the magnetic levitation turntable as a number of independent magnetic charge nodes, the coil array of the magnetic levitation motion actuator as a number of coil nodes in the current-carrying area, and the interaction between the permanent magnet array and the coil array as the sum of the two-way action of the magnetic charge node and the coil node to build a highly parallel magnetic force model, and complete the pipeline configuration of the model based on FPGA, so as to achieve real-time calculation. At the same time, based on the PID control principle, the motion magnetic force is converted into a driving current through the inverse model method to complete the closed-loop control of the magnetic levitation turntable.
[0065] This embodiment is realized by the following technical solution: a multi-freedom magnetic suspension turntable motion control method based on FPGA, such as Figure 1 The specific steps are as follows:
[0066] S1: The permanent magnets of the magnetic levitation turntable are equivalent to a number of independent magnetic charge nodes, and the main current-carrying area of the magnetic levitation turntable runway coil is equivalent to a number of current nodes that do not affect each other;
[0067] S2: Transform the interaction between the magnetic charge nodes and the current nodes into the same coordinate system, and then transform the interaction between the coil and the permanent magnet into the sum of the pairwise interactions between the magnetic charge nodes and the current nodes;
[0068] S3: The magnetic force model of the magnetic levitation turntable is obtained by numerically calculating the sum of the interactions between the magnetic charge node and the current node configured by FPGA;
[0069] S4: According to the PID control principle, the deviation between the target position and the position of the magnetic levitation turntable is used as input to calculate the magnetic force and magnetic torque required for movement. Combined with the magnetic model of the magnetic levitation turntable, the magnetic force is converted into the driving current required for the turntable movement through the inverse model method; thus completing the closed-loop control of the magnetic levitation turntable movement.
[0070] In addition, the permanent magnet in S1 is a rectangular magnet, and the magnetic charge nodes are the eight vertices of the rectangular body; the main current-carrying area of the runway coil is the two long-side rectangular bodies in the coil; and the current nodes are nodes distributed according to a certain pattern in the two energized areas.
[0071] And, the specific steps of S2 implementation are:
[0072] The interaction between the charge node and the current node is:
[0073] The position of the magnetic suspension turntable at time k is p(k) = (x p (k),y p (k),z p (k)) T 、Posture q(k)=(α(k),β(k),γ(k)) T As well as the size information of the turntable, the magnetic field B(p) generated by each magnetic charge node can be calculated. x ,B y ,B z ) T :
[0074]
[0075] Among them, p c (k)=(x(k),y(k),z(k)) T =f(p(k)) is the position vector of the magnetic charge node with the target position as the origin, which is determined by the position and size of the magnetic levitation turntable, B r is the residual magnetism of the permanent magnet, and l is the magnetic charge node number.
[0076] The current density at the current node is:
[0077]
[0078] Where i is the current node number and j is the coil number.
[0079] The interaction between the charge node and the current node is the vector cross product of the magnetic field and the current density in space, and the expression of the magnetic force and magnetic moment between the nodes is obtained as follows:
[0080]
[0081]
[0082] The interaction between the charge node and the current node is transformed into the same coordinate system:
[0083]
[0084]
[0085] in,
[0086]
[0087] The interaction between the coil and the permanent magnet is converted into the sum of the pairwise actions of the magnetic charge nodes and the current nodes:
[0088] The Lorentz force is equal to the cross product of the current density and the magnetic flux density. Since the current in the permanent magnet and the coil can be equivalent to a number of independent magnetic charge nodes and coil nodes, respectively, after obtaining the magnetic flux density generated by each magnetic charge node at a single coil node, it is superimposed and cross-multiplied with the current density. By superimposing the cross product results of all coil nodes on a single coil, the total magnetic force and magnetic torque can be obtained:
[0089]
[0090]
[0091] Where G represents the number of magnetic charge nodes in the permanent magnet array, N represents the number of current nodes in the coil array, and w i Represents the weight corresponding to the coil node.
[0092] And, the specific steps of S3 are:
[0093] The numerical calculation of the sum of the interaction between the magnetic charge node and the current node is configured through FPGA:
[0094] Considering that the expressions of the coil and permanent magnet array established by S2 have good parallelism, the computational code designed using the hardware description language can be run on a high-performance FPGA platform, combined with a parallel pipeline computing architecture to complete real-time computing. Specifically, a single magnetic charge node and current node are assigned to one pipeline, consuming a total of 2·G·N pipelines.
[0095] The magnetic model of the magnetic levitation turntable is:
[0096]
[0097] Where M represents the total number of runway coils. The magnetic force and torque of the M runway coils are further distributed to 2 G N M production lines to complete the construction of the magnetic model of the maglev turntable.
[0098] And, the specific implementation steps of S4 are:
[0099] The deviation between the target position and the magnetic levitation turntable position is used as input to calculate the magnetic force and magnetic torque required for movement:
[0100] With e(k)=[ex (k)e y (k)e z (k)e α (k)e β (k)e γ (k) T is the deviation between the target position and the position of the magnetic suspension turntable at time k. According to the PID control principle, the magnetic force and magnetic torque required for movement at time k are:
[0101]
[0102]
[0103] Among them, K x,1 , K x,2 , K x,3 is the PID parameter of translational motion, K α,1 , K α,2 , K α,3 , K γ,1 , K γ,2 , K γ,3 is the PID parameter of rotational motion;
[0104] The driving current required to convert the magnetic force into the turntable motion by the inverse model method is:
[0105]
[0106] Where I(k) is the driving current required for the magnetic levitation turntable to move at time k, thereby completing the closed-loop control of the system.
[0107] When implementing it, Figure 2 The figure shows the mechanical structure of the magnetic levitation turntable. Figure 3 Shown is a schematic diagram of equivalent magnetic charge nodes;
[0108] The permanent magnet is equivalent to a number of independent magnetic charge nodes. If the permanent magnet is a rectangular magnet, the magnetic charge nodes are the 8 vertices of the rectangular body.
[0109] like Figure 4 The equivalent current node schematic diagram shown in the figure equates the main current-carrying area of the runway coil to a number of current nodes that do not affect each other. The main current-carrying area of the runway coil is the two long-side rectangular bodies in the coil, and the current nodes are nodes distributed according to a certain pattern in the two energized areas.
[0110] The interaction between the charge node and the current node is:
[0111] The position of the magnetic suspension turntable at time k is p(k) = (x p (k),y p (k),z p(k)) T 、Posture q(k)=(α(k),β(k),γ(k)) T As well as the size information of the turntable, the magnetic field B(p) generated by each magnetic charge node can be calculated. x ,B y ,B z ) T :
[0112]
[0113] Among them, p c (k)=(x(k),y(k),z(k)) T =f(p(k)) is the position vector of the magnetic charge node with the target position as the origin, which is determined by the position and size of the magnetic levitation turntable, B r is the residual magnetism of the permanent magnet, and l is the magnetic charge node number.
[0114] The current density at the current node is:
[0115]
[0116] Where i is the current node number and j is the coil number.
[0117] The interaction between the magnetic charge node and the current node is the vector cross product of the magnetic field and the current density in space, and the expression of the magnetic force and magnetic moment between the nodes is obtained as follows:
[0118]
[0119]
[0120] Transform the interaction between the charge node and the current node to the same coordinate system:
[0121]
[0122]
[0123] in,
[0124]
[0125] The interaction between the coil and the permanent magnet is converted into the sum of the pairwise actions of the magnetic charge nodes and the current nodes:
[0126] The Lorentz force is equal to the cross product of the current density and the magnetic flux density. Since the current in the permanent magnet and the coil can be equivalent to a number of independent magnetic charge nodes and coil nodes, respectively, after obtaining the magnetic flux density generated by each magnetic charge node at a single coil node, it is superimposed and cross-multiplied with the current density. By superimposing the cross product results of all coil nodes on a single coil, the total magnetic force and magnetic torque can be obtained:
[0127]
[0128]
[0129] Where G represents the number of magnetic charge nodes in the permanent magnet array, N represents the number of current nodes in the coil array, and w i Represents the weight corresponding to the coil node.
[0130] The numerical calculation of the sum of the interaction between the magnetic charge node and the current node is configured through FPGA, such as Figure 5 The program flow chart for modeling the magnetic force and magnetic torque of the magnetic levitation turntable shown in the figure has good parallelism in consideration of the good parallelism of the expressions of the coil and the permanent magnet array established by S2. The calculation code designed by the hardware description language can be run on a high-performance FPGA platform, and the real-time operation can be completed in combination with the parallel pipeline computing architecture. Specifically, a single magnetic charge node and a current node are allocated to one pipeline, and a total of 2·G·N pipelines are consumed.
[0131] The magnetic model of the magnetic levitation turntable is:
[0132]
[0133] Where M represents the total number of runway coils. The magnetic force and torque of the M runway coils are further distributed to 2 G N M production lines to complete the construction of the magnetic model of the maglev turntable. Figure 6 The figure shows a schematic diagram of the calculation principle of using a pipeline architecture to complete the magnetic model calculation;
[0134] The deviation between the target position and the magnetic levitation turntable position is used as input to calculate the magnetic force and magnetic torque required for movement:
[0135] With e(k)=[e x (k)e y (k)e z (k)e α (k)e β (k)e γ (k)] T is the deviation between the target position and the position of the magnetic suspension turntable at time k. According to the PID control principle, the magnetic force and magnetic torque required for movement at time k are:
[0136]
[0137]
[0138] Among them, K x,1 , K x,2 , K x,3 is the PID parameter of translational motion, K α,1 , K α,2 , K α,3 , K γ,1 , K γ,2 , K γ,3 is the PID parameter of rotational motion;
[0139] The driving current required to convert the magnetic force into the turntable motion by the inverse model method is:
[0140]
[0141] Where I(k) is the driving current required for the magnetic levitation turntable to move at time k, thereby completing the closed-loop control of the system.
[0142] The method of this embodiment has a more accurate model description and higher computational efficiency. The system has a smaller overshoot when performing step motion on each motion axis. More obviously, the positioning accuracy for a fixed position is also more accurate. The FPGA-based control method proposed in this embodiment has better control performance.
[0143] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the specification of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-freedom magnetic suspension turntable motion control method based on FPGA, Features: The following steps are involved: Step 1: The permanent magnet of the magnetic levitation turntable is equivalent to a number of independent magnetic charge nodes, and the current-carrying area of the magnetic levitation turntable runway coil is equivalent to a number of current nodes that do not affect each other; Step 1.1, the permanent magnet is a rectangular magnet, and the eight vertices of the rectangular body are magnetic charge nodes; Step 1.2: The current-carrying area of the runway coil is the two long-side rectangular bodies in the coil, and the current nodes are the nodes distributed according to a certain pattern in the two energized areas. Step 2: convert the interaction between the magnetic charge node and the current node to the same coordinate system, and then convert the interaction between the coil and the permanent magnet into the sum of the pairwise interaction between the magnetic charge node and the current node; Step 2.1, magnetic field calculation of charge node; The position of the magnetic suspension turntable at time k is p(k)=(x p (k),y p (k),z p (k)) T 、Posture q(k)=(α(k),β(k),γ(k)) T and the size information of the turntable, calculate the magnetic field B(p) generated by each magnetic charge node = (B x ,B y ,B z ) T : Among them, p c (k)=(x(k),y(k),z(k)) T =f(p(k)) is the position vector of the magnetic charge node with the target position as the origin, which is determined by the position and size of the magnetic levitation turntable, B r is the residual magnetism of the permanent magnet, l is the magnetic charge node number; Step 2.2: The current density calculation formula at the current node is: Where i is the current node number, j is the coil number; Step 2.3, calculate the sum of the pairwise actions of the charge nodes and the current nodes; The interaction between the charge node and the current node is the vector cross product of the magnetic field and the current density in space, and the expression of the magnetic force and magnetic moment between the nodes is obtained as follows: Step 2.4, the interaction between the coil and the permanent magnet is converted into the calculation of the sum of the pairwise actions of the magnetic charge nodes and the current nodes; Step 2.4.
1. Convert the interaction between the magnetic charge node and the current node to the same coordinate system for calculation: in, Step 2.4.2: Convert the interaction between the coil and the permanent magnet into the sum of the pairwise interactions between the magnetic charge nodes and the current nodes: The magnetic flux density generated by each magnetic charge node at a single coil node is obtained, and then cross-multiplied with the current density after superposition; the cross-product results of all coil nodes on a single coil are superimposed to obtain the total magnetic force and magnetic torque: Where G represents the number of magnetic charge nodes in the permanent magnet array, N represents the number of current nodes in the coil array, and w i Represents the weight corresponding to the coil node; Step 3, by configuring the numerical calculation of the sum of the interaction between the magnetic charge node and the current node through FPGA, the magnetic force model of the magnetic levitation turntable is obtained; Step 3.1: Configure the numerical calculation of the sum of the interaction between the magnetic charge node and the current node through FPGA: Assigning a single charge node and current node to one assembly line consumes a total of 2·G·N assembly lines; Step 3.2, the magnetic model of the magnetic levitation turntable is: Where M represents the total number of track coils; Step 3.3, distribute the magnetic force and torque of the M runway coils to 2 G N M production lines to complete the construction of the magnetic model of the magnetic levitation turntable; Step 4: According to the PID control principle, the deviation between the target position and the position of the magnetic levitation turntable is used as input to calculate the magnetic force and magnetic torque required for the movement. Combined with the magnetic force model of the magnetic levitation turntable, the magnetic force is converted into the driving current required for the turntable movement through the inverse model method to achieve closed-loop control of the magnetic levitation turntable movement. Step 4.1, calculation of the magnetic force and magnetic moment required for movement; With e(k)=[e x (k) e y (k) e z (k) e α (k) e β (k) e γ (k)] T is the deviation between the target position and the position of the magnetic suspension turntable at time k. According to the PID control principle, the magnetic force and magnetic torque required for movement at time k are: Among them, K x,1 , K x,2 , K x,3 is the PID parameter of translational motion, K α,1 , K α,2 , K α,3 , K γ,1 , K γ,2 , K γ,3 is the PID parameter of rotational motion; Step 4.2, calculation of the driving current required for movement; The magnetic force is converted into the driving current required for the turntable motion by the inverse model method: Wherein, I(k) is the driving current required for the magnetic levitation turntable to move at time k.
