Magnetic bearing and motor control method and system for magnetic suspension compressor based on SoC platform

By using the ARM+FPGA heterogeneous platform of the SoC platform in the magnetic levitation centrifugal compressor control system, parallel computing of motor and magnetic bearing is realized, and the problem of power consumption and integration bottleneck of single-core processors is solved, and the control efficiency and real-time are improved sex.

CN115333293BActive Publication Date: 2024-12-03RUINA INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211053389.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-12-03
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

The existing control system of magnetic levitation centrifugal compressors is difficult to meet complex computing needs due to the power consumption and integration bottleneck of single-core processors, resulting in low control real-time and inefficiency.

Method used

The ARM+FPGA heterogeneous platform based on the SoC platform is adopted to control motor current and magnetic bearing current in the FPGA through parallel computing to improve control efficiency, and accelerate data transmission rate and system reliability through internal communication.

Benefits of technology

It significantly shortens the execution time of the current loop, improves the control efficiency and the real-time nature of the system, and enhances the control reliability between the motor and the magnetic bearing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115333293B_ABST
    Figure CN115333293B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for controlling magnetic bearings and motors of a magnetic suspension compressor based on a SoC platform, comprising a first processor and a second processor connected in communication, wherein the first processor comprises a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control, and the second processor comprises a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control. Aiming at the bottlenecks of single-core processors in terms of chip power consumption and integration, an embedded ARM+FPGA heterogeneous platform is adopted, and the motor current controller and the magnetic bearing current controller are placed in the FPGA for parallel operation, which greatly shortens the execution time of the current loop and improves the control efficiency of the entire system. In addition, the internal communication between the motor and the magnetic bearing greatly increases the transmission rate and system reliability compared with the communication between the multi-chip system control circuit boards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electromagnetic bearing and motor control, and in particular to a method and system for controlling a magnetic bearing and a motor of a magnetic suspension compressor based on a SoC platform. Background Art

[0002] The magnetic suspension centrifugal compressor is a high-tech industrial product that integrates mature technologies such as magnetic suspension bearing control system, frequency conversion, high-speed permanent magnet synchronous motor and high-speed impeller. Compared with traditional compressors, it does not require lubrication, has low vibration and low noise, and is particularly suitable for special environments such as high speed, vacuum, and ultra-clean.

[0003] Most electromagnetic bearing control systems are implemented using pure software methods based on MCU or DSP, and some are implemented using pure hardware logic methods based on FPGA. However, these all use single-core processors, which have bottlenecks in chip power consumption and integration, and cannot meet the needs of complex calculations.

[0004] Prior art Chinese patent CN103618484A discloses an integrated control system for a magnetic levitation high-speed motor, which integrates the originally independent magnetic levitation shaft system with the motor inverter and realizes integrated control based on DSP. In this solution, DSP is used as the main control chip and runs in serial mode. Its control real-time performance will be limited by the amount of program. In the integrated control, motor servo control and magnetic levitation bearing control are required, and the amount of program is extremely large. This control method consumes a lot of running time and it is difficult to meet the real-time requirements. In addition to carefully designing the algorithm, the designer must also carefully arrange the structure and operation mode of the program. It is difficult to meet the real-time requirements when the algorithm is relatively complex. In addition, it will also take up a lot of DSP memory space, reducing the control efficiency. Summary of the invention

[0005] In view of the defects of the above-mentioned prior art solutions and to overcome the shortcomings of the existing control methods, the present invention provides a method for integrating magnetic bearings and motors for a magnetically suspended centrifugal compressor based on a SoC (ARM+FPGA) heterogeneous platform, which has flexible control and good real-time performance. The following technical solutions are specifically adopted:

[0006] A magnetic bearing and motor control method for a magnetic suspension compressor based on a SoC platform, the SoC platform comprising a first processor and a second processor in communication connection, the first processor comprising a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control, the second processor comprising a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control, the magnetic bearing and motor integrated control method comprising the following steps:

[0007] Motor speed control steps:

[0008] The motor back electromotive force zero-crossing signal is processed in the first processor to obtain the current motor speed n, and the motor speed controller calculates the expected current value I of the motor. E1 In the second processor, the current motor current value I1 is compared with the motor expected current value I E1 After the difference is made, it is input to the motor current controller, and the three-phase motor PWM control signal P1 is obtained through voltage space vector control, and the motor speed is controlled according to the three-phase motor PWM control signal P1;

[0009] Magnetic bearing control steps:

[0010] In the first processor, the magnetic bearing coil displacement signal is processed to obtain the current magnetic bearing displacement FD0, and the current magnetic bearing displacement FD0 is compared with the magnetic bearing expected displacement FD E After the difference is made, it is input into the magnetic bearing coil displacement controller to obtain the expected current value I of the magnetic bearing coil E2 In the second processor, the current magnetic bearing coil current value I2 is compared with the expected current value I E2 After the difference is made, it is input into the magnetic bearing coil current controller, and after pulse width modulation, the magnetic bearing coil PWM modulation signal P2 is obtained, and the magnetic bearing is suspended according to the magnetic bearing coil PWM modulation signal P2.

[0011] The present invention also provides a magnetic bearing and motor control system for a magnetic suspension compressor, comprising:

[0012] a first processor, the first processor comprising a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control;

[0013] A second processor communicatively connected to the first processor, the second processor comprising a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control;

[0014] Two motor back-EMF zero-crossing signal detection circuits, one for inputting the motor back-EMF zero-crossing signal to the first processor to obtain the current motor speed n; the other for inputting the current motor current value I1 to the second processor; and

[0015] Two magnetic bearing coil displacement detection circuits, one is used to input the magnetic bearing coil displacement signal to the first processor to obtain the current magnetic bearing displacement FD0; the other is used to input the current magnetic bearing coil current value I2 to the second processor.

[0016] It can be seen from the above technical solutions that the present invention addresses the bottlenecks of single-core processors in terms of chip power consumption and integration, adopts an embedded ARM+FPGA heterogeneous platform, and places the motor current controller and the magnetic bearing current controller in the FPGA for parallel calculation, which greatly shortens the execution time of the current loop and improves the control efficiency of the entire system. In addition, the motor and the magnetic bearing communicate internally, which greatly increases the transmission rate and system reliability compared to the communication between the multi-chip system control circuit boards. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flow chart of a method for controlling a magnetic bearing and a motor of a magnetic suspension compressor according to the present invention;

[0018] Figure 2 The figure is a schematic diagram of the structural principle of the magnetic bearing and motor control system of the magnetic levitation compressor of the present invention. DETAILED DESCRIPTION

[0019] A preferred embodiment of the present invention is described in detail below with reference to the accompanying drawings.

[0020] The embedded field has single-core multi-core processors, which are divided into homogeneous multi-core and heterogeneous multi-core according to the on-chip multi-core processor architecture. The SoC platform is a heterogeneous platform. The SoC platform described in the present invention includes a first processor and a second processor that are communicatively connected, the first processor includes a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control, and the second processor includes a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control. The first processor can use a DSP module or an ARM module, and the second processor uses an FPGA module to put the two complex calculation processes of motor current loop control and magnetic bearing current loop control into an FPGA module that can operate in parallel, which greatly shortens the execution time of the current loop and improves the control efficiency of the entire system. In addition, customized function design can also be performed through FPGA.

[0021] In the embodiment of the present invention, a heterogeneous combination of ARM modules and FPGA modules is adopted, such as Figure 1 As shown, the magnetic bearing and motor integrated control method specifically includes the following steps:

[0022] S1, motor speed control steps:

[0023] In the ARM module, the motor back EMF zero-crossing signal is processed to obtain the current motor speed n, and the motor speed controller calculates the expected current value I of the motor. E1 ; In the FPGA module, the current motor current value I1 is compared with the expected motor current value I E1After the difference is made, it is input to the motor current controller, and the three-phase motor PWM control signal P1 is obtained through voltage space vector control, and the motor speed is controlled according to the three-phase motor PWM control signal P1;

[0024] S2, magnetic bearing control steps:

[0025] In the ARM module, the displacement signal of the magnetic bearing coil is processed to obtain the current magnetic bearing displacement FD0, and the current magnetic bearing displacement FD0 is compared with the expected magnetic bearing displacement FD E After the difference is made, it is input into the magnetic bearing coil displacement controller to obtain the expected current value I of the magnetic bearing coil E2 ; In the FPGA module, the current magnetic bearing coil current value I2 is compared with the expected current value I E2 After the difference is made, it is input into the magnetic bearing coil current controller, and after pulse width modulation, the magnetic bearing coil PWM modulation signal P2 is obtained, and the magnetic bearing is suspended according to the magnetic bearing coil PWM modulation signal P2.

[0026] The magnetic bearing coil PWM modulation signal P2 is specifically the PWM modulation signal of the magnetic bearing coil of each degree of freedom; it includes the PWM modulation signals of the front bearing X direction, Y direction; the rear bearing X direction, Y direction; and the axial bearing Z direction.

[0027] The motor speed controller transmits a speed signal and motor fault information to the magnetic bearing coil displacement controller, and the magnetic bearing coil displacement controller transmits a suspension state and bearing fault information to the motor speed controller.

[0028] like Figure 2 As shown, the present invention also provides a magnetic bearing and motor control system for a magnetic levitation compressor, including an ARM module 10 and an FPGA module 20 constituting a SoC platform, as well as two motor back-EMF zero-crossing signal detection circuits and two magnetic bearing coil displacement detection circuits that provide some current parameters. One of the motor back-EMF zero-crossing signal detection circuits 31 is used to input the motor back-EMF zero-crossing signal to the ARM module to obtain the current motor speed n; the other motor back-EMF zero-crossing signal detection circuit 32 is used to input the current motor current value I1 to the FPGA module. One of the magnetic bearing coil displacement detection circuits 41 is used to input the magnetic bearing coil displacement signal to the ARM module to obtain the current magnetic bearing displacement FD0; the other magnetic bearing coil displacement detection circuit 42 is used to input the current magnetic bearing coil current value I2 to the FPGA module.

[0029] The ARM module 10 is responsible for the motor speed closed-loop control and the magnetic bearing displacement closed-loop control, while the motor current loop and the magnetic bearing current loop control parts with high bandwidth requirements are placed in the FPGA module 20 capable of parallel operation.

[0030] The ARM module 10 includes a motor speed controller 11 for closed-loop control of motor speed and a magnetic bearing coil displacement controller 12 for closed-loop control of magnetic bearing displacement. The motor speed closed-loop control of the motor speed controller 11 is specifically as follows: the current motor speed n is obtained by processing the motor back electromotive force zero-crossing signal in the ARM module 10, and the motor speed controller calculates the motor expected current value I E1 .

[0031] The magnetic bearing displacement closed-loop control of the magnetic bearing coil displacement controller 12 is specifically as follows: the magnetic bearing coil displacement signal is processed in the ARM module 10 to obtain the current magnetic bearing displacement FD0, and the current magnetic bearing displacement FD0 is compared with the magnetic bearing desired displacement FD E After the difference is made, it is input to the magnetic bearing coil displacement controller 12 to obtain the expected current value I of the magnetic bearing coil E2 .

[0032] The FPGA module 20 is communicatively connected to the ARM module 10 , and the FPGA module includes a motor current controller 21 for motor current loop control and a magnetic bearing coil current controller 22 for magnetic bearing current loop control.

[0033] The motor current loop control of the motor current controller 21 is specifically as follows:

[0034] In FPGA module 20, the current motor current value I1 is compared with the expected motor current value I E1 After the difference is made, it is input into the motor current controller, and after pulse width modulation, the motor PWM modulation signal P1 is obtained, and the motor speed is controlled according to the motor PWM modulation signal P1.

[0035] The magnetic bearing current loop control of the magnetic bearing coil current controller 22 is specifically as follows:

[0036] In the FPGA module 20, the current magnetic bearing coil current value I2 is compared with the expected current value I E2 After the difference is made, it is input into the magnetic bearing coil current controller, and after pulse width modulation, the magnetic bearing coil PWM modulation signal P2 is obtained, and the magnetic bearing is suspended according to the magnetic bearing coil PWM modulation signal P2.

[0037] The above-described embodiments are merely descriptions of preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A magnetic bearing and motor control method for a magnetic levitation compressor based on a SoC platform, wherein the SoC platform comprises a first processor and a second processor connected in communication, characterized in that: The first processor includes a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control, the second processor includes a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control, and the magnetic bearing and motor integrated control method includes the following steps: Motor speed control steps: The motor back electromotive force zero-crossing signal is processed in the first processor to obtain the current motor speed n, and the motor speed controller calculates the expected current value I of the motor. E1 In the second processor, the current motor current value I1 is compared with the motor expected current value I E1 After the difference is made, it is input to the motor current controller, and the three-phase motor PWM control signal P1 is obtained through voltage space vector control, and the motor speed is controlled according to the three-phase motor PWM control signal P1; Magnetic bearing control steps: In the first processor, the magnetic bearing coil displacement signal is processed to obtain the current magnetic bearing displacement FD0, and the current magnetic bearing displacement FD0 is compared with the magnetic bearing expected displacement FD E After the difference is made, it is input into the magnetic bearing coil displacement controller to obtain the expected current value I of the magnetic bearing coil E2 In the second processor, the current magnetic bearing coil current value I2 is compared with the expected current value I E2 After the difference is made, it is input into the magnetic bearing coil current controller, and after pulse width modulation, the magnetic bearing coil PWM modulation signal P2 is obtained, and the magnetic bearing is suspended according to the magnetic bearing coil PWM modulation signal P2.

2. The magnetic bearing and motor control method for a magnetic levitation compressor according to claim 1, characterized in that: The motor speed controller transmits a speed signal and motor fault information to the magnetic bearing coil displacement controller, and the magnetic bearing coil displacement controller transmits a suspension state and bearing fault information to the motor speed controller.

3. The magnetic bearing and motor control method for a magnetic levitation compressor according to claim 1 or 2, characterized in that: The first processor adopts a DSP module or an ARM module, and the second processor adopts an FPGA module.

4. A magnetic bearing and motor control system for a magnetically suspended compressor using the method of claim 1, characterized in that: include: a first processor, the first processor comprising a motor speed controller for motor speed closed-loop control and a magnetic bearing coil displacement controller for magnetic bearing displacement closed-loop control; A second processor communicatively connected to the first processor, the second processor comprising a motor current controller for motor current loop control and a magnetic bearing coil current controller for magnetic bearing current loop control; Two motor back-EMF zero-crossing signal detection circuits, one for inputting the motor back-EMF zero-crossing signal to the first processor to obtain the current motor speed n; the other for inputting the current motor current value I1 to the second processor; as well as Two magnetic bearing coil displacement detection circuits, one is used to input the magnetic bearing coil displacement signal to the first processor to obtain the current magnetic bearing displacement FD0; the other is used to input the current magnetic bearing coil current value I2 to the second processor.

5. The magnetic bearing and motor control system for a magnetically suspended compressor according to claim 4, characterized in that: The motor speed closed-loop control of the motor speed controller is specifically as follows: The current motor speed n is obtained by processing the motor back electromotive force zero-crossing signal in the first processor, and the motor speed controller calculates the motor expected current value I E1 .

6. The magnetic bearing and motor control system for a magnetically suspended compressor according to claim 4, characterized in that: The motor current loop control of the motor current controller is specifically as follows: In the second processor, the current motor current value I1 is compared with the motor expected current value I E1 After the difference is made, it is input into the motor current controller, and the three-phase motor PWM control signal P1 is obtained through voltage space vector control. The motor speed is controlled according to the three-phase motor PWM control signal P1.

7. The magnetic bearing and motor control system for a magnetically suspended compressor according to claim 4, characterized in that: The magnetic bearing displacement closed-loop control of the magnetic bearing coil displacement controller is specifically as follows: In the first processor, the magnetic bearing coil displacement signal is processed to obtain the current magnetic bearing displacement FD0, and the current magnetic bearing displacement FD0 is compared with the magnetic bearing expected displacement FD E After the difference is made, it is input into the magnetic bearing coil displacement controller to obtain the expected current value I of the magnetic bearing coil E2 .

8. The magnetic bearing and motor control system for a magnetically suspended compressor according to claim 4, characterized in that: The magnetic bearing current loop control of the magnetic bearing coil current controller is specifically as follows: In the second processor, the current magnetic bearing coil current value I2 is compared with the magnetic bearing coil expected current value I E2 After the difference is made, it is input into the magnetic bearing coil current controller, and after pulse width modulation, the magnetic bearing coil PWM modulation signal P2 is obtained, and the magnetic bearing is suspended according to the magnetic bearing coil PWM modulation signal P2.

9. The magnetic bearing and motor control system for a magnetically suspended compressor according to any one of claims 4 to 8, characterized in that: The first processor adopts a DSP module or an ARM module, and the second processor adopts an FPGA module.