Magnetic suspension compressor energy feedback method and system, compressor, medium and program product
By collecting real-time bus voltage in the magnetic levitation compressor and converting mechanical energy into electrical energy to supply the bearing controller when the voltage drops, the problem of component damage caused by power failure in the magnetic levitation compressor is solved, achieving stable operation and rapid restart, and avoiding additional power costs.
Patent Information
- Application Number
- CN202510958588.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-10-31
AI Technical Summary
In complex power grid environments, magnetic levitation compressors may experience a three-phase power supply voltage dip leading to a power outage, which in turn causes the magnetic bearing controller to lose power, resulting in dry grinding and damage to parts.
By collecting real-time bus voltage, when it falls below a preset threshold, the system enters energy feedback mode, using the mechanical energy of the motor rotor to convert into electrical energy to supply the voltage controller, which in turn supplies power to the bearing controller, ensuring uninterrupted power. The system then quickly exits energy feedback mode after the voltage recovers.
This avoids the dry grinding of parts in the magnetic levitation compressor caused by power outages, extends the service life of parts, improves operational stability, saves additional UPS power supply costs, and achieves rapid restart and speed recovery without current surge.
Smart Images

Figure CN120868004A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of compressor technology, and in particular to a magnetic levitation compressor energy feedback method, system, compressor, computer-readable storage medium, and program product. Background Technology
[0002] The operation of a magnetic levitation compressor involves three-phase AC power being rectified and then filtered by a DC bus support capacitor to obtain a stable DC voltage. During compressor operation, the inverter absorbs energy from the DC bus capacitor to perform work. However, in certain complex power grid environments, a voltage dip in the three-phase power supply to the magnetic levitation compressor can occur, leading to a sudden power outage. For example, the start-up of a high-power asynchronous motor can cause a voltage dip in the power grid. Since the motor shaft of the magnetic levitation compressor is suspended and supported by magnetic bearings, a power outage of the magnetic bearing controller during operation can cause the motor shaft to lose support, resulting in dry friction between parts, which can even damage critical components in severe cases. Summary of the Invention
[0003] The main purpose of this application is to provide a magnetic levitation compressor energy feedback method, system, compressor, computer-readable storage medium and program product, which aims to ensure that the bearing controller does not lose power after the magnetic levitation compressor is powered off, thereby avoiding dry running.
[0004] To achieve the above objectives, this application proposes an energy feedback method for a magnetic levitation compressor, comprising:
[0005] The compressor's real-time bus voltage is collected. When the real-time bus voltage is lower than a preset cut-in voltage threshold, the compressor is controlled to enter an energy feedback mode. In the energy feedback mode, the compressor's motor is controlled to supply power to a preset voltage controller.
[0006] The preset bus reference voltage and the real-time bus voltage are input to the voltage controller, which controls the voltage controller to output the motor cross-axis current to the compressor bus capacitor to supply power to the bearing controller.
[0007] In one embodiment, prior to the step of controlling the compressor to enter the energy feedback mode, the method further includes:
[0008] Based on the preset software interrupt in the compressor, the voltage value at both ends of the DC bus is collected from the bus capacitor of the compressor to obtain the real-time bus voltage;
[0009] In each software interrupt, the real-time bus voltage is compared with a preset cut-in voltage threshold.
[0010] In one embodiment, the step of outputting the motor quadrature-axis current from the voltage controller to the compressor bus capacitor includes:
[0011] The voltage controller performs feedback control based on the bus reference voltage and the real-time bus voltage to determine the corresponding current reference value;
[0012] The voltage controller outputs a DC motor quadrature-axis current to the inverter, wherein the current value of the motor quadrature-axis current is the current reference value;
[0013] The inverter outputs AC motor cross-axis current to the bus capacitor to supply power to the bearing controller.
[0014] In one embodiment, after the step of controlling the compressor to enter the energy feedback mode, the method further includes:
[0015] Based on the preset software interrupt of the compressor, the voltage value at both ends of the DC bus is collected from the bus capacitor of the compressor to obtain the real-time bus voltage;
[0016] In each software interrupt, it is determined whether the real-time bus voltage is higher than a preset recovery voltage threshold, wherein the recovery voltage threshold is higher than the cut-in voltage threshold;
[0017] If so, control the compressor to exit the energy feedback mode.
[0018] In one embodiment, after the step of controlling the compressor to exit the energy feedback mode, the method further includes:
[0019] Read the real-time motor speed of the compressor and assign the real-time motor speed to the reference speed of the compressor's speed loop controller;
[0020] The speed loop controller performs closed-loop control of the compressor motor speed based on the reference speed.
[0021] Furthermore, to achieve the above objectives, this application also provides a magnetic levitation compressor energy feedback system, which is applied to a compressor and includes:
[0022] An integrated controller is used to acquire the real-time bus voltage of the compressor. When the real-time bus voltage is lower than a preset cut-in voltage threshold, the compressor is controlled to enter an energy feedback mode. In the energy feedback mode, the compressor motor provides electrical energy to a preset voltage controller and inputs the preset bus reference voltage and the real-time bus voltage to the voltage controller.
[0023] The motor is connected to the integrated controller and the voltage controller respectively, and is used to supply power to the voltage controller in energy feedback mode;
[0024] A voltage controller is connected to the integrated controller, the motor, and the bus capacitor respectively. It is used to receive power from the motor and output the motor quadrature-axis current to the bus capacitor according to the preset bus reference voltage and the real-time bus voltage.
[0025] The bus capacitor is connected to the voltage controller and the bearing controller respectively, and is used to supply power to the bearing controller.
[0026] In one embodiment, the magnetic levitation compressor energy feedback system further includes an inverter, which is connected to the voltage controller and the bus capacitor respectively, for receiving the DC form of the motor quadrature-axis current output by the voltage controller and outputting the AC form of the motor quadrature-axis current to the bus capacitor to supply power to the bearing controller.
[0027] In addition, to achieve the above objectives, this application also proposes a compressor comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the magnetic levitation compressor energy feedback method as described above.
[0028] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the magnetic levitation compressor energy feedback method described above.
[0029] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the magnetic levitation compressor energy feedback method described above.
[0030] This application proposes an energy feedback method for a magnetic levitation compressor. The method includes: firstly, acquiring the real-time bus voltage of the compressor; when the real-time bus voltage is lower than a preset cut-in voltage threshold, controlling the compressor to enter an energy feedback mode; in this mode, controlling the compressor motor to supply electrical energy to a preset voltage controller; then, inputting a preset bus reference voltage and the real-time bus voltage to the voltage controller, controlling the voltage controller to output the motor quadrature-axis current to the compressor's bus capacitor to supply power to the bearing controller. In this application's technical solution, the real-time bus voltage and cut-in voltage threshold determine whether a power outage has occurred and whether energy feedback is necessary. After entering the energy feedback mode, the mechanical energy generated by the running motor is converted into electrical energy and supplied to the voltage controller. The voltage controller then outputs motor current to supply power to the bearing controller based on the real-time bus voltage and the bus reference voltage, ensuring that the bearing controller will not experience a power outage. This avoids dry grinding of parts in the magnetic levitation bearing due to power outages, extends the service life of the parts, and improves the operating stability of the compressor. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0032] Figure 1 A schematic flowchart illustrating the energy feedback method for a magnetic levitation compressor provided in this application embodiment;
[0033] Figure 2 This is a schematic diagram of the voltage controller performing feedback control and output current in an embodiment of this application;
[0034] Figure 3 This is a schematic diagram illustrating the entire process of entering and exiting the energy feedback mode in an embodiment of this application;
[0035] Figure 4 This is a schematic diagram illustrating the process of switching the magnetic levitation compressor from energy feedback mode to speed closed-loop operation mode in an embodiment of this application.
[0036] Figure 5 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the energy feedback method of the magnetic levitation compressor in the embodiments of this application.
[0037] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0038] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0039] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0040] A traditional compressor system includes the compressor body, a frequency converter controller, and a magnetic bearing controller. Three-phase AC power is rectified and then filtered by the DC bus support capacitor to obtain a stable DC voltage. During compressor operation, the frequency converter absorbs energy from the DC bus capacitor to perform work. In some workplaces with complex power grid environments, there may be voltage dips or sudden power outages in the three-phase power supply to the compressor. For example, the starting of a high-power asynchronous motor can cause a voltage dip in the power grid. Because the motor shaft of a magnetic levitation compressor is suspended and supported by magnetic bearings, the magnetic bearing controller cannot be de-energized during operation; otherwise, the motor shaft will not be supported, resulting in dry friction, which can seriously damage critical components.
[0041] Therefore, in order to solve the above problems, the magnetic levitation compressor energy feedback method proposed in this application requires that the bearing controller never loses power when the three-phase power supply suddenly fails. It adopts the method of converting the mechanical energy of the rotor rotation into electrical energy (energy feedback), and realizes that the motor can quickly switch into speed closed-loop operation (fast restart) after the voltage drop is restored. The speed is smooth and there is no current impact throughout the process.
[0042] This application provides an energy feedback method for a magnetic levitation compressor, referring to... Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the magnetic levitation compressor energy feedback method of this application. The magnetic levitation compressor energy feedback method includes:
[0043] Step S10: Collect the real-time bus voltage of the compressor. When the real-time bus voltage is lower than the preset cut-in voltage threshold, control the compressor to enter the energy feedback mode. In the energy feedback mode, control the compressor motor to provide power to the preset voltage controller.
[0044] The compressor is a compressor with a magnetic levitation bearing. The real-time bus voltage of the compressor refers to the voltage across the DC bus, reflecting the power supply status of the magnetic levitation bearing controller. For example, the real-time bus voltage remains constant within a certain range when the bearing controller is working normally, but it drops sharply when power is off. Therefore, the real-time bus voltage can be used to determine whether a power outage has occurred.
[0045] Specifically, the cut-in voltage threshold is a pre-set threshold used to determine whether a power outage has occurred. When the real-time bus voltage is lower than the cut-in voltage threshold, a power outage can be confirmed. In the event of a power outage, to ensure the bearing controller remains powered, the compressor enters energy feedback mode. In energy feedback mode, the mechanical energy generated by the continued rotation of the motor rotor is converted into electrical energy, essentially putting the motor into a generator state. This ensures that the bearing controller will not lose power until the motor completely stops rotating.
[0046] It should be noted that before supplying power to the bearing controller, electrical energy is first supplied to the voltage controller, and then the voltage controller performs feedback control to output the corresponding current to supply power to the bearing controller.
[0047] Step S20: Input the preset bus reference voltage and real-time bus voltage to the voltage controller, and control the voltage controller to output the motor quadrature shaft current to the compressor bus capacitor to supply power to the bearing controller.
[0048] In the design of a voltage controller, two variables are typically used: a reference variable and a feedback variable. In this embodiment, the reference variable is a preset bus reference voltage, and the feedback variable is the acquired real-time bus voltage. These two variables are input to the voltage controller, which performs feedback control and outputs a certain value of motor quadrature-axis current to the bus capacitor. The bus capacitor can provide a stable DC voltage to the bearing controller, thus maintaining its operation.
[0049] By employing the above-described energy feedback method for magnetic levitation compressors, the bearing controller remains powered even when the three-phase power supply to the integrated compressor suddenly fails. This is achieved by converting the mechanical energy of the rotating motor rotor into electrical energy, thus realizing the energy feedback function. The technical solution of this application embodiment ensures that the bus capacitor voltage remains stable before the motor stops rotating, preventing the bearing controller from experiencing dry friction of components due to power outages, extending component lifespan, and improving the compressor's operational stability. Furthermore, by using the aforementioned energy feedback measurement, there is no need to configure an additional UPS (Uninterruptible Power Supply) for the bearing controller, saving on UPS power supply costs. The energy feedback mechanism after a power outage ensures that the magnetic levitation bearing remains powered until the motor stabilizes, improving the reliability of the integrated system.
[0050] Furthermore, in one feasible embodiment, prior to the step of controlling the compressor to enter the energy feedback mode, the method may further include:
[0051] Step S11: Based on the preset software interrupt in the compressor, the voltage value at both ends of the DC bus is collected from the bus capacitor of the compressor to obtain the real-time bus voltage.
[0052] Step S12, in each software interrupt, compare the magnitude relationship between the real-time bus voltage and the preset cut-in voltage threshold.
[0053] In the embedded system corresponding to the compressor, the task of collecting the real-time bus voltage can be executed through a preset software interrupt. The software interrupt can be triggered at a preset frequency. After being triggered, it executes the task of collecting the voltage value as described above, and when the real-time bus voltage is lower than the cut-in voltage threshold, it controls the compressor to enter the energy feedback mode and other program tasks. Specifically, the integrated controller of the compressor can directly collect the real-time bus voltage from both ends of the bus capacitor in the software interrupt and record it as Vdc. And further compare the real-time bus voltage Vdc with the cut-in threshold voltage Vdc_th1 of the energy feedback in each software interrupt. When Vdc < Vdc_th1, the program of the software interrupt enters the energy feedback state machine.
[0054] In a feasible embodiment, the step of outputting the motor quadrature-axis current from the voltage controller to the bus capacitor of the compressor may include:
[0055] Step S21, control the voltage controller to perform feedback control based on the bus reference voltage and the real-time bus voltage to determine the corresponding current reference value;
[0056] Step S22, control the voltage controller to output the motor quadrature-axis current in DC form to the inverter, where the current value of the motor quadrature-axis current is the current reference value;
[0057] Step S23, control the inverter to output the motor quadrature-axis current in AC form to the bus capacitor to supply power to the bearing controller.
[0058] It should be noted that the above steps S21 to S23 can also be executed by the program in the software interrupt. Specifically, when the program runs in the energy feedback state machine, set the bus reference voltage as Vdc_ref, and design the voltage controller in combination with the real-time bus voltage Vdc collected in real time. The type of the voltage controller is not limited to only the PID (Proportional Integral Derivative) controller, but can also be a non-linear sliding mode controller, a switching mode hysteresis controller, etc. Any logical controller that can achieve the control purpose is acceptable. The voltage controller can perform feedback control adjustment according to the preset bus reference voltage and the real-time bus voltage. The specific control method depends on the type of the voltage controller and is not limited here.
[0059] After feedback control, the voltage controller outputs a DC current value representing the motor quadrature-axis current, which is the current reference value. Since the compressor is in energy feedback mode, the motor speed is positive and the torque is negative, so the current reference value Iq_ref is also negative. During motor rotation, mechanical energy is converted into electrical energy, which is then supplied to the bearing controller by the voltage controller's output quadrature-axis current, thus preventing power loss to the bearing controller before the motor speed returns to zero.
[0060] In addition, since the voltage controller outputs the motor quadrature-axis current in DC form, an inverter needs to be installed between the voltage controller and the bus capacitor to convert DC to AC to supply power to the bearing controller and maintain its normal operation.
[0061] like Figure 2 As shown, once the voltage controller receives the preset bus reference voltage Vdc_ref and the real-time bus voltage Vdc, it can output the current reference value Iq_ref to the inverter, and then the inverter outputs the processed current to the bus capacitor.
[0062] In one feasible embodiment, after the step of controlling the compressor to enter the energy feedback mode, the method further includes:
[0063] Step S30: Based on the compressor's preset software interrupt, the voltage value at both ends of the DC bus is collected from the compressor's bus capacitor to obtain the real-time bus voltage.
[0064] Step S40: In each software interrupt, determine whether the real-time bus voltage is higher than the preset recovery voltage threshold, wherein the recovery voltage threshold is higher than the cut-in voltage threshold.
[0065] Step S50: If yes, control the compressor to exit the energy feedback mode.
[0066] In addition to providing a method for controlling a compressor to enter energy feedback mode, this application also provides a control method for quickly and smoothly exiting energy feedback mode, allowing the compressor to return to normal operating mode. This is to achieve rapid start-up after an unexpected power outage of the magnetic levitation compressor, with a fast mode switching process that does not cause current surges.
[0067] Specifically, when the compressor is in energy feedback mode, a preset software interrupt collects the real-time bus voltage Vdc from the bus capacitor and determines whether the real-time bus voltage Vdc is higher than the preset recovery voltage threshold Vdc_th2. If the real-time bus voltage is higher than the recovery voltage threshold, it indicates that the power supply to the bearing controller has been restored to normal, and the energy feedback mode can be exited. It should be noted that the recovery voltage threshold Vdc_th2 is higher than the cut-in voltage threshold Vdc_th1, while the absolute value of the current reference value Iq_ref in the aforementioned step S22 is greater than the cut-in voltage threshold Vdc_th1 and less than the recovery voltage threshold Vdc_th2.
[0068] In this embodiment, the three-phase voltage is determined based on the real-time bus voltage and the recovery voltage threshold. After recovery, the energy feedback mode is quickly exited and the system returns to normal mode (i.e., speed closed-loop mode) via a rapid restart, thus achieving a rapid restart. The energy feedback mode and its rapid exit control method in this embodiment effectively solve the problem of long cooling interruptions caused by the motor needing to slow down to zero and then restart after a short-term power outage (e.g., an interruption of several hundred milliseconds) and subsequent voltage recovery.
[0069] For example, to facilitate understanding, the entire process of the compressor entering energy feedback mode via software interrupt control and switching to speed closed-loop mode (i.e., the operating mode under normal power supply) via fast restart mode is explained. Figure 3 As shown, after the software interruption begins, it first checks whether the real-time bus voltage is less than the cut-in voltage threshold (Vdc < Vdc_th1). If not, it maintains the speed closed-loop mode; if so, it enters the energy feedback mode. In the energy feedback mode, it checks whether the real-time bus voltage is greater than the recovery voltage threshold (Vdc > Vdc_th2). If not, it maintains the energy feedback mode; if so, it enters the fast restart mode and controls the compressor to switch to the speed closed-loop mode.
[0070] Furthermore, in one feasible embodiment, after the step of controlling the compressor to exit the energy feedback mode, the method further includes:
[0071] Step S60: Read the real-time motor speed of the compressor and assign the real-time motor speed to the reference speed of the compressor's speed loop controller;
[0072] Step S70: The speed control loop controller performs closed-loop control of the compressor motor speed based on the reference speed.
[0073] To enable the compressor to quickly and smoothly switch from energy feedback mode to speed closed-loop mode, the sensorless motor observer remains operational throughout the energy feedback mode process, accurately monitoring the motor angle and speed at all times. After the compressor exits energy feedback mode, the real-time motor speed W_est collected by the observer is directly assigned to the reference speed W_ref of the compressor's speed loop controller. The speed loop controller is used to control the motor speed of the compressor during normal operation, performing closed-loop feedback control of the compressor speed based on the reference speed and the feedback speed.
[0074] In this embodiment, by providing the real-time motor speed amplitude to the reference speed of the speed loop controller, the speed loop controller can quickly enter the normal speed control state. Under the condition of compressor power flicker, the compressor can realize the rapid restart of the bearing controller and quickly restore the normal speed closed-loop mode. The whole process is shock-free and achieves seamless entry.
[0075] For ease of understanding, the process of a feasible magnetic levitation compressor switching from energy feedback mode to speed closed-loop operation mode is as follows: Figure 4 As shown, firstly, when the real-time bus voltage is greater than Vdc_th2, the rotational speed value W_Est of the sliding diaphragm observer is read, then the speed loop PI (Proportional) controller is reset, W_Est is assigned to the speed loop (equivalent to the speed loop) reference W_ref, and finally the speed closed-loop operation mode is switched.
[0076] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the energy feedback method of the magnetic levitation compressor in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0077] This application also provides a magnetic levitation compressor energy feedback system, which is applied to a compressor to implement the magnetic levitation compressor energy feedback method described in the foregoing embodiments. Specifically, the magnetic levitation compressor energy feedback system includes:
[0078] An integrated controller is used to acquire the real-time bus voltage of the compressor. When the real-time bus voltage is lower than a preset cut-in voltage threshold, the compressor is controlled to enter an energy feedback mode. In the energy feedback mode, the compressor motor provides electrical energy to a preset voltage controller and inputs the preset bus reference voltage and the real-time bus voltage to the voltage controller.
[0079] The motor is connected to the integrated controller and the voltage controller respectively, and is used to supply power to the voltage controller in energy feedback mode;
[0080] A voltage controller is connected to the integrated controller, the motor, and the bus capacitor respectively. It is used to receive power from the motor and output the motor quadrature-axis current to the bus capacitor according to the preset bus reference voltage and the real-time bus voltage.
[0081] The bus capacitor is connected to the voltage controller and the bearing controller respectively, and is used to supply power to the bearing controller.
[0082] The integrated controller includes at least a preset software interrupt. This software interrupt can acquire the voltage value across the DC bus from the compressor's bus capacitor to obtain the real-time bus voltage. Furthermore, in each software interrupt, the real-time bus voltage is compared with a preset cut-in voltage threshold. In energy feedback mode, the software interrupt can also determine whether the real-time bus voltage is higher than a preset recovery voltage threshold, where the recovery voltage threshold is higher than the cut-in voltage threshold. If so, the compressor is controlled to exit energy feedback mode. After the compressor exits energy feedback mode, the software interrupt can enter a fast start mode, specifically by reading the compressor's real-time motor speed and assigning it to the reference speed of the compressor's speed loop controller, so that the speed loop controller can perform closed-loop control of the compressor's motor speed based on the reference speed.
[0083] In one embodiment, the magnetic levitation compressor energy feedback system further includes an inverter, which is connected to the voltage controller and the bus capacitor respectively, for receiving the DC form of the motor quadrature-axis current output by the voltage controller and outputting the AC form of the motor quadrature-axis current to the bus capacitor to supply power to the bearing controller.
[0084] In one embodiment, the magnetic levitation compressor energy feedback system further includes a speed loop controller, which is connected to the integrated controller and the compressor motor respectively. The speed loop controller is used to receive the real-time motor speed sent by the integrated controller, assign the real-time motor speed to a reference speed, and perform closed-loop control of the compressor motor speed according to the reference speed.
[0085] The magnetic levitation compressor energy feedback system provided in this application, employing the magnetic levitation compressor energy feedback method described in the above embodiments, solves the technical problem that a power outage in a magnetic levitation compressor can lead to the motor shaft losing support, resulting in dry friction and damage to parts. Compared with the prior art, the beneficial effects of the magnetic levitation compressor energy feedback system provided in this application are the same as those of the magnetic levitation compressor energy feedback method provided in the above embodiments, and other technical features of this magnetic levitation compressor energy feedback system are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0086] This application provides a compressor, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the magnetic levitation compressor energy feedback method in the above embodiments.
[0087] The following is for reference. Figure 5 It shows a structural schematic diagram of a compressor suitable for implementing the embodiments of this application. Figure 5 The compressor shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0088] like Figure 5 As shown, the compressor may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for compressor operation. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the compressor to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows a compressor with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.
[0089] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0090] The compressor provided in this application employs the energy feedback method of the magnetic levitation compressor in the above embodiments, which can solve the technical problem that a power outage in a magnetic levitation compressor will cause the motor shaft to lose support, resulting in dry friction and damage to parts. Compared with the prior art, the beneficial effects of the compressor provided in this application are the same as those of the energy feedback method of the magnetic levitation compressor provided in the above embodiments, and other technical features of this compressor are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0091] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0092] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0093] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the magnetic levitation compressor energy feedback method in the above embodiments.
[0094] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0095] The aforementioned computer-readable storage medium may be included in the compressor or may exist independently without being assembled into the compressor.
[0096] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the compressor, cause the compressor to: acquire the real-time bus voltage of the compressor; when the real-time bus voltage is lower than a preset cut-in voltage threshold, control the compressor to enter an energy feedback mode; in the energy feedback mode, control the compressor motor to provide electrical energy to a preset voltage controller; input the preset bus reference voltage and the real-time bus voltage to the voltage controller, and control the voltage controller to output the motor quadrature-axis current to the compressor bus capacitor to supply power to the bearing controller.
[0097] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0099] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0100] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described magnetic levitation compressor energy feedback method. This solves the technical problem that a power outage in a magnetic levitation compressor can lead to the motor shaft losing support, resulting in dry friction and damage to parts. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the magnetic levitation compressor energy feedback method provided in the above embodiments, and will not be repeated here.
[0101] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the magnetic levitation compressor energy feedback method as described above.
[0102] The computer program product provided in this application can solve the technical problem that a power outage in a magnetic levitation compressor will cause the motor shaft to lose support, resulting in dry friction and damage to parts. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the energy feedback method for magnetic levitation compressors provided in the above embodiments, and will not be repeated here.
[0103] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for energy feedback in a magnetic levitation compressor, characterized in that, The energy feedback method for the magnetic levitation compressor, applied to compressors, includes: The compressor's real-time bus voltage is collected. When the real-time bus voltage is lower than a preset cut-in voltage threshold, the compressor is controlled to enter an energy feedback mode. In the energy feedback mode, the compressor's motor is controlled to supply power to a preset voltage controller. The preset bus reference voltage and the real-time bus voltage are input to the voltage controller, which controls the voltage controller to output the motor cross-axis current to the compressor bus capacitor to supply power to the bearing controller.
2. The energy feedback method for a magnetic levitation compressor as described in claim 1, characterized in that, Prior to the step of controlling the compressor to enter the energy feedback mode, the method further includes: Based on the preset software interrupt in the compressor, the voltage value at both ends of the DC bus is collected from the bus capacitor of the compressor to obtain the real-time bus voltage; In each software interrupt, the real-time bus voltage is compared with a preset cut-in voltage threshold.
3. The energy feedback method for a magnetic levitation compressor as described in claim 2, characterized in that, The step of controlling the voltage controller to output the motor quadrature-axis current to the compressor bus capacitor includes: The voltage controller performs feedback control based on the bus reference voltage and the real-time bus voltage to determine the corresponding current reference value; The voltage controller outputs a DC motor quadrature-axis current to the inverter, wherein the current value of the motor quadrature-axis current is the current reference value; The inverter outputs AC motor cross-axis current to the bus capacitor to supply power to the bearing controller.
4. The energy feedback method for a magnetic levitation compressor as described in claim 1, characterized in that, After the step of controlling the compressor to enter the energy feedback mode, the method further includes: Based on the preset software interrupt of the compressor, the voltage value at both ends of the DC bus is collected from the bus capacitor of the compressor to obtain the real-time bus voltage; In each software interrupt, it is determined whether the real-time bus voltage is higher than a preset recovery voltage threshold, wherein the recovery voltage threshold is higher than the cut-in voltage threshold; If so, control the compressor to exit the energy feedback mode.
5. The energy feedback method for a magnetic levitation compressor as described in claim 4, characterized in that, After the step of controlling the compressor to exit the energy feedback mode, the method further includes: Read the real-time motor speed of the compressor and assign the real-time motor speed to the reference speed of the compressor's speed loop controller; The speed loop controller performs closed-loop control of the compressor motor speed based on the reference speed.
6. A magnetic levitation compressor energy feedback system, characterized in that, The magnetic levitation compressor energy feedback system is applied to the compressor, and the magnetic levitation compressor energy feedback system includes: An integrated controller is used to acquire the real-time bus voltage of the compressor. When the real-time bus voltage is lower than a preset cut-in voltage threshold, the compressor is controlled to enter an energy feedback mode. In the energy feedback mode, the compressor motor provides electrical energy to a preset voltage controller and inputs the preset bus reference voltage and the real-time bus voltage to the voltage controller. The motor is connected to the integrated controller and the voltage controller respectively, and is used to supply power to the voltage controller in energy feedback mode; A voltage controller is connected to the integrated controller, the motor, and the bus capacitor respectively. It is used to receive power from the motor and output the motor quadrature-axis current to the bus capacitor according to the preset bus reference voltage and the real-time bus voltage. The bus capacitor is connected to the voltage controller and the bearing controller respectively, and is used to supply power to the bearing controller.
7. The magnetic levitation compressor energy feedback system as described in claim 6, characterized in that, The magnetic levitation compressor energy feedback system also includes an inverter, which is connected to the voltage controller and the bus capacitor respectively. The inverter is used to receive the DC motor quadrature-axis current output by the voltage controller and output the AC motor quadrature-axis current to the bus capacitor to supply power to the bearing controller.
8. A compressor, characterized in that, The compressor includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the magnetic levitation compressor energy feedback method as described in any one of claims 1 to 5.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the magnetic levitation compressor energy feedback method as described in any one of claims 1 to 5.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the magnetic levitation compressor energy feedback method as described in any one of claims 1 to 5.