Design and research of magnetic bearing control system based on FPGA

Publisher:sheng44Latest update time:2010-01-14 Source: 西南交通大学Keywords:FPGA Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

0 Introduction

Magnetic bearings are bearings that support rotating bodies completely contactlessly with magnetic force. In a broad sense, they are bearings that can support linear motion objects and bearings that have partial mechanical contact. The working principle is to use the magnetic levitation force generated by magnetic field induction to resist the force generated by the gravity field and the movement of the shaft, suspending the shaft so that the rotor and the bearing do not contact each other.

1 Magnetic bearing control system

The research on magnetic bearing control system has always been a hot spot and difficulty in the research of magnetic bearing technology. The magnetic bearing control system generally includes four parts: non-contact displacement sensor , power amplifier , controller and electromagnetic exciter (i.e. electromagnetic coil and rotating shaft). The structure of the vertical magnetic suspension bearing studied in this paper is shown in Figure 1. For the motor system with vertical structure, the axial bearing mainly bears the dead weight of the rotor itself, which is a unidirectional static load, and its dynamic load is relatively small, so a unilateral working disk electromagnet system can be used. The radial bearing has no static load, but needs to bear bidirectional dynamic load. Therefore, two electromagnets can be designed on each degree of freedom for differential control to generate positive force and negative force to meet the bidirectional change requirements of the dynamic load.

Since the control algorithm is often complex, digital control methods are generally used in the design of magnetic bearing controllers, that is, a control platform based on DSP (Digital Signal Processor ) is established. However, with the development of microelectronics technology, FPGA (Field Programmable Gate Array) is gradually becoming an indispensable component of various electronic products due to its advantages such as good performance, large scale, reprogrammable, and low development investment. Its high-performance parallelism, customization, flexibility, and high cost-effectiveness make FPGA programmable gate array devices one of the preferred devices for realizing high-performance digital signal processing and digital system control.

2 Field Programmable Gate Array (FPGA)

FPGA (Field Programmable Gate Atray) is the abbreviation of Field Programmable Gate Array, which is a type of programmable application-specific integrated circuit (ASIC) (CPLD is also included in the same category). In 1984, Xilinx pioneered the innovative technology of Field Programmable Logic Array (FP-GA), and launched the world's first FPGA chip in 1985. In the development process of more than 20 years, the hardware architecture and software development tools of FPGA have been continuously improved and matured. From the initial 1,200 available gates to hundreds of thousands of available gates in the 1990s, to the current single-chip FPGA chips with millions to tens of millions of gates, Xilinx, Ahera and other world-class manufacturers have brought the integration of FPGA devices to a new level.

This article uses the Spartan-3E Starter Kit Board development board, and the chip uses the XC3S500E chip in the Spartan-3E series of Xilinx. The XC3S500E system gate resources include 1164 configurable units (which can be converted into 4656 chip resources), 4 DCMs, 360K bit block memory, 20 multipliers, and 232 usable IO ports. When designing, you can use Matlab from MathWorks and System Generator from Xilinx to be responsible for system-level design.

Matlab, as an analysis and simulation tool for linear systems, has a wide range of applications in engineering and computational science. Simulink, as a toolbox of Matlab, plays a vital role in the entire digital signal processing (DSP) design. It is an interactive tool that can be used to model, simulate and analyze complex systems. System Generator is a blockset of Xilinx and a plug-in of Simulink, which sets up Xilinx's unique DSP function IP core, as well as basic DSP functions and logic operators, such as FIR (Finite Impulse Response), FFT (Fast Fourier Transform), memory, mathematical functions, converters , delay lines, etc. These pre-defined modules ensure the bit and cycle correctness of FPGA implementation. It can be used to automatically generate VHDL/Verilog language, test vectors and ".do\'' files that can be simulated for ModelSim. In order to obtain the best performance, density and predictability, System Generator will also automatically map specific design modules into highly optimized IP core models. Some modules in XilinxBlockset can be directly mapped to hardware, and some correspond to IP cores. Each of them can change parameters according to design requirements and support double-precision and fixed-point algorithms. This module set is an externally expandable library that uses C++ fixed-point algorithms, so users can create their own Simulink library components based on C++ classes to be treated as black boxes in the design. System Generator, combined with Simulink model tools, can parameterize and optimize algorithms. It can also automatically convert from behavioral-level system models to FPGA implementations, and there is no need for manual resets in the meantime, which greatly saves development time and reduces the probability of errors. Through the software, users can select from the algorithm, performance, energy saving, and silicon area of ​​DSP functions to quickly analyze its computing speed and cost.

3 Magnetic bearing system simulation

The schematic diagram of the structure of a general magnetic bearing system is shown in Figure 1. It can be seen from the figure that the axial magnetic bearing mainly relies on the electromagnetic attraction of the axial electromagnet to the rotor to balance the weight of the rotor itself and constrain the axial movement of the rotor. The axial bearing mainly carries the weight of the rotor itself, which is a unidirectional static load, and its dynamic load is relatively small, so a unilateral working disc electromagnet system can be used. Figure 2 is a simple structural diagram of the axial magnet/thrust disk suspension system conversion. In the figure, x0 is the gap of the axial bearing in the equilibrium position, i0, ic are the bias current and control current of the electromagnet coil respectively, and F is the electromagnetic force generated by the electromagnet on the rotor.

Schematic diagram of the structure of a general magnetic bearing system

Simple structural diagram of axial magnet/thrust disk suspension system conversion

In the simplified model shown in Figure 2, the total suction force between the magnet and the thrust plate is:

formula [page]

Since there is an electromagnetic force F∝i(t)2/x(t)2, where i(t) is the excitation current and x(t) is the corresponding air gap, f=F-mg=0 must be satisfied to make the rotor stably suspended in the equilibrium position. Assuming that the input initial current is i0 and the air gap between the rotor and the electromagnet is x0, if the rotor is treated as a single particle with a total concentrated mass, then when the rotor mass center has an upward offset of X in the Y direction (the rotor only has translation and no interference force exists), the central motion equation of the rotor can be expressed as:

formula

In fact, axial magnets and radial magnets have the same linearized mathematical model, except for the current stiffness and displacement stiffness. Therefore, the same control method can be used for axial and radial directions.

In the analog control system, the most commonly used control of the controller is PID control. Due to its own advantages, PID control is still widely used in industrial production processes. The analog PID controller is mainly composed of three typical links, namely the proportional link (P), the integral link (I), and the differential link (D). According to the mathematical model of the magnetic bearing system mentioned above, the Simulink simulation tool can be used in the Matlab environment to simulate the axial system of the magnetic bearing to observe its output response curve. The simulation data is taken from the actual magnetic bearing experimental device. Since the electromagnetic bearing itself is to be applied to actual production, it is often encountered in the working process. Loading and unloading of axial and radial directions exist in applications such as fans, punching machines and milling machines. The following takes the axial bearing as an example to analyze the impact of loading and unloading on the system. In order to facilitate the comparison between analog and digital, the top-level module shown in Figure 3 can be established first, where the simulation block diagram of the analog control system is shown in Figure 4, and the simulation block diagram of the digital control system is shown in Figure 5.

Top-level modules

Simulation block diagram of analog control system

Simulation block diagram of digital control system

In the simulation of this system, its digital PID is constructed using the blockset provided by Xilinx, as shown in Figure 6.

Digital PID uses the module set provided by Xilinx

In the above simulation, the bias current i0 is 3.3 A (for the convenience of simulation, 3.3 A is taken and expanded by 1000 times), the balance air gap x0 is 1mm, the cross-sectional area S of the magnetic pole is 10500 mm2, the number of turns of the electromagnetic coil is 150 turns, and the vacuum permeability μ0 is 4π×10-7 Vs/Am. In addition, mg=733 N, 1/m=0.013 (for the convenience of simulation, it is expanded by 1000 times), kp=8800, ki=18.5, kd=1000000, kp1=9000, ki1=220000, kd1=50, T=2×10-5. [page]

Loading/unloading can be described by Flux*, which is used to represent step loading and unloading of 400 N at 0.2 s and 0.6 s. The simulation results are shown in Figure 7. The upper part of the obtained suspension air gap waveform is analog control, and the lower part is digital control.

Simulation Results

The current output result is reduced by 1000 times. Figure 8 shows the magnet current curve (unit A), where the actual rated current value is set to 3.3 A. The upper part is analog control and the lower part is digital control.

Magnet current curve

4 Hardware Co-Simulation

Hardware co-simulation means that after simulating the algorithm model designed in the Matlab-Simulink environment, the "System Generator" can combine the actual "Xilinx-FPGA" hardware resources to generate a "hard core" that integrates the algorithm; then download the "hard core" to the FPGA through the FPGA. Finally, with the same signal as input, one signal is connected to the "software algorithm model" and the other signal is connected to the "hard core", and the outputs of both are observed at the same time. If the processing results are consistent, it can be proved that the DSP model designed in the Matlab-Simulink environment is hardware feasible.

After running the co-simulation on the digital control system simulation, a new digital PID module will be generated. Then it will be reconnected to the digital control system simulation block diagram, and the hardware co-simulation system block diagram shown in Figure 9 will be obtained.

Hardware co-simulation system block diagram

Compare the theoretical control of Figure 5 with that of Figure 9, then connect the development board, turn on the power, and run the model for simulation. It can be clearly seen from the simulation waveform that the results of the hardware co-simulation are exactly the same as the theoretical results.

5 Conclusion

This paper uses System Generator to simulate the FPGA-based magnetic bearing control system and downloads it to the FP-GA development board for hardware collaboration. The results show that when loading/reducing a force of 400N, the designed digital PID controller can better control the magnetic bearing system and achieve stable suspension.

Keywords:FPGA Reference address:Design and research of magnetic bearing control system based on FPGA

Previous article:CCD Sensor drive logic design based on PLD
Next article:Software Design of Optical Fiber Pyrometer Based on DSP

Recommended ReadingLatest update time:2024-11-16 16:38

Flash-based FPGA realizes highly secure design
Importance of confidentiality For electronic systems, the confidentiality of FPGA is extremely important. Figure 1 lists two schematic diagrams of system designs. The left one is a system design made in 1995. In this design, ASIC chip is the core and FPGA only plays the role of glue logic; in the same type of syste
[Embedded]
Flash-based FPGA realizes highly secure design
Reconfigurable Technology and Design of Reconfigurable Intelligent Instrument Based on FPGA
Traditional test systems are highly specialized, incompatible, poorly expandable, lack generalization and modularization, and cannot share hardware and software components, which not only makes development efficiency low, but also makes the cost of developing a complex test system high. At present, traditional analy
[Embedded]
Reconfigurable Technology and Design of Reconfigurable Intelligent Instrument Based on FPGA
An innovative FPGA experimental board design based on APA300
Abstract: An innovative FPGA experiment board is designed and implemented based on Actel's Flash FPGA chip APA300. The experiment board includes two interoperable APA300 chips, a variety of peripheral devices and common external device ports, and provides an expansion interface connected to external circuits. It can
[Embedded]
An innovative FPGA experimental board design based on APA300
Design of Adaptive Digital Sensor Based on FPGA
Abstract: The output of high-range acceleration sensor is less than 10 mV under the excitation of small signal. The noise of traditional test system may cover such small voltage signal, so that high-range acceleration sensor cannot test small acceleration signal. To solve this problem, an adaptive digital sensor bas
[Embedded]
Design of Adaptive Digital Sensor Based on FPGA
Design of MAC Controller for Wireless Sensor Network Based on FPGA
   The Media Access Control (MAC) protocol is located between the physical layer and the network layer of the wireless sensor network protocol. It is used to fairly and effectively share the communication medium between sensor nodes. It completes the functions of carrier sense multiple access (CSMA/CA) channel access,
[Microcontroller]
Design of MAC Controller for Wireless Sensor Network Based on FPGA
Infrared Information Data Processing System Based on DSP and FPGA
In modern air combat, optoelectronic countermeasure equipment plays an important role in war. Compared with active detection systems such as radar, infrared detection and tracking systems have the advantages of strong stealth, good anti-interference ability and high degree of miniaturization due to the passive detecti
[Embedded]
Infrared Information Data Processing System Based on DSP and FPGA
Design of FIR extraction filter based on XC2V1000 FPGA
1 Introduction:   Decimation filters are widely used in the field of digital reception and are the core part of digital downconverters. Currently, there are three ways to implement decimation filters: monolithic general-purpose digital filter integrated circuits, DSPs and programmable logic devices. It is convenient t
[Embedded]
Design based on ARM+MCU+CPLD/FPGA
0 Introduction Traditional data acquisition systems generally use single-chip microcomputers, and most systems complete data transmission through the PCI bus. Its disadvantages are poor mathematical computing capabilities; limited by the number of computer slots and interrupt resources; inconvenient to conn
[Microcontroller]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号