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
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
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,
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.
In the simplified model shown in Figure 2, the total suction force between the magnet and the thrust plate is:
[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:
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
In the simulation of this system, its digital PID is constructed using the blockset provided by Xilinx, as shown in Figure 6.
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.
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.
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
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.
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.
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
- Popular Resources
- Popular amplifiers
- Analysis and Implementation of MAC Protocol for Wireless Sensor Networks (by Yang Zhijun, Xie Xianjie, and Ding Hongwei)
- MATLAB and FPGA implementation of wireless communication
- Intelligent computing systems (Chen Yunji, Li Ling, Li Wei, Guo Qi, Du Zidong)
- Summary of non-synthesizable statements in FPGA
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Writing ZigBee Module in IAR
- Is there any software that can quickly derive the equivalent impedance formula for a multi-stage LC series-parallel circuit?
- "Random Talk" about Domestic RISC-V MCU
- When studying the working principle of RCD circuit, what is the energy accumulated in the parasitic inductance?
- There is a spike after the rectifier bridge, which cannot be clamped by a varistor.
- [Chuanglong TL570x-EVM] Solve the problem of domain name ping failure
- 【Silicon Labs BG22-EK4108A Bluetooth Development Evaluation】Part 2: Create a new project and control and print logs through a mobile phone
- The overall architecture of the Weisheng WS51F7030 series
- ESP8266EX——Knowledge Sharing on Clock and RF
- Virtual static random access memory in mobile and portable applications