Gain adjustment method and device of magnetic suspension motor, water chilling unit and storage medium
Through the frequency response test and amplitude-frequency characteristic curve analysis of the magnetic levitation motor, the gain is automatically adjusted, which solves the problem of long time and low efficiency of manual debugging, and achieves the effect of quickly reaching the optimal gain.
Patent Information
- Application Number
- CN202410159128.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, debugging the gain of the magnetic levitation motor through manual debugging requires multiple attempts, takes a long time, and requires high manual debugging experience, resulting in low debugging efficiency.
By conducting multiple frequency response tests on the magnetic levitation motor, the amplitude-frequency characteristic curve is obtained, the gain adjustment value is calculated, and the gain is automatically adjusted to achieve automatic gain adjustment.
It greatly improves the efficiency of gain adjustment, reduces the need for manual debugging, and significantly improves debugging efficiency.
Smart Images

Figure CN118611530A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor control, and in particular to a gain adjustment method and device for a magnetic levitation motor, a chiller and a storage medium. Background Art
[0002] The magnetic levitation motor uses high-precision magnetic levitation rotor control technology to actively control the rotating shaft by using the electromagnetic force generated by the energized coil through non-contact, wear-free, and lubrication-free suspension support. Magnetic levitation motors are widely used in compressors and other equipment.
[0003] In the process of controlling the magnetic levitation motor, the smaller the maximum value of the ratio of the amplitude of the rotor feedback signal to the amplitude of the input signal, the better the amplitude-frequency characteristic and the better the control effect. The gain of the magnetic levitation motor will directly affect the amplitude-frequency characteristic of the magnetic levitation motor. Therefore, to obtain a better amplitude-frequency characteristic, it is necessary to debug the optimal gain of the magnetic levitation motor. In the related art, the optimal gain of the magnetic levitation motor is debugged by manual debugging, which requires multiple attempts, takes a long time, and requires high manual debugging experience, resulting in low debugging efficiency. Summary of the invention
[0004] The main purpose of the present invention is to provide a gain adjustment method, device, chiller and storage medium for a magnetic levitation motor, aiming to solve the technical problem in the related art that the manual debugging method is used to debug the optimal gain of the magnetic levitation motor, which requires multiple attempts, takes a long time, and requires high manual debugging experience, resulting in low debugging efficiency. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0005] According to one aspect of an embodiment of the present application, a gain adjustment method for a magnetic levitation motor is provided, comprising:
[0006] Conduct multiple frequency response tests on magnetic levitation motors;
[0007] According to the results of the multiple frequency response tests, an amplitude-frequency characteristic curve of the magnetic levitation motor is obtained;
[0008] Acquire a gain adjustment value according to the amplitude-frequency characteristic curve;
[0009] The current gain of the magnetic levitation motor is adjusted according to the gain adjustment value.
[0010] In some embodiments of the present application, the frequency response test includes:
[0011] According to the rotor of the magnetic levitation motor being located at a preset levitation position, inputting an excitation signal to the rotor;
[0012] Obtaining a feedback signal of the rotor;
[0013] According to the excitation signal and the feedback signal, a data pair of the frequency of the excitation signal and a first ratio is obtained; the first ratio is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal.
[0014] In some embodiments of the present application, the step of obtaining the amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests includes:
[0015] Constructing a coordinate system with the frequency of the excitation signal as the horizontal axis and the first ratio as the vertical axis;
[0016] The amplitude-frequency characteristic curve of the magnetic levitation motor is constructed on the coordinate system by using the data pairs obtained by performing multiple frequency response tests on the magnetic levitation motor.
[0017] In some embodiments of the present application, obtaining the feedback signal of the rotor includes:
[0018] The feedback signal of the rotor is sampled a preset number of times within a time interval to obtain the preset number of feedback signal sampling values, and the length of the time interval is a positive integer multiple of the period of the excitation signal.
[0019] In some embodiments of the present application, acquiring a data pair of a frequency and a first ratio of the excitation signal according to the excitation signal and the feedback signal includes:
[0020] For each sampling, a first product of a sampling value of a feedback signal and a value of an excitation signal at the sampling moment, and a second product of the sampling value of the feedback signal and a value of a preset signal at the sampling moment are calculated; the excitation signal is a sinusoidal signal, and the preset signal is obtained by shifting the phase of the excitation signal to the left by π / 2;
[0021] The first products corresponding to each sampling are summed to obtain a first sum value, and the second products corresponding to each sampling are summed to obtain a second sum value;
[0022] acquiring the amplitude of the feedback signal according to the first sum value, the second sum value, the length of the time interval, and the amplitude of the excitation signal;
[0023] The data pair is obtained according to the frequency of the excitation signal and the first ratio.
[0024] In some embodiments of the present application, obtaining a gain adjustment value according to the amplitude-frequency characteristic curve includes:
[0025] According to the amplitude-frequency characteristic curve, a maximum amplitude ratio point of a first preset frequency band and a maximum amplitude ratio point of a second preset frequency band are obtained; the maximum frequency value of the first preset frequency band is less than the minimum frequency value of the second preset frequency band, the horizontal axis of the coordinate system of the amplitude-frequency characteristic curve is the frequency of the excitation signal, and the vertical axis of the coordinate system of the amplitude-frequency characteristic curve is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal;
[0026] Obtaining the slope of a line connecting a maximum amplitude ratio point of the first preset frequency band and a maximum amplitude ratio point of the second preset frequency band;
[0027] The product of the slope and a preset constant is calculated to obtain a gain adjustment value.
[0028] In some embodiments of the present application, obtaining a gain adjustment value according to the amplitude-frequency characteristic curve includes:
[0029] According to the amplitude-frequency characteristic curve, obtaining the frequency corresponding to the maximum amplitude ratio point;
[0030] A gain adjustment value is obtained according to a target frequency band in which the frequency corresponding to the maximum amplitude ratio is located and a preset gain adjustment value corresponding to the target frequency band.
[0031] According to another aspect of an embodiment of the present application, a gain adjustment device for a magnetic levitation motor is provided, comprising:
[0032] A test module, used to perform multiple frequency response tests on the magnetic levitation motor;
[0033] A curve acquisition module, used to acquire an amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests;
[0034] A gain adjustment value acquisition module, used to acquire a gain adjustment value according to the amplitude-frequency characteristic curve;
[0035] An adjustment module is used to adjust the current gain of the magnetic levitation motor according to the gain adjustment value.
[0036] According to another aspect of an embodiment of the present application, a chiller is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the gain adjustment method of the magnetic levitation motor described in any embodiment of the present application.
[0037] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. The computer program is executed by a processor to implement the gain adjustment method of the magnetic levitation motor described in any embodiment of the present application.
[0038] In the technical solution of the embodiment of the present invention, multiple frequency response tests are performed on the magnetic levitation motor; based on the results of the multiple frequency response tests, the amplitude-frequency characteristic curve of the magnetic levitation motor is obtained; based on the amplitude-frequency characteristic curve, a gain adjustment value is obtained; and based on the gain adjustment value, the current gain of the magnetic levitation motor is adjusted, thereby realizing automatic gain adjustment of the magnetic levitation motor, and being able to quickly reach a gain that is relatively close to the optimal gain, thereby greatly improving the efficiency of gain adjustment, and no longer requiring manual gain adjustment, thereby overcoming the following technical problems existing in the related art: multiple attempts are required to debug the optimal gain of the magnetic levitation motor by manual debugging, which is time-consuming and requires high manual debugging experience, resulting in a technical problem of low debugging efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0040] Figure 1 This is a schematic diagram of the control system structure of a magnetic levitation motor according to an embodiment of the present application;
[0041] Figure 2 A flow chart of a gain adjustment method for a magnetic levitation motor according to an embodiment of the present application;
[0042] Figure 3 A frequency response test flow chart of an embodiment of the present application;
[0043] Figure 4 This is an amplitude-frequency characteristic curve diagram of an embodiment of the present application;
[0044] Figure 5 Schematic diagram of the rotor in five directions according to one embodiment of the present application;
[0045] Figure 6 The amplitude-frequency characteristic curve of the magnetic levitation motor under different gains in the fx direction according to one embodiment of the present application;
[0046] Figure 7 The amplitude-frequency characteristic curve of the magnetic levitation motor according to one embodiment of the present application is shown when the gain is 3070 in the fx direction;
[0047] Figure 8 The amplitude-frequency characteristic curve of the magnetic levitation motor according to one embodiment of the present application is shown when the gain in the fx direction is 3670;
[0048] Fig. 9 A structural block diagram of a gain adjustment device for a magnetic levitation motor according to an embodiment of the present application is shown;
[0049] Fig.10 A structural block diagram of an electronic device in a chiller according to an embodiment of the present application is shown;
[0050] Fig.11 A schematic diagram of a computer-readable storage medium according to an embodiment of the present application is shown.
[0051] Description of Figure Numbers:
[0052]
[0053]
[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.
[0056] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0057] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0058] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0059] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0060] The magnetic levitation motor uses a magnetic field to levitate the rotor, so that the rotor does not produce mechanical contact and mechanical friction when rotating, and no longer needs mechanical bearings and the lubrication system required for mechanical bearings. Compared with traditional compressors, magnetic levitation compressors have outstanding advantages of high efficiency and energy saving, extremely low friction, very low noise, and no need to set up a lubrication system, which greatly reduces maintenance costs and extends service life. Figure 1 As shown, the control system of the magnetic levitation motor includes a controller, a power amplifier and a displacement sensor. The controller is a multi-order transfer function designed according to various parameters of the magnetic levitation motor, the power amplifier is controlled by a current loop, and the displacement sensor can be, for example, an eddy current displacement sensor, which is used to feedback the real-time displacement of the rotor. The control object of the magnetic levitation motor control system is mainly the rotor of the magnetic levitation motor.
[0061] Magnetic levitation motors have been widely used in equipment such as magnetic levitation compressors. Magnetic levitation compressors are now widely used in central air-conditioning, refrigeration equipment, hydrogen production equipment and other fields.
[0062] The rotor of the magnetic levitation motor is supported by non-contact, non-wear, and non-lubricated suspension, and the electromagnetic force generated by the energized coil is used to actively control the magnetic levitation motor. In order to obtain a better control effect in the process of controlling the magnetic levitation motor, it is necessary to debug the optimal gain of the magnetic levitation motor to obtain a better amplitude-frequency characteristic. In the related art, the optimal gain of the magnetic levitation motor is debugged by manual debugging. Manual gain adjustment is cumbersome and requires multiple attempts, which takes a long time and requires high manual debugging experience, resulting in low debugging efficiency.
[0063] In response to the technical problems existing in the related art, an embodiment of the present application provides a gain adjustment method for a magnetic levitation motor, which performs multiple frequency response tests on the magnetic levitation motor; obtains an amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests; obtains a gain adjustment value according to the amplitude-frequency characteristic curve; and adjusts the current gain of the magnetic levitation motor according to the gain adjustment value, thereby realizing automatic gain adjustment of the magnetic levitation motor, and being able to quickly reach a gain that is relatively close to the optimal gain, thereby greatly improving the efficiency of gain adjustment, and no longer requiring manual gain adjustment, thereby overcoming the following technical problems existing in the related art: debugging the optimal gain of the magnetic levitation motor by manual debugging requires multiple attempts, which is time-consuming and requires a high level of manual debugging experience, resulting in a technical problem of low debugging efficiency.
[0064] The following describes a gain adjustment method for a magnetic levitation motor according to an embodiment of the present application with reference to examples.
[0065] refer to Figure 2 As shown, an embodiment of the present application provides a gain adjustment method for a magnetic levitation motor, which may include steps S10 to S40:
[0066] S10. Perform multiple frequency response tests on the magnetic levitation motor.
[0067] Frequency response is used to describe the difference in processing capability of an instrument or device (such as the magnetic levitation motor in this embodiment) for signals of different frequencies. Frequency response test is a test method for measuring the frequency response characteristics of an electronic device or system (such as the magnetic levitation motor in this embodiment).
[0068] The process of the frequency response test may include, for example: placing the magnetically suspended rotor in a suspended state, and after the suspended state is stable, the rotor is located at a preset suspended position; based on the preset suspended position, an excitation signal is input, and at the output end of the eddy current displacement sensor, i.e., the feedback end of the control system, a feedback signal is collected through an analog-to-digital converter ADC, and the feedback signal is analyzed to obtain the amplitude and initial phase of the feedback signal.
[0069] For example, reference Figure 3 As shown, the frequency response test may include steps S101 to S104:
[0070] S101 , inputting an excitation signal to the rotor according to the rotor of the magnetic levitation motor being located at a preset levitation position.
[0071] Specifically, the preset suspension position is, for example, the suspension position when the rotor works normally. The magnetic suspension rotor is in a suspension state. When the rotor of the magnetic suspension motor is at the preset suspension position and the suspension state is stable, the rotor can work normally. At this time, an excitation signal is input to the rotor.
[0072] In a specific example, the excitation signal is a sinusoidal signal bias=Asinωt.
[0073] S102: Obtain a feedback signal of the rotor.
[0074] Specifically, obtaining the feedback signal of the rotor may include: sampling the feedback signal of the rotor a preset number of times within a time interval to obtain a preset number of feedback signal sampling values, wherein the length of the time interval is a positive integer multiple of the period of the excitation signal.
[0075] The preset number can be a pre-set positive integer, which can be set according to the actual application needs. The frequency of the feedback signal is the same as the frequency of the excitation signal. Continuing with the above specific example, it is assumed that the feedback signal is A0sin(ωt+φ), where ω is known, and A0 and φ are unknowns. The feedback signal is sampled a preset number of times in the time interval [t1, t1+a] by the analog-to-digital converter ADC to obtain a preset number of feedback signal sampling values. The length of the time interval [t1, t1+a] is a, and a is a positive integer multiple of the minimum positive period of the excitation signal. For example, a can be 1 times, 2 times, 3 times... of the minimum positive period of the excitation signal, and can be set according to the actual application needs.
[0076] S103: Acquire a data pair of a frequency of the excitation signal and a first ratio according to the excitation signal and the feedback signal. The first ratio is a ratio of the amplitude of the feedback signal to the amplitude of the excitation signal.
[0077] Exemplarily, obtaining a data pair of the frequency of the excitation signal and the first ratio according to the excitation signal and the feedback signal may include steps S1031 to S1034:
[0078] S1031. For each sampling, calculate the first product of the sampling value of the feedback signal and the value of the excitation signal at the sampling moment, and the second product of the sampling value of the feedback signal and the value of the preset signal at the sampling moment; the excitation signal is a sinusoidal signal, and the preset signal is obtained by shifting the phase of the excitation signal to the left by π / 2.
[0079] Following the above specific example, the preset signal Acosωt is obtained by shifting the phase of the excitation signal Asinωt to the left by π / 2.
[0080] The first product of the feedback signal sampling value and the value of the excitation signal at the sampling moment can be expressed as
[0081] A0 sin(ωt+φ)·Asinωt (1.1);
[0082] The second product of the feedback signal sampling value and the value of the preset signal at the sampling moment can be expressed as
[0083] A0 sin(ωt+φ)·Acosωt (1.2);
[0084] Among them, ω is known, and A0 and φ are unknown.
[0085] S1032: summing up the first products corresponding to each sampling to obtain a first sum value, and summing up the second products corresponding to each sampling to obtain a second sum value.
[0086] Following the above specific example, the feedback signal is sampled a preset number of times in the time interval [t1, t1+a], and the sum of the products of the excitation signal value and the feedback signal value of each sampling is calculated to obtain the first sum s1; the sum of the products of the Acosωt value and the feedback signal value of each sampling is calculated to obtain the second sum s2. The calculation formula of s1 is shown in formula (1.3), and the calculation formula of s2 is shown in formula (1.4):
[0087]
[0088]
[0089] Wherein, m represents the sampling order, and n represents the preset number.
[0090] S1033. Obtain the amplitude of the feedback signal according to the first sum value, the second sum value, the length of the time interval, and the amplitude of the excitation signal.
[0091] Following the above specific example, the amplitude of the feedback signal In this example, As the amplitude of the feedback signal, the greater the sampling times, the more accurate the amplitude of the obtained feedback signal.
[0092] Based on formula (1.1) and formula (1.2), we can obtain The derivation process is as follows:
[0093] By transforming equation (1.1) and equation (1.2) respectively, we can get:
[0094]
[0095]
[0096] Integrating equations (1.5) and (1.6) over a time interval [b, b+a] of length kT yields:
[0097]
[0098]
[0099] Among them, a=kT, k is a positive integer, T=2π / |2ω|=π / |ω|; the periods of sin2ωt and cos2ωt are both T=2π / |2ω|=π / |ω|.
[0100] In an integer number of cycles, the integrals of sin2ωt and cos2ωt are both 0. From this, we can further deduce that
[0101]
[0102] The amplitude of the feedback signal
[0103] Initial phase of feedback signal
[0104] According to the calculation formula (1.3) of the first sum s1 and the calculation formula (1.4) of the second sum s2, using s1 as The approximate value of The amplitude of the feedback signal can be obtained by
[0105]
[0106] The initial phase of the feedback signal is
[0107] φ≈arctan(s1 / s2)(2.4),
[0108] That is, the amplitude and initial phase of the feedback signal are obtained, that is, the expression of the feedback signal is obtained.
[0109] S1034. Obtain a data pair according to the frequency of the excitation signal and the first ratio.
[0110] Following the above specific example, a data pair of the frequency ω of the excitation signal and the first ratio A0 / A is obtained. The test result of the frequency response test includes a data pair of the frequency of the excitation signal and the first ratio.
[0111] S20. According to the results of multiple frequency response tests, an amplitude-frequency characteristic curve of the magnetic levitation motor is obtained.
[0112] Through multiple frequency response tests, multiple test results are obtained, and the amplitude-frequency characteristic curve of the magnetic levitation motor can be constructed using the test results.
[0113] In an optional embodiment, obtaining the amplitude-frequency characteristic curve of the magnetic levitation motor based on the results of multiple frequency response tests can include: constructing a coordinate system with the frequency of the excitation signal as the horizontal axis and the first ratio as the vertical axis; using data pairs obtained by performing multiple frequency response tests on the magnetic levitation motor to construct the amplitude-frequency characteristic curve of the magnetic levitation motor on the coordinate system.
[0114] Specifically, each data pair is marked as a coordinate point in the coordinate system, the frequency of the data pair is the horizontal coordinate of the coordinate point, and the first ratio of the data pair is the vertical coordinate of the coordinate point. In this way, multiple points can be drawn in the coordinate system. The amplitude-frequency characteristic curve of the magnetic levitation motor can be constructed using these multiple points. For example, the multiple points can be directly connected in sequence to obtain the amplitude-frequency characteristic curve. It is also possible to fit based on these multiple points and use the obtained fitting curve as the amplitude-frequency characteristic curve.
[0115] Figure 4 Five amplitude-frequency characteristic curves in a specific example are shown. The entire magnetic levitation motor control system involves the control of five directions of the magnetic levitation motor, including forward fx and fy, backward rx and ry, and axial az. Figure 5 The schematic diagram of the rotor fx, fy, rx, ry and az is shown. The front end of the rotor 1 is provided with a front protection bearing 2, the rear end of the rotor 1 is provided with a rear protection bearing 3, the forward position sensor 4 is used to detect the forward position of the rotor 1, and the backward position sensor 5 is used to detect the backward position of the rotor 1. After the five directions are decoupled, each direction can be considered to be controlled separately. Figure 4 The five amplitude-frequency characteristic curves are the amplitude-frequency characteristic curve fxAMP_M in the fx direction, the amplitude-frequency characteristic curve fyAMP_M in the fy direction, the amplitude-frequency characteristic curve rxAMP_M in the rx direction, the amplitude-frequency characteristic curve ryAMP_M in the ry direction, and the amplitude-frequency characteristic curve azAMP_M in the axial direction. The evaluation of the control effect is mainly determined by the results of the frequency response test. In the test frequency band, the smaller the maximum value in the vertical axis direction, the better the control effect. Among the control parameters of a certain degree of freedom, the gain will directly affect the frequency response test results.
[0116] In one example, the amplitude-frequency characteristic curves at different gains in the fx direction are as follows: Figure 6 shown. Figure 616 amplitude-frequency characteristic curves L1-L16 are shown, and each amplitude-frequency characteristic curve corresponds to a different gain. It can be seen that when the gain is low, the maximum value of the vertical axis is in the low frequency band (10-100hz); when the gain is high, the maximum value of the vertical axis is in the high frequency band (110-500hz). Therefore, in the related art, debugging the optimal gain by manual debugging requires multiple attempts, which takes a long time and requires high manual debugging experience, resulting in low debugging efficiency. In response to the defects in the related art, an embodiment of the present application proposes a gain adjustment method for a magnetic levitation motor to improve the debugging efficiency.
[0117] S30, obtaining a gain adjustment value according to the amplitude-frequency characteristic curve.
[0118] In an optional implementation, obtaining the gain adjustment value according to the amplitude-frequency characteristic curve may include: obtaining the maximum amplitude ratio point of the first preset frequency band and the maximum amplitude ratio point of the second preset frequency band according to the amplitude-frequency characteristic curve; obtaining the slope of the line connecting the maximum amplitude ratio point of the first preset frequency band and the maximum amplitude ratio point of the second preset frequency band; and calculating the product of the slope and a preset constant to obtain the gain adjustment value. The maximum frequency value of the first preset frequency band is less than the minimum frequency value of the second preset frequency band, the horizontal axis of the coordinate system of the amplitude-frequency characteristic curve is the frequency of the excitation signal, and the vertical axis of the coordinate system of the amplitude-frequency characteristic curve is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal.
[0119] For example, the first preset frequency band is 10-100 Hz, and the second preset frequency band is 110-500 Hz.
[0120] Figure 7 The amplitude-frequency characteristic curve when the gain in the fx direction is 3070 is shown. The coordinates of the maximum amplitude ratio point in the first preset frequency band 10-100 Hz on the amplitude-frequency characteristic curve are (50, 1.94), and the coordinates of the maximum amplitude ratio point in the second preset frequency band 110-500 Hz are (110, 1.57); the slope of the line connecting (50, 1.94) and (110, 1.57) is
[0121] (1.57-1.94) / (110-50)≈-0.0067667.
[0122] The product of the slope -0.0067667 and the preset constant d is calculated to obtain a gain adjustment value -0.0067667d.
[0123] Figure 8The amplitude-frequency characteristic curve diagram is shown when the gain in the fx direction is 3670. The coordinates of the maximum amplitude ratio point in the first preset frequency band 10-100 Hz on the amplitude-frequency characteristic curve are (80, 1.72), and the coordinates of the maximum amplitude ratio point in the second preset frequency band 110-500 Hz are (210, 1.74); the slope of the line connecting (80, 1.72) and (210, 1.74) is (1.74-1.72) / (210-80)≈0.00015385.
[0124] The product of the slope 0.00015385 and the preset constant d is calculated to obtain a gain adjustment value 0.00015385d.
[0125] In an optional embodiment, obtaining a gain adjustment value according to an amplitude-frequency characteristic curve may include: obtaining a frequency corresponding to a maximum amplitude ratio point according to the amplitude-frequency characteristic curve; obtaining a gain adjustment value according to a target frequency band in which the frequency corresponding to the maximum amplitude ratio is located, and a preset gain adjustment value corresponding to the target frequency band.
[0126] Specifically, the maximum amplitude ratio point on the amplitude-frequency characteristic curve is obtained, and the frequency corresponding to the maximum amplitude ratio point is determined according to the amplitude-frequency characteristic curve. In the coordinate system where the amplitude-frequency characteristic curve is located, the horizontal axis is the frequency, and multiple preset frequency bands are pre-set, and each preset frequency band corresponds to a preset gain adjustment value. Determine the preset frequency band in which the frequency corresponding to the maximum amplitude ratio point is located, that is, the target frequency band. The preset gain adjustment value corresponding to the target frequency band is used as the gain adjustment value.
[0127] For example, when the frequency corresponding to the maximum amplitude ratio point is in the low frequency band (eg, 10-100 Hz), the gain needs to be increased, and when the frequency corresponding to the maximum amplitude ratio point is in the high frequency band (eg, 110-500 Hz), the gain needs to be reduced.
[0128] S40: Adjust the current gain of the magnetic levitation motor according to the gain adjustment value.
[0129] Specifically, the current gain of the magnetic levitation motor is subtracted from the gain adjustment value to obtain the adjusted gain.
[0130] For example, the adjusted gain Gain = current gain - k*d, where k is the slope of the line in the figure. The preset constant d is an order of magnitude set according to actual application needs. For example, d can be set to 100000, or it can be set to other values according to actual application needs.
[0131] For example, if the current gain is 3070, the adjusted gain
[0132] That is, the adjusted gain is 3687.
[0133] Table 1 is a statistical table of amplitude-frequency characteristic curves of a magnetically suspended rotor under different gains in the fx direction. It can be seen that under different initial gains, by adjusting the gain using the method of this embodiment, a gain close to the optimal gain (the optimal gain in Table 1 is 3670, because the ordinate value of the maximum amplitude ratio point in its frequency band is the smallest) can be achieved, thereby greatly improving the efficiency of gain adjustment.
[0134] Table 1 Statistics of amplitude-frequency characteristic curves at different gains in the fx direction
[0135]
[0136] For example, after the initial control parameters are input and the magnetic levitation rotor is successfully suspended, the control effect can be evaluated based on the frequency response measurement results by measuring the frequency response of the entire control system. The frequency response can quickly determine the response amplitude and phase of the control system to the harmonic interference force in the magnetic levitation rotor control, and is an important tool for evaluating the performance of the control system. For magnetic levitation motor control, the frequency response test method can be to inject sinusoidal excitation signals of different frequencies into each degree of freedom, and extract the amplitude and initial phase of the feedback signal at the feedback end of the system. The smaller the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal, the better the control effect. In the control system, the gain directly affects the effect of the entire amplitude-frequency characteristic curve.
[0137] The gain adjustment method of the magnetic levitation motor provided in the embodiment of the present application realizes automatic gain adjustment of the magnetic levitation motor, and can quickly reach a gain that is relatively close to the optimal gain, thereby greatly improving the efficiency of gain adjustment. Manual gain adjustment is no longer required, thereby overcoming the following technical problems existing in the related art: debugging the optimal gain of the magnetic levitation motor by manual debugging requires multiple attempts, which is time-consuming and requires a high level of manual debugging experience, resulting in a technical problem of low debugging efficiency.
[0138] refer to Fig. 9 As shown, another embodiment of the present application provides a gain adjustment device for a magnetic levitation motor, which may include:
[0139] A test module, used to perform multiple frequency response tests on the magnetic levitation motor;
[0140] A curve acquisition module, used to acquire an amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests;
[0141] A gain adjustment value acquisition module, used to acquire a gain adjustment value according to the amplitude-frequency characteristic curve;
[0142] An adjustment module is used to adjust the current gain of the magnetic levitation motor according to the gain adjustment value.
[0143] In some embodiments, the test module is further specifically configured to:
[0144] an excitation unit, configured to input an excitation signal to the rotor according to the rotor of the magnetic levitation motor being located at a preset levitation position;
[0145] A feedback signal acquisition unit, used to acquire a feedback signal of the rotor;
[0146] A data pair acquisition unit is used to acquire a data pair of the frequency of the excitation signal and a first ratio according to the excitation signal and the feedback signal; the first ratio is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal.
[0147] In some embodiments, the curve acquisition module may include:
[0148] A coordinate system construction unit, configured to construct a coordinate system with the frequency of the excitation signal as the horizontal axis and the first ratio as the vertical axis;
[0149] The curve construction unit is used to construct the amplitude-frequency characteristic curve of the magnetic levitation motor on the coordinate system by using the data pairs obtained by performing multiple frequency response tests on the magnetic levitation motor.
[0150] In some embodiments, the feedback signal acquisition unit is further specifically used to: sample the feedback signal of the rotor a preset number of times within a time interval to obtain the preset number of feedback signal sampling values, and the length of the time interval is a positive integer multiple of the period of the excitation signal.
[0151] In some embodiments, the data pair acquisition unit is further specifically configured to:
[0152] For each sampling, a first product of a sampling value of a feedback signal and a value of an excitation signal at the sampling moment, and a second product of the sampling value of the feedback signal and a value of a preset signal at the sampling moment are calculated; the excitation signal is a sinusoidal signal, and the preset signal is obtained by shifting the phase of the excitation signal to the left by π / 2;
[0153] The first products corresponding to each sampling are summed to obtain a first sum value, and the second products corresponding to each sampling are summed to obtain a second sum value;
[0154] acquiring the amplitude of the feedback signal according to the first sum value, the second sum value, the length of the time interval, and the amplitude of the excitation signal;
[0155] The data pair is obtained according to the frequency of the excitation signal and the first ratio.
[0156] In some embodiments, the gain adjustment value acquisition module is further specifically configured to:
[0157] According to the amplitude-frequency characteristic curve, a maximum amplitude ratio point of a first preset frequency band and a maximum amplitude ratio point of a second preset frequency band are obtained; the maximum frequency value of the first preset frequency band is less than the minimum frequency value of the second preset frequency band, the horizontal axis of the coordinate system of the amplitude-frequency characteristic curve is the frequency of the excitation signal, and the vertical axis of the coordinate system of the amplitude-frequency characteristic curve is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal;
[0158] Obtaining the slope of a line connecting a maximum amplitude ratio point of the first preset frequency band and a maximum amplitude ratio point of the second preset frequency band;
[0159] The product of the slope and a preset constant is calculated to obtain a gain adjustment value.
[0160] In some embodiments, the gain adjustment value acquisition module is further specifically configured to:
[0161] According to the amplitude-frequency characteristic curve, obtaining the frequency corresponding to the maximum amplitude ratio point;
[0162] A gain adjustment value is obtained according to a target frequency band in which the frequency corresponding to the maximum amplitude ratio is located and a preset gain adjustment value corresponding to the target frequency band.
[0163] The gain adjustment device of the magnetic levitation motor provided in the embodiment of the present application realizes automatic gain adjustment of the magnetic levitation motor, and can quickly reach a gain that is relatively close to the optimal gain, thereby greatly improving the efficiency of gain adjustment. Manual gain adjustment is no longer required, thereby overcoming the following technical problems existing in the related art: debugging the optimal gain of the magnetic levitation motor by manual debugging requires multiple attempts, which is time-consuming and requires a high level of manual debugging experience, resulting in a technical problem of low debugging efficiency.
[0164] Another embodiment of the present application provides a chiller, in which an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the gain adjustment method of the magnetic levitation motor described in any of the above embodiments.
[0165] refer to Fig.10 As shown, the electronic device 10 may include: a processor 100, a memory 101, a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected via the bus 102; the memory 101 stores a computer program that can be run on the processor 100, and when the processor 100 runs the computer program, it executes the method provided in any of the aforementioned embodiments of the present application.
[0166] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0167] The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 101 is used to store a program, and the processor 100 executes the program after receiving an execution instruction. The method disclosed in any implementation of the aforementioned embodiment of the present application may be applied to the processor 100, or implemented by the processor 100.
[0168] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 100 or an instruction in the form of software. The above processor 100 may be a general-purpose processor, which may include a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the above method in combination with its hardware.
[0169] The chiller provided in the embodiment of the present application and the method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, operated or implemented therein.
[0170] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the gain adjustment method of the magnetic levitation motor described in any of the above embodiments. Fig.11 As shown, the computer-readable storage medium shown is a CD 20 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the method provided by any of the aforementioned embodiments will be executed.
[0171] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0172] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0173] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A gain adjustment method for a magnetic levitation motor, characterized in that: include: Conduct multiple frequency response tests on magnetic levitation motors; According to the results of the multiple frequency response tests, an amplitude-frequency characteristic curve of the magnetic levitation motor is obtained; Acquire a gain adjustment value according to the amplitude-frequency characteristic curve; The current gain of the magnetic levitation motor is adjusted according to the gain adjustment value.
2. The method according to claim 1, characterized in that The frequency response test includes: According to the rotor of the magnetic levitation motor being located at a preset levitation position, inputting an excitation signal to the rotor; Obtaining a feedback signal of the rotor; According to the excitation signal and the feedback signal, a data pair of the frequency of the excitation signal and a first ratio is obtained; the first ratio is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal.
3. The method according to claim 2, characterized in that The step of obtaining the amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests comprises: Constructing a coordinate system with the frequency of the excitation signal as the horizontal axis and the first ratio as the vertical axis; The amplitude-frequency characteristic curve of the magnetic levitation motor is constructed on the coordinate system by using the data pairs obtained by performing multiple frequency response tests on the magnetic levitation motor.
4. The method according to claim 2, characterized in that The obtaining of the feedback signal of the rotor comprises: The feedback signal of the rotor is sampled a preset number of times within a time interval to obtain the preset number of feedback signal sampling values, and the length of the time interval is a positive integer multiple of the period of the excitation signal.
5. The method according to claim 4, characterized in that The step of acquiring a data pair of a frequency and a first ratio of the excitation signal according to the excitation signal and the feedback signal comprises: For each sampling, a first product of a sampling value of a feedback signal and a value of an excitation signal at the sampling moment, and a second product of the sampling value of the feedback signal and a value of a preset signal at the sampling moment are calculated; the excitation signal is a sinusoidal signal, and the preset signal is obtained by shifting the phase of the excitation signal to the left by π / 2; The first products corresponding to each sampling are summed to obtain a first sum value, and the second products corresponding to each sampling are summed to obtain a second sum value; acquiring the amplitude of the feedback signal according to the first sum value, the second sum value, the length of the time interval, and the amplitude of the excitation signal; The data pair is obtained according to the frequency of the excitation signal and the first ratio.
6. The method according to any one of claims 1 to 5, characterized in that The obtaining of the gain adjustment value according to the amplitude-frequency characteristic curve comprises: According to the amplitude-frequency characteristic curve, a maximum amplitude ratio point of a first preset frequency band and a maximum amplitude ratio point of a second preset frequency band are obtained; the maximum frequency value of the first preset frequency band is less than the minimum frequency value of the second preset frequency band, the horizontal axis of the coordinate system of the amplitude-frequency characteristic curve is the frequency of the excitation signal, and the vertical axis of the coordinate system of the amplitude-frequency characteristic curve is the ratio of the amplitude of the feedback signal to the amplitude of the excitation signal; Obtaining the slope of a line connecting a maximum amplitude ratio point of the first preset frequency band and a maximum amplitude ratio point of the second preset frequency band; The product of the slope and a preset constant is calculated to obtain a gain adjustment value.
7. The method according to any one of claims 1 to 5, characterized in that The obtaining of the gain adjustment value according to the amplitude-frequency characteristic curve comprises: According to the amplitude-frequency characteristic curve, obtaining the frequency corresponding to the maximum amplitude ratio point; A gain adjustment value is obtained according to a target frequency band in which the frequency corresponding to the maximum amplitude ratio is located and a preset gain adjustment value corresponding to the target frequency band.
8. A gain adjustment device for a magnetic levitation motor, characterized in that: include: A test module, used to perform multiple frequency response tests on the magnetic levitation motor; A curve acquisition module, used to acquire an amplitude-frequency characteristic curve of the magnetic levitation motor according to the results of the multiple frequency response tests; A gain adjustment value acquisition module, used to acquire a gain adjustment value according to the amplitude-frequency characteristic curve; An adjustment module is used to adjust the current gain of the magnetic levitation motor according to the gain adjustment value.
9. A chiller, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the gain adjustment method of the magnetic levitation motor according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the gain adjustment method of the magnetic levitation motor according to any one of claims 1 to 7.
