Magnetic bearing system, control method and device thereof, storage medium and program product

By monitoring the duty cycle value of the power amplifier driving PWM signal when the magnetic bearing stator coil current is constant, the two-level modulation method is used to realize temperature detection, which solves the problem of complex and high cost stator coil temperature detection in the existing technology, and achieves a simple and convenient Accurate temperature monitoring and failure prevention.

CN118622847APending Publication Date: 2024-09-10GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410907915.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, a special temperature detection device is needed to detect the temperature of the magnetic bearing stator coil, which is complex in structure and high in cost.

Method used

By monitoring the duty cycle value of the power amplifier driving PWM signal when the stator coil current is constant, the corresponding relationship between the two-level modulation method and the temperature is used to realize temperature detection without the need for additional sensors.

Benefits of technology

The temperature detection method is simplified, the cost is reduced, the accuracy and reliability of detection are improved, and overtemperature and short-circuit faults of the stator coil are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118622847A
    Figure CN118622847A
Patent Text Reader

Abstract

The invention discloses a magnetic bearing system, a control method and device of the magnetic bearing system, a storage medium and a computer program product. Combining the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty ratio value of the driving PWM signal of the power amplifier, and the corresponding relation between the duty ratio value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, and according to the current duty ratio value of the driving PWM signal of the power amplifier, adjusting the temperature of the stator coil according to the current duty ratio value of the driving PWM signal of the power amplifier; and determining the current temperature of the stator coil so as to realize detection of the current temperature of the stator coil. According to the scheme, when the current of the stator coil is the set value, the duty ratio value of the driving PWM signal of the power amplifier is obtained, then the temperature of the stator coil is detected according to the relation between the duty ratio value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil, and the method is simple, convenient and accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of magnetic bearing systems, and specifically relates to a control method, device, magnetic bearing system, storage medium and computer program product of a magnetic bearing system, and more particularly to a method, device, magnetic bearing system, storage medium and computer program product for detecting the temperature of a stator coil of a magnetic bearing without setting a sensor. Background Art

[0002] Magnetic bearings (i.e., electromagnetic bearings) are a new type of bearing that uses electromagnets to generate controllable electromagnetic forces to suspend the rotor for contactless support. The stator of the magnetic bearing is composed of a stator coil wound with enameled wire and silicon steel sheets. The magnetic bearing supplies power to the stator coil wound with enameled wire through a power amplifier. The output current of the power amplifier is superimposed with a high-frequency modulated wave current. These high-frequency currents form eddy current effects in the stator coil to cause it to heat up. The resistance value of the stator coil increases with the increase in temperature. The temperature rise of the stator coil will cause the insulation performance of the enameled wire to decrease, and there is a risk of short circuit in the stator coil, which seriously affects the normal operation of the magnetic bearing. Therefore, it is necessary to detect and control the temperature of the stator coil. However, when detecting the temperature of the stator coil of the magnetic bearing in the related scheme, a special temperature detection device needs to be set up, which is not only complex in structure but also costly.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The object of the present invention is to provide a control method, device, magnetic bearing system, storage medium and computer program product for a magnetic bearing system, so as to solve the problem that in the related scheme, when detecting the temperature of the stator coil of the magnetic bearing, a special temperature detection device needs to be set up, which has a complex structure and high cost. The temperature of the stator coil is detected according to the correspondence between the duty cycle value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil when the current of the stator coil is constant, and the detection method is simple, low-cost and accurate.

[0005] The present invention provides a control method for a magnetic bearing system, wherein the magnetic bearing system comprises a rotor, a stator coil and a control system, wherein a power amplifier in the control system adopts a two-level modulation mode; the control method for the magnetic bearing system comprises: when the current of the stator coil is a set value, pre-determining the corresponding relationship between the duty cycle value of a driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode; when the current of the stator coil is a set value, pre-obtaining the initial temperature of the stator coil, the initial resistance value of the stator coil, and the driving PWM signal of the power amplifier; maximum duty cycle value; after the rotor is suspended, when the current of the stator coil is a set value, obtaining the current duty cycle value of the driving PWM signal of the power amplifier; combining the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode, according to the current duty cycle value of the driving PWM signal of the power amplifier, the current temperature of the stator coil is determined to realize the detection of the current temperature of the stator coil.

[0006] In some embodiments, the power amplifier has a power switch tube device and a diode; wherein the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode is predetermined, including the following formula:

[0007]

[0008] Wherein, q is the duty cycle value of the driving PWM signal of the power amplifier, i is the current of the stator coil, T R is the temperature of the stator coil, T 0 is the initial temperature of the stator coil, R 0 is the initial resistance value of the stator coil, α T0 is the temperature coefficient of the stator coil, U dc is the bus voltage of the power amplifier, K 1 , K 2 All are calculation coefficients.

[0009] In some embodiments, the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier are obtained in advance, including: obtaining the initial temperature of the stator coil; and using the resistance value of the stator coil obtained at the initial temperature of the stator coil as the initial resistance value of the stator coil; obtaining the maximum temperature of the stator coil; and using the duty cycle value of the driving PWM signal of the power amplifier obtained at the maximum temperature of the stator coil as the maximum duty cycle value of the driving PWM signal of the power amplifier.

[0010] In some embodiments, in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier, including: determining whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier; if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier, then based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, the current temperature of the stator coil is calculated according to the current duty cycle value of the driving PWM signal of the power amplifier, and the current temperature of the stator coil is displayed.

[0011] In some embodiments, based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, the current temperature of the stator coil is calculated according to the current duty cycle value of the driving PWM signal of the power amplifier, including: based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, taking the temperature of the stator coil corresponding to the duty cycle value of the driving PWM signal of the power amplifier that is the same as the current duty cycle value of the driving PWM signal of the power amplifier in the correspondence as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier.

[0012] In some embodiments, it also includes: determining whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier; if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is greater than or equal to the maximum duty cycle value of the driving PWM signal of the power amplifier, sending a signal of over-temperature protection of the current temperature of the stator coil to control the rotor to stop floating.

[0013] Matching the above method, the present invention provides a control device for a magnetic bearing system on the other hand. The magnetic bearing system has a rotor, a stator coil and a control system, and the power amplifier in the control system adopts a two-level modulation method; the control device for the magnetic bearing system includes: a control unit, which is configured to pre-determine the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method when the current of the stator coil is a set value; an acquisition unit, which is configured to pre-acquire the initial temperature of the stator coil, the initial resistance value of the stator coil, and the driving PW of the power amplifier when the current of the stator coil is a set value. The acquisition unit is further configured to acquire the current duty cycle value of the driving PWM signal of the power amplifier when the current of the stator coil is a set value after the rotor is suspended; the control unit is further configured to determine the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, so as to detect the current temperature of the stator coil.

[0014] In some embodiments, the power amplifier has a power switch tube device and a diode; wherein the control unit predetermines the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier under the two-level modulation mode and the temperature of the stator coil, including the following formula:

[0015]

[0016] Wherein, q is the duty cycle value of the driving PWM signal of the power amplifier, i is the current of the stator coil, T R is the temperature of the stator coil, T 0 is the initial temperature of the stator coil, R 0 is the initial resistance value of the stator coil, α T0 is the temperature coefficient of the stator coil, Udc is the bus voltage of the power amplifier, K 1 , K 2 All are calculation coefficients.

[0017] In some embodiments, the acquisition unit pre-acquires the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier, including: acquiring the initial temperature of the stator coil; and using the resistance value of the stator coil acquired at the initial temperature of the stator coil as the initial resistance value of the stator coil; acquiring the maximum temperature of the stator coil; and using the duty cycle value of the driving PWM signal of the power amplifier acquired at the maximum temperature of the stator coil as the maximum duty cycle value of the driving PWM signal of the power amplifier.

[0018] In some embodiments, the control unit determines the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, including: determining whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier; if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier, then based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, calculating the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, and displaying the current temperature of the stator coil.

[0019] In some embodiments, the control unit calculates the current temperature of the stator coil based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, according to the current duty cycle value of the driving PWM signal of the power amplifier, including: based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, taking the temperature of the stator coil corresponding to the duty cycle value of the driving PWM signal of the power amplifier that is the same as the current duty cycle value of the driving PWM signal of the power amplifier in the correspondence as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier.

[0020] In some embodiments, the control unit also includes: the control unit is also configured to determine whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier; the control unit is also configured to send a current temperature over-temperature protection signal of the stator coil to control the rotor to stop floating if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is greater than or equal to the maximum duty cycle value of the driving PWM signal of the power amplifier.

[0021] Matching the above-mentioned device, the present invention further provides a magnetic bearing system on the other hand, including: the control device of the magnetic bearing system mentioned above.

[0022] In order to match the above-mentioned magnetic bearing system, the present invention further provides a computer program product on the other hand, including a computer program, which implements the steps of the control method of the magnetic bearing system described above when executed by a processor.

[0023] In accordance with the above method, the present invention provides a storage medium on the other hand, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the control method of the magnetic bearing system described above.

[0024] Therefore, the scheme of the present invention, through the stator coil of the magnetic bearing in the magnetic bearing system and the power amplifier of the two-level modulation method, predetermines the resistance value of the stator coil when the current of the stator coil is a constant value and the temperature of the stator coil is the initial temperature as the initial resistance value, and the duty cycle value of the driving PWM signal of the power amplifier when the temperature of the stator coil is the maximum temperature as the maximum duty cycle value, and takes the initial temperature of the stator coil, the initial resistance value of the stator coil and the maximum duty cycle value of the power amplifier obtained when the current of the stator coil is a constant value as reference values, and sets the maximum duty cycle value of the stator coil in the magnetic bearing system in advance. After the rotor of the magnetic bearing in the bearing system is suspended, the duty cycle value of the driving PWM signal of the power amplifier is determined when the current of the stator coil is a constant value as the current duty cycle value, and the current temperature of the stator coil is determined by using the corresponding relationship between the duty cycle value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil; thus, the temperature of the stator coil is detected according to the corresponding relationship between the duty cycle value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil when the current of the stator coil is constant, and the detection method is simple, low-cost and accurate.

[0025] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

[0026] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic flow chart of an embodiment of a control method for a magnetic bearing system of the present invention;

[0028] Figure 2 It is a flow chart of an embodiment of calculating and displaying the current temperature of the stator coil in the method of the present invention;

[0029] Figure 3 A flow chart of an embodiment of the method of the present invention for performing over-temperature protection on the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier;

[0030] Figure 4 It is a structural schematic diagram of an embodiment of a control device for a magnetic bearing system of the present invention;

[0031] Figure 5 It is a control flow diagram of the magnetic bearing control system;

[0032] Figure 6 It is a schematic diagram of the structure of the H-bridge topology of the power amplifier;

[0033] Figure 7 is a schematic diagram of a current waveform of a two-level power amplifier (i.e., a power amplifier in a two-level modulation mode);

[0034] Figure 8 The figure is a flow chart of the temperature detection and over-temperature protection procedure of the stator coil of the magnetic bearing.

[0035] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:

[0036] 102 - acquisition unit; 104 - control unit. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0038] Considering that when the resistance value of the stator coil of the magnetic bearing increases, in order to keep the current of the stator coil constant, the duty cycle value of the driving PWM signal of the power amplifier needs to be increased to increase the voltage across the stator coil. At the same time, excessive temperature will cause the insulation performance of the enameled wire to decrease, resulting in a short circuit of the stator coil. In order to ensure the normal operation of the magnetic bearing, it is necessary to monitor the temperature of the stator coil.

[0039] When detecting the temperature of the stator coil of the magnetic bearing in the related scheme, a special temperature detection device needs to be set up. For example, the voltage at both ends of the stator coil is measured by a voltage sensor and the current at both ends of the stator coil is measured by a current sensor, and the change in the internal resistance of the stator coil is calculated to obtain the temperature of the stator coil; or a temperature sensor is added to directly measure the temperature of the stator coil. Whether setting a voltage and current sensor or a temperature sensor, there are problems of complex structure and high cost.

[0040] Therefore, the scheme of the present invention provides a control method for a magnetic bearing system, specifically a method for detecting the temperature of the stator coil of the magnetic bearing without setting a sensor. When the current of the stator coil of the magnetic bearing is monitored to be a certain constant value, the duty cycle value of the driving PWM signal of the power amplifier is monitored to estimate the temperature of the stator coil, thereby realizing real-time monitoring of the temperature of the stator coil, and no additional complex and accurate temperature detection circuit needs to be designed. For example, no voltage sensor is needed to measure the voltage across the stator coil. Only contactless and sensorless detection of the temperature of the stator coil can be realized by application software programming based on the original hardware, thereby greatly simplifying the temperature detection method of the stator coil of the magnetic bearing.

[0041] According to an embodiment of the present invention, a control method for a magnetic bearing system is provided. Figure 1 The flowchart of an embodiment of the method of the present invention is shown in FIG. The magnetic bearing system comprises a rotor, a stator coil and a control system, and the power amplifier in the control system adopts a two-level modulation mode. Figure 5 Figure 1 is a schematic diagram of the control flow of the magnetic bearing control system. Figure 5 As shown in FIG. 1 , the control process of the power amplifier of the magnetic bearing includes: using a current sensor to detect the current i of the stator coil and output a voltage u, the controller MCU obtains the driving PWM duty cycle value of the power amplifier according to the voltage u and applies a two-level modulation method, and outputs it to the power amplifier bridge circuit through an isolation circuit to control the power amplifier to output the current i to the stator coil. Figure 5 In the example shown, the temperature rise of the stator coil causes the resistance value of the stator coil to increase. If the current value of the stator coil is kept unchanged, the duty cycle value of the driving PWM signal of the power amplifier needs to be increased to increase the voltage across the stator coil to offset the change in the resistance value of the stator coil. At the same time, there is a certain mathematical relationship between the temperature of the stator coil and the resistance value of the stator coil. Based on this, the solution of the present invention proposes a solution to estimate the temperature of the stator coil by monitoring the duty cycle value of the driving PWM signal when the current of the stator coil is a certain constant value in real time through the controller MCU.

[0042] In the scheme of the present invention, Figure 1 As shown, the control method of the magnetic bearing system includes: steps S110 to S140.

[0043] In step S110, in advance, when the current of the stator coil is a set value, the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil is predetermined.

[0044] In some implementations, the power amplifier has a power switch tube device and a diode. Figure 6 Figure 1 is a schematic diagram of the H-bridge topology of the power amplifier. Figure 6 As shown, the power amplifier H bridge includes: MOS tube S 1 、MOS tube S 2 、Diode D 1 and diode D 2 . Bus voltage V dc As the power supply voltage, the output end of the power supply voltage is connected to the MOS tube S 1 The drain of MOS tube S 1 The source of the stator coil is connected to the diode D 1 The output end of the supply voltage is also connected to the anode of the diode D1 The cathode of MOS tube S 1 The source of the diode D 2 The cathode of diode D 2 The ground GND of the diode D 1 The anode of the MOS tube is connected to 2 The drain of MOS tube S 2 The source of the MOS tube is grounded. The stator coil has an equivalent inductance and an equivalent resistance, and the stator coil is equivalent to an equivalent inductance and an equivalent resistance in series. 1 The gate of MOS tube S 2 The gates are all control terminals, which are used to input driving PWM signals. Figure 7 is a schematic diagram of the current waveform of a two-level power amplifier (i.e., a power amplifier in a two-level modulation mode), Figure 7 Middle,U gs1 For MOS tube S 1 The driving voltage, U gs2 For MOS tube S 2 The two-level modulation method is simple to control and is widely used in power amplifiers of magnetic bearings. Figure 7 As shown, the control scheme of the power amplifier in the three-level modulation mode corresponds to a different driving current waveform from the control scheme of the power amplifier in the two-level modulation mode, and the switching sequence of the power devices is also inconsistent; that is, the control scheme of the power amplifier in the three-level modulation mode and the control scheme of the power amplifier in the two-level modulation mode correspond to different types of bearing controllers.

[0045] Wherein, in step S110, when the current of the stator coil is a set value, the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode is predetermined, including the following formula:

[0046]

[0047] Wherein, q is the duty cycle value of the driving PWM signal of the power amplifier, i is the current of the stator coil, T R is the temperature of the stator coil, T 0 is the initial temperature of the stator coil, R 0 is the initial resistance value of the stator coil, α T0 is the temperature coefficient of the stator coil, U dc is the bus voltage of the power amplifier, K 1 , K 2 are all calculation coefficients. Preferably, K 1 Take 0.5, K 2 Take 2.

[0048] Specifically, by Figure 6 and Figure 7 It can be seen that when the power amplifier adopts a two-level modulation method, power devices such as MOS tube S 1 、MOS tube S 2 The switch state is the same as that of MOS tube S 1 、MOS tube S 2 When the MOS tube S is turned on at the same time, the current of the stator coil increases; 1 、MOS tube S 2 At the same time, the current of the stator coil decreases when it is turned off. The mathematical expression of the current flowing through the stator coil at this time is:

[0049]

[0050]

[0051] Where L is the inductance value of the equivalent inductance of the stator coil, U is dc is the bus voltage, U on is the conduction voltage drop of the power device, U D is the forward voltage drop of the diode, t 1 is the conduction time of the power device, T is the PWM signal period, R is the internal resistance of the stator coil (i.e. the resistance value of the equivalent resistance of the stator coil), and i is the current of the stator coil.

[0052] By solving equation (1) and equation (2) together, we can get the current i of the stator coil (i.e. the average value of the ripple current of the stator coil):

[0053]

[0054] In the formula, i max is the maximum ripple current of the stator coil, i min is the minimum ripple current of the stator coil. Due to the conduction voltage drop U on and the diode’s forward voltage drop U D Compared to bus voltage U dc can be ignored, so the average current of the stator coil can be expressed as:

[0055]

[0056] In the formula, q is the duty cycle of the driving PWM signal. From formula (4), the relationship between the duty cycle of the driving PWM signal of the two-level power amplifier and the current of the stator coil can be obtained as follows:

[0057]

[0058] It can be seen from formula (5) that there is a linear relationship between the duty cycle value of the driving PWM signal of the power amplifier and the resistance value R of the stator coil.

[0059] The relationship between the resistance value and temperature of the stator coil is:

[0060]

[0061] Where, T R is the temperature when the resistance value of the stator coil is R, R is the resistance value of the stator coil, R 0 The temperature of the stator coil is T 0 The resistance value of the stator coil at ℃, α T0 is the temperature coefficient of the stator coil, T 0 is the initial temperature of the stator coil.

[0062] From equations (5) and (6), the relationship between the duty cycle of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil can be obtained as follows:

[0063]

[0064] In the formula, the current i of the stator coil (i.e. the average value of the ripple current of the stator coil) needs to be kept constant, so i, T 0 , R 0 , α T0 , U dc As a constant, from formula (7), if the duty cycle value of the driving PWM signal of the two-level power amplifier is known, the temperature of the stator coil at this time can be obtained by calculation. From formula (7), if the duty cycle value q of the driving PWM signal of the two-level power amplifier is known, the temperature T of the stator coil at this time can be obtained by calculation. R . From formula (7), we can know the mathematical expression of the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil. The scheme of the present invention, by monitoring the current of the stator coil of the magnetic bearing at a certain constant value, by monitoring the duty cycle value of the driving PWM signal of the power amplifier, and applying the corresponding mathematical relationship, realizes the scheme of sensorless detection of the temperature of the stator coil, and realizes the measurement of the temperature of the stator coil without a sensor, and the detection method is simple, low-cost and accurate.

[0065] At step S120, the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier are acquired in advance, also when the current of the stator coil is a set value.

[0066] In some embodiments, the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier are pre-acquired in step S120, that is, the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier are pre-determined when the current of the stator coil is a set value, and the determination process includes any of the following determination situations:

[0067] The first determination scenario: obtaining the initial temperature of the stator coil; and using the resistance value of the stator coil obtained at the initial temperature of the stator coil as the initial resistance value of the stator coil; wherein the set value is such as setting the current x of the stator coil, the initial temperature of the stator coil is such as setting the temperature of the stator coil to 25°C, and the initial resistance value of the stator coil is such as the stator coil resistance value R 0 .

[0068] The second determination scenario: obtaining the maximum temperature of the stator coil; and using the duty cycle value of the driving PWM signal of the power amplifier obtained at the maximum temperature of the stator coil as the maximum duty cycle value of the driving PWM signal of the power amplifier. The maximum temperature of the stator coil is the temperature T of the stator coil. max The maximum duty cycle value of the driving PWM signal of the power amplifier is q max .

[0069] Specifically, Figure 8 The figure is a flow chart of the temperature detection and over-temperature protection procedure of the stator coil of the magnetic bearing. Figure 8 As shown, the temperature detection and over-temperature protection procedure of the stator coil includes: step 1, setting the current of the stator coil to x; under the current x of the stator coil, when the temperature of the stator coil is set to 25°C, the resistance value of the stator coil is R 0 , the duty cycle of the driving PWM signal is q x0 ; Under the current x of the stator coil, set the temperature of the stator coil to T max When the stator coil resistance is R max , the duty cycle of the driving PWM signal is q max , then execute step 2. That is, firstly, the current of the stator coil needs to be measured at a constant value x: (i) When the temperature of the stator coil is 25°C, the resistance value of the stator coil is R 0 And the duty cycle value q of the driving PWM signal x0 ; (ii) Stator coil temperature T max When the stator coil resistance value R max And the duty cycle value q of the driving PWM signal max; Take the above measured data values ​​as reference and write them into the controller MCU program.

[0070] In step S130 , after the rotor is suspended, and also when the current of the stator coil is a set value, the current duty cycle value of the driving PWM signal of the power amplifier is obtained.

[0071] At step S140, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier, in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, so as to detect the current temperature of the stator coil. That is, based on the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier, which are predetermined when the current of the stator coil is a set value, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier, and in combination with the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode, which is predetermined when the current of the stator coil is a set value, and the temperature of the stator coil, so as to detect the current temperature of the stator coil.

[0072] The present invention proposes a scheme for estimating the temperature of the stator coil by monitoring the duty cycle value of the driving PWM signal of the power amplifier when the current of the stator coil of the magnetic bearing is a certain constant value, and realizing real-time monitoring of the temperature of the stator coil. The scheme does not require an additional temperature measurement probe or other high-precision electronic measurement circuits for implementing the temperature estimation method. The scheme of the present invention can be implemented by programming based on the hardware circuit of the magnetic bearing controller itself, which can reduce the complexity and design cost of the hardware design, and at the same time can improve the reliability and accuracy of the temperature measurement of the stator coil.

[0073] In some embodiments, in step S140, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method, including: a process of calculating and displaying the current temperature of the stator coil.

[0074] Combine the following Figure 2The flowchart of an embodiment of calculating and displaying the current temperature of the stator coil in the method of the present invention further illustrates the specific process of calculating and displaying the current temperature of the stator coil in step S140, including: step S210 to step S220.

[0075] Step S210 , determining whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier.

[0076] Step S220: If it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier, then based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode, the current temperature of the stator coil is calculated according to the current duty cycle value of the driving PWM signal of the power amplifier, and the current temperature of the stator coil is displayed (such as sending the current temperature of the stator coil to the host computer so that the real-time temperature of the stator coil detected by the host computer is displayed in real time) to realize the detection of the current temperature of the stator coil.

[0077] In the scheme of the present invention, when the current is monitored in real time by the controller MCU as a certain constant value, the duty cycle value of the driving PWM signal of the power amplifier is monitored to estimate the temperature of the stator coil; in this way, the temperature of the stator coil can be estimated as long as the duty cycle value of the driving PWM signal of the power amplifier is known, and the duty cycle value of the driving PWM signal of the power amplifier can be directly read by the controller MCU program, thereby realizing the measurement of the temperature of the stator coil without a sensor, and the detection method is simple, low-cost and accurate.

[0078] In some embodiments, in step S220, based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, the current temperature of the stator coil is calculated according to the current duty cycle value of the driving PWM signal of the power amplifier, including: based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, taking the temperature of the stator coil corresponding to the duty cycle value of the driving PWM signal of the power amplifier that is the same as the current duty cycle value of the driving PWM signal of the power amplifier in the correspondence as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier. Specifically, when the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier in the two-level modulation mode predetermined when the current of the stator coil is a set value and the temperature of the stator coil includes the following formula, the initial temperature of the stator coil and the initial resistance value of the stator coil predetermined when the current of the stator coil is a set value are substituted into the following formula, and the current duty cycle value of the driving PWM signal of the power amplifier is used as the duty cycle value q of the driving PWM signal of the power amplifier in the following formula, and the temperature T of the stator coil is calculated. R , as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier:

[0079]

[0080] Specifically, Figure 8 As shown, the temperature detection and over-temperature protection program of the stator coil also includes: Step 2, after controlling the rotor to float, the controller MCU directly outputs a driving PWM signal to the power amplifier to control the current of the stator coil. At this time, the controller MCU monitors the duty cycle value q of the output PWM signal when the current of the stator coil is x in real time. x , and the temperature T of the stator coil at this moment is calculated by equation (7) x The stator coil temperature T x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x . At the same time, judge q max >q x Is it true: If it is true, the controller MCU continues to monitor the temperature T of the stator coil in real time x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time.x .

[0081] like Figure 8 The temperature detection and over-temperature protection program of the stator coil shown in the figure includes the operation of estimating the temperature of the stator coil, i.e., the first operation: when the current of the stator coil is a certain constant value (the value can be directly obtained by the controller MCU program), the first step is to obtain the duty cycle value q of the driving PWM signal when the temperature of the stator coil is 25°C. x0 , thereby driving the duty cycle value q of the PWM signal x0 As the reference value, it is estimated that when the duty cycle value q of the driving PWM signal x The stator coil temperature T x The second step is to estimate the stator coil temperature T in real time. x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x , it is possible to detect the temperature of the stator coil without setting a sensor, and the detection method is simple, low-cost and accurate.

[0082] In some implementations, after obtaining the current duty cycle value of the driving PWM signal of the power amplifier, the method further includes: performing over-temperature protection on the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier.

[0083] Combine the following Figure 3 The method of the present invention is shown as a flow chart of an embodiment of over-temperature protection for the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, further illustrating the specific process of over-temperature protection for the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, including: step S310 to step S320.

[0084] Step S310 , determining whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier.

[0085] Step S320: If it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is greater than or equal to the maximum duty cycle value of the driving PWM signal of the power amplifier, a current temperature over-temperature protection signal of the stator coil is sent to control the rotor to stop floating.

[0086] Specifically, Figure 8As shown, the temperature detection and over-temperature protection program of the stator coil also includes: Step 2, after controlling the rotor to float, the controller MCU directly outputs a driving PWM signal to the power amplifier to control the current of the stator coil. At this time, the controller MCU monitors the duty cycle value q of the output PWM signal when the current of the stator coil is x in real time. x , and the temperature T of the stator coil at this moment is calculated by equation (7) x The stator coil temperature T x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x . At the same time, judge q max >q x Is it true: If not, the stator coil over-temperature protection signal is sent to control the rotor to stop floating.

[0087] like Figure 8 The temperature detection and over-temperature protection program of the stator coil shown in FIG. 1 also includes the operation of the temperature over-temperature protection of the stator coil, i.e., the second operation: the first step is to set the temperature of the stator coil to T according to formula (7): max When the duty cycle value of the driving PWM signal is q max Step (2) Based on the first operation, the temperature T of the stator coil at this moment is x Whether the temperature of the stator coil exceeds the set maximum value, i.e., the temperature T max To judge, when the temperature of the stator coil at this moment is T x Exceeding the maximum temperature of the stator coil, that is, the temperature of the stator coil T max In order to protect the safe operation of the device, the magnetic bearing controller issues a command to stop the floating shaft, and the magnetic bearing control system enters a stopped working state, realizing over-temperature protection for the stator coil of the magnetic bearing to ensure the safety of the magnetic bearing operation.

[0088] The solution of the present invention, based on the hardware circuit of the magnetic bearing controller itself, estimates the temperature of the stator coil by programming and monitoring the duty cycle value of the driving PWM signal of the power amplifier when the current value of the stator coil is a certain constant value, thereby realizing real-time monitoring of the temperature of the stator coil. There is no need to add any redundant structure or circuit. The change of the voltage at both ends of the stator coil is obtained through the information of the driving PWM signal of the power amplifier, and the change of the internal resistance of the stator coil is obtained, so as to calculate and estimate the temperature of the stator coil. The solution of the present invention does not need to design additional hardware circuits, simplifies the method of measuring the temperature of the stator coil, and can effectively prevent the problem of abnormal operation of the magnetic bearing caused by overheating and short circuit faults of the stator coil. In addition, the solution of the present invention is applicable to magnetic bearing controllers using pulse width modulation strategies, and is also applicable to the topological structures of power amplifiers of full-bridge and half-bridge circuits, and is also applicable to analog and digital power amplifiers.

[0089] By adopting the technical solution of this embodiment, for the stator coil of the magnetic bearing in the magnetic bearing system and the power amplifier of the two-level modulation method, it is predetermined that when the current of the stator coil is a constant value and the temperature of the stator coil is the initial temperature, the resistance value of the stator coil is used as the initial resistance value, and when the temperature of the stator coil is the maximum temperature, the duty cycle value of the driving PWM signal of the power amplifier is used as the maximum duty cycle value, and the initial temperature of the stator coil, the initial resistance value of the stator coil and the maximum duty cycle value of the power amplifier obtained when the current of the stator coil is a constant value are used as reference values, and the After the rotor of the magnetic bearing in the magnetic bearing system is suspended, the duty cycle value of the driving PWM signal of the power amplifier is determined when the current of the stator coil is a constant value as the current duty cycle value, and the current temperature of the stator coil is determined by using the corresponding relationship between the duty cycle value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil; thus, the temperature of the stator coil is detected according to the corresponding relationship between the duty cycle value of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil when the current of the stator coil is constant, and the detection method is simple, low-cost and accurate.

[0090] According to an embodiment of the present invention, a control device for a magnetic bearing system corresponding to the control method for the magnetic bearing system is also provided. Figure 4 The structure diagram of an embodiment of the device of the present invention is shown in FIG. The magnetic bearing system comprises a rotor, a stator coil and a control system, and the power amplifier in the control system adopts a two-level modulation mode. Figure 5 Figure 1 is a schematic diagram of the control flow of the magnetic bearing control system. Figure 5 As shown in FIG. 1 , the control process of the power amplifier of the magnetic bearing includes: using a current sensor to detect the current i of the stator coil and output a voltage u, the controller MCU obtains the driving PWM duty cycle value of the power amplifier according to the voltage u and applies a two-level modulation method, and outputs it to the power amplifier bridge circuit through an isolation circuit to control the power amplifier to output the current i to the stator coil. Figure 5 In the example shown, the temperature rise of the stator coil causes the resistance value of the stator coil to increase. If the current value of the stator coil is kept unchanged, the duty cycle value of the driving PWM signal of the power amplifier needs to be increased to increase the voltage across the stator coil to offset the change in the resistance value of the stator coil. At the same time, there is a certain mathematical relationship between the temperature of the stator coil and the resistance value of the stator coil. Based on this, the scheme of the present invention proposes a scheme for estimating the temperature of the stator coil by monitoring the duty cycle value of the driving PWM signal when the current of the stator coil is a certain constant value in real time through the controller MCU. In the scheme of the present invention, if Figure 4 As shown, the control device of the magnetic bearing system includes: an acquisition unit 102 and a control unit 104.

[0091] The control unit 104 is configured to pre-determine the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode when the current of the stator coil is a set value. The specific functions and processing of the control unit 104 refer to step S110.

[0092] In some implementations, the power amplifier has a power switch tube device and a diode. Figure 6 Figure 1 is a schematic diagram of the H-bridge topology of the power amplifier. Figure 6 As shown, the power amplifier H bridge includes: MOS tube S 1 、MOS tube S 2 、Diode D 1 and diode D 2 . Bus voltage V dc As the power supply voltage, the output end of the power supply voltage is connected to the MOS tube S 1 The drain of MOS tube S 1 The source of the stator coil is connected to the diode D 1 The output end of the supply voltage is also connected to the anode of the diode D 1 The cathode of MOS tube S 1 The source of the diode D 2 The cathode of diode D 2 The ground GND of the diode D 1 The anode of the MOS tube is connected to 2 The drain of MOS tube S 2 The source of the MOS tube is grounded. The stator coil has an equivalent inductance and an equivalent resistance, and the stator coil is equivalent to an equivalent inductance and an equivalent resistance in series. 1 The gate of MOS tube S 2 The gates are all control terminals, which are used to input driving PWM signals. Figure 7 is a schematic diagram of the current waveform of a two-level power amplifier (i.e., a power amplifier in a two-level modulation mode), Figure 7 Middle,U gs1 For MOS tube S 1 The driving voltage, U gs2 For MOS tube S 2 The two-level modulation method is simple to control and is widely used in power amplifiers of magnetic bearings. Figure 7As shown, the control scheme of the power amplifier in the three-level modulation mode corresponds to a different driving current waveform from the control scheme of the power amplifier in the two-level modulation mode, and the switching sequence of the power devices is also inconsistent; that is, the control scheme of the power amplifier in the three-level modulation mode and the control scheme of the power amplifier in the two-level modulation mode correspond to different types of bearing controllers.

[0093] The control unit 104 predetermines the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode when the current of the stator coil is a set value, including the following formula:

[0094]

[0095] Wherein, q is the duty cycle value of the driving PWM signal of the power amplifier, i is the current of the stator coil, T R is the temperature of the stator coil, T 0 is the initial temperature of the stator coil, R 0 is the initial resistance value of the stator coil, α T0 is the temperature coefficient of the stator coil, U dc is the bus voltage of the power amplifier, K 1 , K 2 are all calculation coefficients. Preferably, K 1 Take 0.5, K 2 Take 2.

[0096] Specifically, by Figure 6 and Figure 7 It can be seen that when the power amplifier adopts a two-level modulation method, power devices such as MOS tube S 1 、MOS tube S 2 The switch state is the same as that of MOS tube S 1 、MOS tube S 2 When the MOS tube S is turned on at the same time, the current of the stator coil increases; 1 、MOS tube S 2 At the same time, the current of the stator coil decreases when it is turned off. The mathematical expression of the current flowing through the stator coil at this time is:

[0097]

[0098]

[0099] Where L is the inductance value of the equivalent inductance of the stator coil, U is dc is the bus voltage, U on is the conduction voltage drop of the power device, U D is the forward voltage drop of the diode, t1 is the conduction time of the power device, T is the PWM signal period, R is the internal resistance of the stator coil (i.e. the resistance value of the equivalent resistance of the stator coil), and i is the current of the stator coil.

[0100] By solving equation (1) and equation (2) together, we can get the current i of the stator coil (i.e. the average value of the ripple current of the stator coil):

[0101]

[0102] In the formula, i max is the maximum ripple current of the stator coil, i min is the minimum ripple current of the stator coil. Due to the conduction voltage drop U on and the diode’s forward voltage drop U D Compared to bus voltage U dc can be ignored, so the average current of the stator coil can be expressed as:

[0103]

[0104] In the formula, q is the duty cycle of the driving PWM signal. From formula (4), the relationship between the duty cycle of the driving PWM signal of the two-level power amplifier and the current of the stator coil can be obtained as follows:

[0105]

[0106] It can be seen from formula (5) that there is a linear relationship between the duty cycle value of the driving PWM signal of the power amplifier and the resistance value R of the stator coil.

[0107] The relationship between the resistance value and temperature of the stator coil is:

[0108]

[0109] Where, T R is the temperature when the resistance value of the stator coil is R, R is the resistance value of the stator coil, R 0 The temperature of the stator coil is T 0 The resistance value of the stator coil at ℃, α T0 is the temperature coefficient of the stator coil, T 0 is the initial temperature of the stator coil.

[0110] From equations (5) and (6), the relationship between the duty cycle of the driving PWM signal of the two-level power amplifier and the temperature of the stator coil can be obtained as follows:

[0111]

[0112] In the formula, the current i of the stator coil (i.e. the average value of the ripple current of the stator coil) needs to be kept constant, so i, T 0 , R 0 , α T0 , U dc As a constant, from formula (7), if the duty cycle value of the driving PWM signal of the two-level power amplifier is known, the temperature of the stator coil at this time can be obtained by calculation. From formula (7), if the duty cycle value q of the driving PWM signal of the two-level power amplifier is known, the temperature T of the stator coil at this time can be obtained by calculation. R . From formula (7), we can know the mathematical expression of the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil. The scheme of the present invention, by monitoring the current of the stator coil of the magnetic bearing at a certain constant value, by monitoring the duty cycle value of the driving PWM signal of the power amplifier, and applying the corresponding mathematical relationship, realizes the scheme of sensorless detection of the temperature of the stator coil, and realizes the measurement of the temperature of the stator coil without a sensor, and the detection method is simple, low-cost and accurate.

[0113] The acquisition unit 102 is configured to acquire in advance the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier when the current of the stator coil is a set value. The specific functions and processing of the acquisition unit 102 refer to step S120.

[0114] In some implementations, the acquisition unit 102 pre-acquires the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier, that is, the process of determining the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier in advance when the current of the stator coil is a set value, includes any one of the following determination situations:

[0115] The first determination scenario: the acquisition unit 102 is further configured to acquire the initial temperature of the stator coil; and the resistance value of the stator coil acquired at the initial temperature of the stator coil is used as the initial resistance value of the stator coil. The set value is such as setting the current x of the stator coil, the initial temperature of the stator coil is such as setting the temperature of the stator coil to 25°C, and the initial resistance value of the stator coil is such as the stator coil resistance value R 0 .

[0116] The second determination scenario: the acquisition unit 102 is further configured to acquire the maximum temperature of the stator coil; and use the duty cycle value of the driving PWM signal of the power amplifier acquired at the maximum temperature of the stator coil as the maximum duty cycle value of the driving PWM signal of the power amplifier. The maximum temperature of the stator coil is the temperature T of the stator coil. max The maximum duty cycle value of the driving PWM signal of the power amplifier is q max .

[0117] Specifically, Figure 8 The figure is a flow chart of the temperature detection and over-temperature protection procedure of the stator coil of the magnetic bearing. Figure 8 As shown, the temperature detection and over-temperature protection procedure of the stator coil includes: step 1, setting the current of the stator coil to x; under the current x of the stator coil, when the temperature of the stator coil is set to 25°C, the resistance value of the stator coil is R 0 , the duty cycle of the driving PWM signal is q x0 ; Under the current x of the stator coil, set the temperature of the stator coil to T max When the stator coil resistance is R max , the duty cycle of the driving PWM signal is q max , then execute step 2. That is, firstly, the current of the stator coil needs to be measured at a constant value x: (i) When the temperature of the stator coil is 25°C, the resistance value of the stator coil is R 0 And the duty cycle value q of the driving PWM signal x0 ; (ii) Stator coil temperature T max When the stator coil resistance value R max And the duty cycle value q of the driving PWM signal max ; Take the above measured data values ​​as reference and write them into the controller MCU program.

[0118] The acquisition unit 102 is further configured to acquire the current duty cycle value of the driving PWM signal of the power amplifier after the rotor is suspended and when the current of the stator coil is a set value. The specific function and processing of the acquisition unit 102 are also shown in step S130.

[0119] The control unit 104 is further configured to determine the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, so as to detect the current temperature of the stator coil. That is, based on the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier, which are predetermined when the current of the stator coil is a set value, according to the current duty cycle value of the driving PWM signal of the power amplifier, and in combination with the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode, which is predetermined when the current of the stator coil is a set value, and the temperature of the stator coil, the current temperature of the stator coil is determined, so as to detect the current temperature of the stator coil. The specific functions and processing of the control unit 104 can also be found in step S140.

[0120] The present invention proposes a scheme for estimating the temperature of the stator coil by monitoring the duty cycle value of the driving PWM signal of the power amplifier when the current of the stator coil of the magnetic bearing is a certain constant value, and realizing real-time monitoring of the temperature of the stator coil. The scheme does not require an additional temperature measurement probe or other high-precision electronic measurement circuits for implementing the temperature estimation method. The scheme of the present invention can be implemented by programming based on the hardware circuit of the magnetic bearing controller itself, which can reduce the complexity and design cost of the hardware design, and at the same time can improve the reliability and accuracy of the temperature measurement of the stator coil.

[0121] In some implementations, the control unit 104 determines the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, in combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, including: a process of calculating and displaying the current temperature of the stator coil, specifically as follows:

[0122] The control unit 104 is further configured to determine whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier. The specific functions and processing of the control unit 104 are also shown in step S210.

[0123] The control unit 104 is further configured to calculate the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, and display the current temperature of the stator coil (such as sending the current temperature of the stator coil to the host computer so that the host computer can display the detected real-time temperature of the stator coil in real time) based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in the two-level modulation mode if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier, so as to detect the current temperature of the stator coil. The specific functions and processing of the control unit 104 are also shown in step S220.

[0124] In the scheme of the present invention, when the current is monitored in real time by the controller MCU as a certain constant value, the duty cycle value of the driving PWM signal of the power amplifier is monitored to estimate the temperature of the stator coil; in this way, the temperature of the stator coil can be estimated as long as the duty cycle value of the driving PWM signal of the power amplifier is known, and the duty cycle value of the driving PWM signal of the power amplifier can be directly read by the controller MCU program, thereby realizing the measurement of the temperature of the stator coil without a sensor, and the detection method is simple, low-cost and accurate.

[0125] In some embodiments, the control unit 104 calculates the current temperature of the stator coil based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, and according to the current duty cycle value of the driving PWM signal of the power amplifier, including: the control unit 104 is further configured to calculate the current temperature of the stator coil corresponding to the duty cycle value of the driving PWM signal of the power amplifier that is the same as the current duty cycle value of the driving PWM signal of the power amplifier in the correspondence relationship based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier. Specifically, when the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier in the two-level modulation mode predetermined when the current of the stator coil is a set value and the temperature of the stator coil includes the following formula, the initial temperature of the stator coil and the initial resistance value of the stator coil predetermined when the current of the stator coil is a set value are substituted into the following formula, and the current duty cycle value of the driving PWM signal of the power amplifier is used as the duty cycle value q of the driving PWM signal of the power amplifier in the following formula, and the temperature T of the stator coil is calculated. R , as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier:

[0126]

[0127] Specifically, Figure 8 As shown, the temperature detection and over-temperature protection program of the stator coil also includes: Step 2, after controlling the rotor to float, the controller MCU directly outputs a driving PWM signal to the power amplifier to control the current of the stator coil. At this time, the controller MCU monitors the duty cycle value q of the output PWM signal when the current of the stator coil is x in real time. x , and the temperature T of the stator coil at this moment is calculated by equation (7) x The stator coil temperature T x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x . At the same time, judge q max >q x Is it true: If it is true, the controller MCU continues to monitor the temperature T of the stator coil in real time xThe temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x .

[0128] like Figure 8 The temperature detection and over-temperature protection program of the stator coil shown in the figure includes the operation of estimating the temperature of the stator coil, i.e., the first operation: when the current of the stator coil is a certain constant value (the value can be directly obtained by the controller MCU program), the first step is to obtain the duty cycle value q of the driving PWM signal when the temperature of the stator coil is 25°C. x0 , thereby driving the duty cycle value q of the PWM signal x0 As the reference value, it is estimated that when the duty cycle value q of the driving PWM signal x The stator coil temperature T x The second step is to estimate the stator coil temperature T in real time. x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x , it is possible to detect the temperature of the stator coil without setting a sensor, and the detection method is simple, low-cost and accurate.

[0129] In some implementations, after obtaining the current duty cycle value of the driving PWM signal of the power amplifier, the control unit 104 further includes: a process of performing over-temperature protection on the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier, specifically as follows:

[0130] The control unit 104 is further configured to determine whether the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier. The specific functions and processing of the control unit 104 are also shown in step S310.

[0131] The control unit 104 is further configured to send a current temperature over-temperature protection signal of the stator coil to control the rotor to stop floating if it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is greater than or equal to the maximum duty cycle value of the driving PWM signal of the power amplifier. The specific functions and processing of the control unit 104 are also shown in step S320.

[0132] Specifically, Figure 8 As shown, the temperature detection and over-temperature protection program of the stator coil also includes: Step 2, after controlling the rotor to float, the controller MCU directly outputs a driving PWM signal to the power amplifier to control the current of the stator coil. At this time, the controller MCU monitors the duty cycle value q of the output PWM signal when the current of the stator coil is x in real time. x , and the temperature T of the stator coil at this moment is calculated by equation (7) xThe stator coil temperature T x The temperature T of the stator coil is transmitted to the host computer monitoring interface and displayed in real time. x . At the same time, judge q max >q x Is it true: If not, the stator coil over-temperature protection signal is sent to control the rotor to stop floating.

[0133] like Figure 8 The temperature detection and over-temperature protection program of the stator coil shown in FIG. 1 also includes the operation of the temperature over-temperature protection of the stator coil, i.e., the second operation: the first step is to set the temperature of the stator coil to T according to formula (7): max When the duty cycle value of the driving PWM signal is q max Step (2) Based on the first operation, the temperature T of the stator coil at this moment is x Whether the temperature of the stator coil exceeds the set maximum value, i.e., the temperature T max To judge, when the temperature of the stator coil at this moment is T x Exceeding the maximum temperature of the stator coil, that is, the temperature of the stator coil T max In order to protect the safe operation of the device, the magnetic bearing controller issues a command to stop the floating shaft, and the magnetic bearing control system enters a stopped working state, realizing over-temperature protection for the stator coil of the magnetic bearing to ensure the safety of the magnetic bearing operation.

[0134] The solution of the present invention, based on the hardware circuit of the magnetic bearing controller itself, estimates the temperature of the stator coil by programming and monitoring the duty cycle value of the driving PWM signal of the power amplifier when the current value of the stator coil is a certain constant value, thereby realizing real-time monitoring of the temperature of the stator coil. There is no need to add any redundant structure or circuit. The change of the voltage at both ends of the stator coil is obtained through the information of the driving PWM signal of the power amplifier, and the change of the internal resistance of the stator coil is obtained, so as to calculate and estimate the temperature of the stator coil. The solution of the present invention does not need to design additional hardware circuits, simplifies the method of measuring the temperature of the stator coil, and can effectively prevent the problem of abnormal operation of the magnetic bearing caused by overheating and short circuit faults of the stator coil. In addition, the solution of the present invention is applicable to magnetic bearing controllers using pulse width modulation strategies, and is also applicable to the topological structures of power amplifiers of full-bridge and half-bridge circuits, and is also applicable to analog and digital power amplifiers.

[0135] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0136] According to an embodiment of the present invention, a magnetic bearing system corresponding to the control device of the magnetic bearing system is also provided. The magnetic bearing system may include: the control device of the magnetic bearing system described above.

[0137] Since the processing and functions implemented by the magnetic bearing system of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned device, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0138] According to an embodiment of the present invention, a computer program product corresponding to a magnetic bearing system is also provided, comprising a computer program, which implements the steps of the control method of the magnetic bearing system described above when executed by a processor.

[0139] Since the processing and functions implemented by the product of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned magnetic bearing system, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0140] According to an embodiment of the present invention, a storage medium corresponding to the control method of the magnetic bearing system is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the control method of the magnetic bearing system described above.

[0141] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0142] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

[0143] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A control method for a magnetic bearing system, characterized in that: The magnetic bearing system comprises a rotor, a stator coil and a control system, wherein the power amplifier in the control system adopts a two-level modulation mode; The control method of the magnetic bearing system comprises: When the current of the stator coil is a set value, a corresponding relationship between a duty cycle value of a driving PWM signal of the power amplifier and a temperature of the stator coil under a two-level modulation mode is predetermined; When the current of the stator coil is a set value, pre-acquire the initial temperature of the stator coil, the initial resistance value of the stator coil, and the maximum duty cycle value of the driving PWM signal of the power amplifier; After the rotor is suspended, when the current of the stator coil is a set value, obtaining a current duty cycle value of the driving PWM signal of the power amplifier; In combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier to realize the detection of the current temperature of the stator coil.

2. The control method of the magnetic bearing system according to claim 1, characterized in that: The power amplifier comprises a power switch tube device and a diode; The predetermined corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation mode includes the following formula: Wherein, q is the duty cycle value of the driving PWM signal of the power amplifier, i is the current of the stator coil, T R is the temperature of the stator coil, T0 is the initial temperature of the stator coil, R0 is the initial resistance value of the stator coil, α T0 is the temperature coefficient of the stator coil, U dc is the bus voltage of the power amplifier, and K1 and K2 are calculation coefficients.

3. The control method of the magnetic bearing system according to claim 1, characterized in that: Pre-acquiring an initial temperature of the stator coil, an initial resistance value of the stator coil, and a maximum duty cycle value of a driving PWM signal of the power amplifier, including: Acquiring an initial temperature of the stator coil; and using the resistance value of the stator coil acquired at the initial temperature of the stator coil as the initial resistance value of the stator coil; The maximum temperature of the stator coil is obtained; and the duty cycle value of the driving PWM signal of the power amplifier obtained at the maximum temperature of the stator coil is used as the maximum duty cycle value of the driving PWM signal of the power amplifier.

4. The control method of the magnetic bearing system according to any one of claims 1 to 3, characterized in that: In combination with the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil in a two-level modulation mode, the current temperature of the stator coil is determined according to the current duty cycle value of the driving PWM signal of the power amplifier, including: Determining whether a current duty cycle value of the driving PWM signal of the power amplifier is less than a maximum duty cycle value of the driving PWM signal of the power amplifier; If it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is less than the maximum duty cycle value of the driving PWM signal of the power amplifier, based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method, the current temperature of the stator coil is calculated according to the current duty cycle value of the driving PWM signal of the power amplifier, and the current temperature of the stator coil is displayed.

5. The control method of the magnetic bearing system according to claim 4, characterized in that: Based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the corresponding relationship between the duty cycle value of the driving PWM signal of the power amplifier in a two-level modulation mode and the temperature of the stator coil, and according to the current duty cycle value of the driving PWM signal of the power amplifier, the current temperature of the stator coil is calculated, including: Based on the initial temperature of the stator coil and the initial resistance value of the stator coil, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method, the temperature of the stator coil corresponding to the duty cycle value of the driving PWM signal of the power amplifier that is the same as the current duty cycle value of the driving PWM signal of the power amplifier in the correspondence is used as the current temperature of the stator coil corresponding to the current duty cycle value of the driving PWM signal of the power amplifier.

6. The control method of the magnetic bearing system according to any one of claims 1 to 5, characterized in that: Also includes: Determining whether a current duty cycle value of the driving PWM signal of the power amplifier is less than a maximum duty cycle value of the driving PWM signal of the power amplifier; If it is determined that the current duty cycle value of the driving PWM signal of the power amplifier is greater than or equal to the maximum duty cycle value of the driving PWM signal of the power amplifier, a current temperature over-temperature protection signal of the stator coil is sent to control the rotor to stop floating.

7. A control device for a magnetic bearing system, characterized in that: The magnetic bearing system comprises a rotor, a stator coil and a control system, wherein the power amplifier in the control system adopts a two-level modulation mode; The control device of the magnetic bearing system comprises: A control unit, configured to predetermine a corresponding relationship between a duty cycle value of a driving PWM signal of the power amplifier and a temperature of the stator coil in a two-level modulation mode when the current of the stator coil is a set value; an acquisition unit configured to acquire in advance an initial temperature of the stator coil, an initial resistance value of the stator coil, and a maximum duty cycle value of a driving PWM signal of the power amplifier when the current of the stator coil is a set value; The acquisition unit is further configured to acquire a current duty cycle value of the driving PWM signal of the power amplifier when the current of the stator coil is a set value after the rotor is suspended; The control unit is also configured to combine the initial temperature of the stator coil, the initial resistance value of the stator coil, the maximum duty cycle value of the driving PWM signal of the power amplifier, and the correspondence between the duty cycle value of the driving PWM signal of the power amplifier and the temperature of the stator coil under the two-level modulation method, and determine the current temperature of the stator coil according to the current duty cycle value of the driving PWM signal of the power amplifier to detect the current temperature of the stator coil.

8. A magnetic bearing system, characterized in that: include: The control device of the magnetic bearing system as claimed in claim 7.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the control method of the magnetic bearing system according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the control method of the magnetic bearing system according to any one of claims 1 to 6 are implemented.