CN118242360B - Current loop parameter determination method, device, medium, program product and control system - Google Patents
Current loop parameter determination method, device, medium, program product and control system Download PDFInfo
- Publication number
- CN118242360B CN118242360B CN202410628196.2A CN202410628196A CN118242360B CN 118242360 B CN118242360 B CN 118242360B CN 202410628196 A CN202410628196 A CN 202410628196A CN 118242360 B CN118242360 B CN 118242360B
- Authority
- CN
- China
- Prior art keywords
- current loop
- loop parameter
- current
- value
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000006073 displacement reaction Methods 0.000 claims abstract description 146
- 239000000725 suspension Substances 0.000 claims abstract description 120
- 238000012986 modification Methods 0.000 claims abstract description 30
- 230000004048 modification Effects 0.000 claims abstract description 30
- 238000005339 levitation Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 4
- 238000004088 simulation Methods 0.000 description 3
- 238000010977 unit operation Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16C—SHAFTS; FLEXIBLE SHAFTS; ELEMENTS OR CRANKSHAFT MECHANISMS; ROTARY BODIES OTHER THAN GEARING ELEMENTS; BEARINGS
- F16C32/00—Bearings not otherwise provided for
- F16C32/04—Bearings not otherwise provided for using magnetic or electric supporting means
- F16C32/0406—Magnetic bearings
- F16C32/044—Active magnetic bearings
- F16C32/0444—Details of devices to control the actuation of the electromagnets
- F16C32/0451—Details of controllers, i.e. the units determining the power to be supplied, e.g. comparing elements, feedback arrangements with P.I.D. control
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D29/00—Details, component parts, or accessories
- F04D29/05—Shafts or bearings, or assemblies thereof, specially adapted for elastic fluid pumps
- F04D29/056—Bearings
- F04D29/058—Bearings magnetic; electromagnetic
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Mechanical Engineering (AREA)
- General Physics & Mathematics (AREA)
- Magnetic Bearings And Hydrostatic Bearings (AREA)
Abstract
The invention provides a method, a device, a medium, a program product and a control system for determining current loop parameters, wherein the method comprises the following steps: detecting whether the current variation of a bearing coil of a magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value; when the current exceeds a preset current threshold value, recording the displacement precision of the magnetic suspension bearing at the moment as initial displacement precision; and continuously modifying the current loop parameter twice to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, and determining whether the first alternative current loop parameter or the second alternative current loop parameter is currently used according to a first difference value between the absolute value of the initial displacement precision and the absolute value of the first displacement precision after the modification of the first current loop parameter and a second difference value between the absolute value of the initial displacement precision and the absolute value of the second displacement precision after the modification of the second current loop parameter. The scheme of the invention can solve the problem that the response speed of the running current of the unit cannot be met in all aspects due to the fixed parameter value of the current loop.
Description
Technical Field
The present invention relates to the field of control, and in particular, to a method, apparatus, medium, program product, and control system for determining a current loop parameter. In particular to a method and a device for determining current loop parameters of a magnetic suspension compressor, a storage medium, a computer program product and a control system of the magnetic suspension compressor.
Background
In the magnetic suspension bearing control system, a stable control method is adopted for closed loop control of coil current, namely, an output value of a current sensor and an output value of a displacement ring are used as input values to the current ring, and the current ring outputs corresponding values to control PWM. In the system adopting the current control method, some control parameters in the control algorithm are often simulated according to the specification data of the bearing, and then a group of optimal parameters are determined for algorithm control according to simulation and debugging results. However, according to practical situations, a plurality of uncertain factors exist in the running process of the unit, for example, a series of problems such as unit surge and liquid carrying can lead to unstable systems, and further the problem of poor bearing precision occurs. The reason for the instability of the system is that under some severe conditions, the response speed of the bearing coil current is insufficient to resist the interference of external factors on the stable suspension of the rotor, and the whole magnetic suspension system is seriously influenced to destroy the stable operation of the unit.
Disclosure of Invention
The invention aims to overcome the defects of the related art and provides a method, a device, a medium, a program product and a control system for determining parameters of a current loop, so as to solve the problems that the response speed of the bearing coil current of a magnetic suspension compressor is insufficient and the interference of external factors on stable suspension of a rotor is not enough in the related art under certain severe conditions.
The invention provides a method for determining current loop parameters of a magnetic suspension compressor, which comprises the following steps: detecting whether the current variation of a bearing coil of a magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value; when the current variation of the bearing coil is detected to exceed a preset current threshold, recording the displacement precision of the magnetic suspension bearing at the moment as initial displacement precision; continuously modifying the current loop parameter twice to obtain a first alternative current loop parameter and a second alternative current loop parameter respectively, wherein when the first current loop parameter is modified, the initial current loop parameter is increased by a preset value to obtain the first alternative current loop parameter, and when the second current loop parameter is modified, the first alternative current loop parameter is increased by a preset value to obtain the second alternative current loop parameter; and determining whether the first alternative current loop parameter or the second alternative current loop parameter is currently used according to a first difference value of the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference value of the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified.
Optionally, determining the current use of the first alternative current loop parameter or the second alternative current loop parameter according to a first difference value between the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference value between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified includes: judging whether the first difference value and the second difference value are both larger than a preset variation threshold value or not; if the first difference value and the second difference value are judged to be larger than a preset variation threshold, comparing the first difference value with the second difference value; and if the first difference value is larger than or equal to the second difference value, determining that the first alternative current loop parameter is currently used, and if the first difference value is smaller than the second difference value, using the second alternative current loop parameter.
Optionally, determining the current use of the first alternative current loop parameter or the second alternative current loop parameter according to a first difference value between the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference value between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, and further includes: if the first difference value is judged to be larger than a preset variation threshold value, and the second difference value is judged to be not larger than the preset variation threshold value, determining that the first alternative current loop parameter is currently used; and if the first difference value is not larger than the preset variation threshold value, determining that the second alternative current loop parameter is currently used.
Optionally, the method further comprises: recording a current loop parameter used currently as a set current loop parameter, and recording the current high-low pressure difference of the magnetic suspension compressor as a high-low pressure difference threshold corresponding to the set current loop parameter.
Optionally, the method further comprises: when the current variation of the bearing coil is detected to exceed a preset current threshold, judging whether a set current loop parameter and a high-low differential pressure threshold corresponding to the set current loop parameter are recorded or not before the current loop parameter is continuously modified twice; if judging that the set current loop parameter and the high-low pressure difference threshold corresponding to the set current loop parameter are recorded, judging whether the absolute value of the difference between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than a preset difference threshold or not; and if the absolute value of the difference value between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than the preset difference value threshold, reading the set current loop parameter as the current loop parameter.
Another aspect of the present invention provides a current loop parameter determining apparatus for a magnetic levitation compressor, including: the detection unit is used for detecting whether the current variation of the bearing coil of the magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value; the first recording unit is used for recording the displacement precision of the magnetic suspension bearing at the moment as initial displacement precision when the detecting unit detects that the current variation of the bearing coil exceeds a preset current threshold value; the modification unit is used for continuously carrying out current loop parameter modification twice when the detection unit detects that the current variation of the bearing coil exceeds a preset current threshold value to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, wherein when the first current loop parameter modification is carried out, the initial current loop parameter is increased by a preset value to obtain the first alternative current loop parameter, and when the second current loop parameter modification is carried out, the first alternative current loop parameter is increased by the preset value to obtain the second alternative current loop parameter; and the determining unit is used for determining whether the first alternative current ring parameter or the second alternative current ring parameter is currently used according to a first difference value of the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current ring parameter is modified and a second difference value of the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current ring parameter is modified.
Optionally, the determining unit determines, according to a first difference between the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, whether the first alternative current loop parameter is currently used or the second alternative current loop parameter is used, where the determining unit includes: judging whether the first difference value and the second difference value are both larger than a preset variation threshold value or not; if the first difference value and the second difference value are judged to be larger than a preset variation threshold, comparing the first difference value with the second difference value; and if the first difference value is larger than or equal to the second difference value, determining that the first alternative current loop parameter is currently used, and if the first difference value is smaller than the second difference value, using the second alternative current loop parameter.
Optionally, the determining unit further includes: if the first difference value is judged to be larger than a preset variation threshold value, and the second difference value is judged to be not larger than the preset variation threshold value, determining that the first alternative current loop parameter is currently used; and if the first difference value is not larger than the preset variation threshold value, determining that the second alternative current loop parameter is currently used.
Optionally, the method further comprises: the second recording unit is used for recording the current loop parameter used currently as a set current loop parameter and recording the current high-low pressure difference of the magnetic suspension compressor as a high-low pressure difference threshold corresponding to the set current loop parameter.
Optionally, the method further comprises: the first judging unit is used for judging whether a set current loop parameter and a high-low pressure difference threshold corresponding to the set current loop parameter are recorded or not before the current loop parameter is continuously modified twice when the detecting unit detects that the current variation of the bearing coil exceeds a preset current threshold; the second judging unit is used for judging whether the absolute value of the difference value between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than a preset difference value threshold or not if the first judging unit judges that the set current loop parameter and the high-low pressure difference threshold corresponding to the set current loop parameter are recorded; and the reading unit is used for reading the set current loop parameter as the current used current loop parameter if the second judging unit judges that the absolute value of the difference value between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than the preset difference value threshold.
In a further aspect the invention provides a storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods described above.
In a further aspect the invention provides a control system for a magnetic levitation compressor comprising a processor, a memory and a computer program stored on the memory and operable on the processor to implement the steps of any of the methods described above when the program is executed by the processor.
In still another aspect, the present invention provides a control system for a magnetic levitation compressor, including any one of the aforementioned current loop parameter determining apparatuses.
In a further aspect the invention provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the methods described above.
According to the technical scheme of the invention, the current loop parameters in the current control algorithm are set to be variable, when the machine set operates, parameter modification is carried out according to the actual condition of the operation of the machine set, and the proper current loop parameters are determined and used, so that the problem that the current loop parameter value of the traditional control system is fixed and cannot meet the operation current response speed of the machine set under various working conditions in all aspects is solved, and the reliability of the whole magnetic suspension system can be improved.
According to the technical scheme of the invention, parameter modification is carried out according to the actual condition of unit operation, and the determined current loop parameters can be recorded and stored, for example, stored in a system EEPROM, when the unit operates under a certain severe working condition, the current gain suddenly becomes large, and in order to avoid insufficient current response speed, the stored current loop parameters can be directly adopted without parameter modification, determination and verification.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of a method for determining parameters of a current loop of a magnetic levitation compressor according to an embodiment of the present invention;
FIG. 2 is a flow chart of closed loop control of a magnetic bearing control system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another embodiment of a method for determining parameters of a current loop of a magnetic levitation compressor according to the present invention;
FIG. 4 is a schematic diagram of a method for determining parameters of a current loop according to an embodiment of the present invention;
FIG. 5 illustrates a method call flow diagram of the present invention, according to one embodiment of the present invention;
FIG. 6 is a block diagram illustrating an embodiment of a current loop parameter determination apparatus for a magnetic levitation compressor according to the present invention;
Fig. 7 is a block diagram of another embodiment of a current loop parameter determination apparatus for a magnetic levitation compressor according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments of the present invention and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the running process of the magnetic suspension unit, a plurality of uncertain factors, such as unit surge, liquid carrying and the like, can cause unstable systems, and further the problem of poor bearing precision is caused. The reason for the instability of the system is that under some severe conditions, the response speed of the bearing coil current is insufficient to resist the interference of external factors on the stable suspension of the rotor, and the whole magnetic suspension system is seriously influenced to destroy the stable operation of the unit.
The invention provides a method for determining parameters of a current loop for a magnetic suspension compressor.
The method is suitable for severe working conditions such as surge operation, shell tube vibration and the like in the operation process of the magnetic suspension compressor unit, so that the rotor displacement fluctuation is large, and the corresponding current gain of the control bearing coil is increased. For example, the unit runs under a high pressure difference working condition, so that surge occurs, and at the moment, the rotor displacement fluctuation is large, and the bearing precision is poor.
Fig. 1 is a schematic diagram of a method for determining a current loop parameter of a magnetic levitation compressor according to an embodiment of the present invention.
As shown in fig. 1, the current loop parameter determining method at least includes step S110, step S120, step S160 and step S170 according to an embodiment of the present invention.
Step S110, detecting whether the current variation of a bearing coil of a magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold.
Specifically, whether the bearing coil current variation |delta i| of the magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value is detected. The preset current threshold may be determined by a number of experiments and sample data analysis, for example 0.6A.
And step S120, when the current variation of the bearing coil is detected to exceed a preset current threshold, recording the displacement precision of the magnetic suspension bearing at the moment as the initial displacement precision.
For example, when it is detected that the bearing coil current variation |Δi| exceeds a preset current threshold, the bearing displacement accuracy at this time is noted as Data Front part .
Step S160, current loop parameter modification is continuously carried out twice, and a first alternative current loop parameter and a second alternative current loop parameter are respectively obtained.
And when the current loop parameter is modified for the second time, the first alternative current loop parameter is increased by a preset value to obtain a second alternative current loop parameter.
Specifically, the initial current loop parameter Ft is increased by a preset value to obtain a first alternative current loop parameter F1, and then the first alternative current loop parameter F1 is increased by a preset value to obtain a second alternative current loop parameter F2. The initial current loop parameter Ft is a preset current loop parameter, and may be determined according to simulation and test results, for example.
Step S170, determining that the first alternative current ring parameter or the second alternative current ring parameter is currently used according to the first difference value between the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current ring parameter is modified and the second difference value between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current ring parameter is modified.
Specifically, after the initial current loop parameter Ft is increased by a preset value to obtain a first alternative current loop parameter F1, the current displacement precision of the magnetic suspension bearing, that is, the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified, may be denoted as Data Rear part (S) 1, and then the first alternative current loop parameter F1 is increased by a preset value to obtain a second alternative current loop parameter F2, the current displacement precision of the magnetic suspension bearing, that is, the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, may be denoted as Data Rear part (S) 2. The absolute value of the initial displacement precision and the first difference value of the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified, namely |Data Front part |-|Data Rear part (S) 1 |, are marked as delta D 1; and a second difference between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, namely |Data Front part |-|Data Rear part (S) 2 |, is marked as delta D 2.
In a specific embodiment, judging whether the first difference value and the second difference value are both larger than a preset variation threshold value; if the first difference value and the second difference value are judged to be larger than a preset variation threshold, comparing the first difference value with the second difference value; and if the first difference value is larger than or equal to the second difference value, determining that the first alternative current loop parameter is currently used, and if the first difference value is smaller than the second difference value, using the second alternative current loop parameter.
That is, it is determined whether Δd 1=|Data Front part |-|Data Rear part (S) 1 | is greater than a preset variation threshold, and whether Δd 2=|Data Front part |-|Data Rear part (S) 1 | is greater than a preset variation threshold, for example, a preset variation threshold is 5, whether |data Front part |-|Data Rear part (S) 1 | >5 is satisfied, and whether |data Front part |-|Data Rear part (S) 2 | >5 is satisfied, if |data Front part |-|Data Rear part (S) 1 | >5 and |data Front part |-|Data Rear part (S) 1 | >5 is determined, Δd 1 and Δd 2 are compared, if Δd 1>ΔD2 is greater, the parameter F 1 is used, and otherwise the parameter F 2 is used.
More specifically, when the current variation of the bearing coil is detected to exceed a preset current threshold, performing first current loop parameter modification, increasing an initial current loop parameter by a preset value to obtain a first alternative current loop parameter, judging whether a first difference value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter modification relative to the initial displacement precision is larger than the preset variation threshold, if so, increasing the first alternative current loop parameter by the preset value again to obtain a second alternative current loop parameter, then judging whether a second difference value of the first displacement precision of the magnetic suspension bearing after the second current loop parameter modification relative to the initial displacement precision is larger than the preset variation threshold again, if so, comparing the first difference value with the second difference value, and determining the first alternative current loop parameter or the second alternative current loop parameter to be currently used according to the comparison result.
Further, if the first difference value is judged to be larger than a preset variation threshold value, and the second difference value is judged to be not larger than the preset variation threshold value, determining that the first alternative current loop parameter is currently used; and if the first difference value is not larger than the preset variation threshold value, determining that the second alternative current loop parameter is currently used.
Specifically, after the initial current loop parameter is increased by a preset value to obtain a first alternative current loop parameter, if it is determined that the first difference value of the first displacement precision Data Rear part (S) 1 of the magnetic suspension bearing after the first current loop parameter is modified is greater than a preset variation threshold value relative to the initial displacement precision Data Front part , the first alternative current loop parameter is increased by a preset value again to obtain a second alternative current loop parameter, and if it is determined that the first difference value of the second displacement precision Data Rear part (S) 2 of the magnetic suspension bearing after the second current loop parameter is modified is not greater than the preset variation threshold value relative to the initial displacement precision Data Front part again, the first alternative current loop parameter is determined to be currently used. After the initial current loop parameter is increased by a preset value to obtain a first alternative current loop parameter, if the first difference value of the first displacement precision Data Rear part (S) 1 of the magnetic suspension bearing relative to the initial displacement precision Data Front part after the first current loop parameter is modified is not larger than a preset variation threshold, the first alternative current loop parameter is increased by a preset value again to obtain a second alternative current loop parameter, and if the first difference value of the second displacement precision Data Rear part (S) 2 of the magnetic suspension bearing relative to the initial displacement precision Data Front part after the second current loop parameter is modified is judged again to be larger than a preset variation threshold, the second alternative current loop parameter is determined to be currently used.
For example, if it is determined that |data Front part |-|Data Rear part (S) 1 | >5 is satisfied, but |data Front part |-|Data Rear part (S) 2 | >5 is not satisfied, the parameter F 1 is used, whereas the parameter F 2 is used. If it is determined that |Data Front part |-|Data Rear part (S) 1 | >5 is not satisfied, but |Data Front part |-|Data Rear part (S) 1 | >5 is satisfied, then the parameter F 2 is used.
Fig. 3 is a schematic diagram of a method of another embodiment of a method for determining parameters of a current loop of a magnetic levitation compressor according to the present invention.
As shown in fig. 3, according to another embodiment of the present invention, the current loop parameter determining method further includes step S180.
Step S180, recording the current loop parameter used at present as a set current loop parameter, and recording the current high-low pressure difference of the magnetic suspension compressor as a high-low pressure difference threshold corresponding to the set current loop parameter.
For example, the current loop parameter used currently is recorded into an EEPROM as a set current loop parameter, and the high-low differential pressure of the magnetic suspension compressor at this time is recorded into the EEPROM, for example, the current loop parameter is recorded as a differential pressure Recording 1, when the next time the machine set is started and operated, if surging occurs and the current variation of the bearing coil is detected to exceed a preset current threshold, if the absolute value of the difference between the high-low differential pressure threshold (differential pressure Recording 1) and the current high-low differential pressure of the magnetic suspension compressor is judged to be smaller than the preset differential pressure threshold, the set current loop parameter is read and is used as the current loop parameter used currently. For example, the preset difference threshold is 20 kilopascals, data in the EEPROM is read, and if the differential pressure Recording 1 -differential pressure Real time | <20 is met, the set current loop parameters are directly read and used.
Further, as shown in fig. 3, the current loop parameter determining method further includes step S130, step S140, and step S150.
Step S130, when the current variation of the bearing coil is detected to exceed a preset current threshold, judging whether a set current loop parameter and a high-low differential pressure threshold corresponding to the set current loop parameter are recorded or not before the current loop parameter is continuously modified twice.
Step S140, if judging that the set current loop parameter and the high-low differential pressure threshold corresponding to the set current loop parameter are recorded, judging whether the absolute value of the difference between the high-low differential pressure threshold and the current high-low differential pressure of the magnetic suspension compressor is smaller than a preset differential pressure threshold or not;
And step S150, if the absolute value of the difference between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than the preset difference threshold, reading the set current loop parameter as the current loop parameter.
Specifically, when the current variation of the bearing coil is detected to exceed a preset current threshold, judging whether a set current loop parameter is recorded, if the set current loop parameter is recorded, judging whether the absolute value of the difference value between the high-low differential pressure threshold corresponding to the recorded set current loop parameter and the current high-low differential pressure is smaller than the preset differential value threshold, if yes, directly reading the set current loop parameter, and using the set current loop parameter, if not, continuously modifying the current loop parameter twice to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, and determining whether the first alternative current loop parameter or the second alternative current loop parameter is used currently according to the first difference value of the first displacement precision of the magnetic suspension bearing relative to the initial displacement precision and the second difference value of the second displacement precision of the magnetic suspension bearing after the first alternative current loop parameter is modified.
And if the set current loop parameter and the high-low differential pressure threshold corresponding to the set current loop parameter are not recorded, continuously modifying the current loop parameter twice to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, and determining whether the first alternative current loop parameter or the second alternative current loop parameter is currently used according to a first difference value of the first displacement precision of the magnetic suspension bearing relative to the initial displacement precision after the first current loop parameter is modified and a second difference value of the second displacement precision of the magnetic suspension bearing relative to the initial displacement precision after the second current loop parameter is modified.
For example, during startup operation, if surge occurs, for example, the compressor current continuously fluctuates and the amplitude exceeds a preset percentage (for example, exceeds 3%), and the bearing current variation exceeds 0.6A, then the data recorded in the EEPROM is read at this time, and the comparison of the high and low differential pressures of the system is performed, and if the differential pressure is Recording 1 -differential pressure Real time | <20, the current loop parameter F under the differential pressure is directly read and used. If the current loop parameter F is not recorded in the EEPROM, the current loop parameter currently used is determined according to the aforementioned steps S160 and S170.
In order to clearly illustrate the technical scheme of the present invention, a specific embodiment is used to describe the execution flow of the current loop parameter determination method provided by the present invention.
FIG. 2 is a flow chart of closed loop control of a magnetic bearing control system according to an embodiment of the invention. Fig. 4 is a schematic diagram of a method for determining parameters of a current loop according to an embodiment of the present invention.
In the magnetic bearing control system, as shown in fig. 2, the data sources for control are mainly from the rotor displacement signals collected by the displacement sensor and the bearing coil current signals collected by the current sensor. As shown in fig. 2, reference positions: is the center position of the suspension of the set rotor. A displacement ring: the displacement sensor collects real-time position feedback of the rotor and feeds the position feedback to the displacement ring for closed-loop control; current loop: the current sensor collects real-time current of the bearing and feeds the current back to the current loop for closed-loop control; and (3) power amplification: a power amplifying circuit; and a magnetic bearing: and controlling the object.
In the process of rotating the rotor at a high speed, the control system calculates a required current according to the difference between the output value of the displacement sensor and the displacement reference value, and then the control system calculates a corresponding control signal, namely a pulse width modulation duty ratio, according to the difference between the output value of the current sensor and the calculated target current. The pulse width modulation duty cycle is calculated to determine the coil charge time in one PWM wave period per control process.
Fig. 4 is a schematic diagram of a method for determining parameters of a current loop according to an embodiment of the present invention. The method is characterized in that when a magnetic levitation unit encounters severe working conditions, such as surge operation, shell tube vibration and the like, the rotor displacement fluctuation is large, and the corresponding current gain of a control bearing coil is increased. For example, the unit runs under a high pressure difference working condition, so that surge occurs, and at the moment, the rotor displacement fluctuation is large, and the bearing precision is poor. As shown in fig. 4, when the current variation (|Δi|) exceeds 0.6A, the bearing displacement accuracy is recorded as Data Front part , the parameter Ft is added with 10, then the MCU analyzes the displacement accuracy Data Rear part (S) 1, if the accuracy Data |data Front part |-|Data Rear part (S) 1 | >5 before and after the parameter modification, the parameter is recorded as F1, the displacement accuracy difference |data Front part |-|Data Rear part (S) 1 | before and after the parameter modification is recorded as Δd1, and the parameter Ft is added with 10 continuously; otherwise, the parameter Ft is not recorded, the parameter Ft is added by 10 continuously, then the MCU analyzes the displacement precision Data Rear part (S) 2, if the precision Data |Data Front part |-|Data Rear part (S) 2 | >5 before and after parameter modification, the parameter is recorded as F2, the displacement precision difference |Data Front part |-|Data Rear part (S) 2 | before and after parameter modification is recorded as delta D2, otherwise, the parameter is not recorded.
If both sets of parameters are effective, comparing the delta D1 with the delta D2, if the delta D1 is large, using the parameter F1, otherwise, using the parameter F2; if only one set of parameters is effective, the parameters at the time of the effect are used. And recording the parameters used at the moment and the high-low voltage difference of the unit into the EEPROM. When the unit is started and operated next time, if surge occurs, for example, the current of the compressor continuously fluctuates and the amplitude exceeds a preset percentage, for example, 3%. And the bearing current variation exceeds 0.6A, then the parameters stored in the EEPROM are read, and the comparison of the high pressure difference and the low pressure difference of the system is carried out, if the differential pressure Recording 1 -differential pressure Real time <20 is met, the parameter F under the differential pressure is directly read and used; if not, the parameter F is determined in the manner described above. If neither set of parameters is effective, the process is ended and the parameters are restored.
FIG. 5 illustrates a method call flow diagram of the present invention, according to an embodiment of the present invention. As shown in fig. 5, when the magnetic suspension compressor is in operation, if the magnetic suspension bearing rotor displacement fluctuates, current detection is performed, if the current exceeds a preset current threshold (0.6A in the figure), the method is called, and if the current does not exceed the preset current threshold, the method is not called.
The invention also provides a device for determining the current loop parameters of the magnetic suspension compressor.
The device is suitable for being used in the case of severe working conditions such as surge operation, shell tube vibration and the like in the operation process of the magnetic suspension compressor unit, so that the rotor displacement fluctuation is large, and the corresponding current gain of the control bearing coil is large. For example, the unit runs under a high pressure difference working condition, so that surge occurs, and at the moment, the rotor displacement fluctuation is large, and the bearing precision is poor.
Fig. 6 is a block diagram illustrating an embodiment of a current loop parameter determination apparatus for a magnetic levitation compressor according to the present invention. As shown in fig. 6, the current loop parameter determining apparatus 100 includes: a detection unit 110, a first recording unit 120, a modification unit 160 and a determination unit 170.
And the detection unit 110 is used for detecting whether the current variation of the bearing coil of the magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value.
Specifically, whether the bearing coil current variation |delta i| of the magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value is detected. The preset current threshold may be determined by a number of experiments and sample data analysis, for example 0.6A.
And a first recording unit 120, configured to record the displacement precision of the magnetic suspension bearing at this time as an initial displacement precision when the detecting unit detects that the current variation of the bearing coil exceeds a preset current threshold.
For example, when it is detected that the bearing coil current variation |Δi| exceeds a preset current threshold, the bearing displacement accuracy at this time is noted as Data Front part .
And a modifying unit 160, configured to continuously modify the current loop parameter twice when the detecting unit 110 detects that the current variation of the bearing coil exceeds the preset current threshold, so as to obtain a first alternative current loop parameter and a second alternative current loop parameter respectively.
When the first current loop parameter is modified, the initial current loop parameter is increased by a preset value to obtain a first alternative current loop parameter, and when the second current loop parameter is modified, the first alternative current loop parameter is increased by a preset value to obtain a second alternative current loop parameter;
Specifically, the initial current loop parameter Ft is increased by a preset value to obtain a first alternative current loop parameter F1, and then the first alternative current loop parameter F1 is increased by a preset value to obtain a second alternative current loop parameter F2. The initial current loop parameter Ft is a preset current loop parameter, and may be determined according to simulation and test results, for example.
And the determining unit 170 is configured to determine that the first alternative current loop parameter is currently used or the second alternative current loop parameter is currently used according to a first difference value between the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference value between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified.
Specifically, after the initial current loop parameter Ft is increased by a preset value to obtain a first alternative current loop parameter F1, the current displacement precision of the magnetic suspension bearing, that is, the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified, may be denoted as Data Rear part (S) 1, and then the first alternative current loop parameter F1 is increased by a preset value to obtain a second alternative current loop parameter F2, the current displacement precision of the magnetic suspension bearing, that is, the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, may be denoted as Data Rear part (S) 2. The absolute value of the initial displacement precision and the first difference value of the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified, namely |Data Front part |-|Data Rear part (S) 1 |, are marked as delta D 1; and a second difference between the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified, namely |Data Front part |-|Data Rear part (S) 2 |, is marked as delta D 2.
In a specific embodiment, the determining unit determines, according to a first difference value of a first displacement accuracy of the magnetic suspension bearing relative to the initial displacement accuracy after the first current loop parameter is modified and a second difference value of a second displacement accuracy of the magnetic suspension bearing relative to the initial displacement accuracy after the second current loop parameter is modified, whether the first alternative current loop parameter is currently used or the second alternative current loop parameter is currently used, including: judging whether the first difference value and the second difference value are both larger than a preset variation threshold value or not; if the first difference value and the second difference value are judged to be larger than a preset variation threshold, comparing the first difference value with the second difference value; and if the first difference value is larger than or equal to the second difference value, determining that the first alternative current loop parameter is currently used, and if the first difference value is smaller than the second difference value, using the second alternative current loop parameter.
That is, it is determined whether Δd 1=|Data Front part |-|Data Rear part (S) 1 | is greater than a preset variation threshold, and whether Δd 2=|Data Front part |-|Data Rear part (S) 1 | is greater than a preset variation threshold, for example, a preset variation threshold is 5, whether |data Front part |-|Data Rear part (S) 1 | >5 is satisfied, and whether |data Front part |-|Data Rear part (S) 2 | >5 is satisfied, if |data Front part |-|Data Rear part (S) 1 | >5 and |data Front part |-|Data Rear part (S) 1 | >5 is determined, Δd 1 and Δd 2 are compared, if Δd 1>ΔD2 is greater, the parameter F 1 is used, and otherwise the parameter F 2 is used.
More specifically, when the current variation of the bearing coil is detected to exceed a preset current threshold, performing first current loop parameter modification to increase an initial current loop parameter by a preset value to obtain a first alternative current loop parameter, judging whether a first difference value of a first displacement precision of the magnetic suspension bearing after the first current loop parameter modification relative to the initial displacement precision is larger than the preset variation threshold, if so, increasing the first alternative current loop parameter by the preset value again to obtain a second alternative current loop parameter, then judging whether a second difference value of the first displacement precision of the magnetic suspension bearing after the second current loop parameter modification relative to the initial displacement precision is larger than the preset variation threshold again, if so, comparing the first difference value with the second difference value, and determining the first alternative current loop parameter or the second alternative current loop parameter to be currently used according to the comparison result.
Further, the determining unit determines, according to a first difference value of a first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified relative to the initial displacement precision and a second difference value of a second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified relative to the initial displacement precision, whether the first alternative current loop parameter is currently used or the second alternative current loop parameter is currently used, and further includes: if the first difference value is judged to be larger than a preset variation threshold value, and the second difference value is judged to be not larger than the preset variation threshold value, determining that the first alternative current loop parameter is currently used; and if the first difference value is not larger than the preset variation threshold value, determining that the second alternative current loop parameter is currently used.
Specifically, after the initial current loop parameter is increased by a preset value to obtain a first alternative current loop parameter, if it is determined that the first difference value of the first displacement precision Data Rear part (S) 1 of the magnetic suspension bearing after the first current loop parameter is modified is greater than a preset variation threshold value relative to the initial displacement precision Data Front part , the first alternative current loop parameter is increased by a preset value again to obtain a second alternative current loop parameter, and if it is determined that the first difference value of the second displacement precision Data Rear part (S) 2 of the magnetic suspension bearing after the second current loop parameter is modified is not greater than the preset variation threshold value relative to the initial displacement precision Data Front part again, the first alternative current loop parameter is determined to be currently used. After the initial current loop parameter is increased by a preset value to obtain a first alternative current loop parameter, if the first difference value of the first displacement precision Data Rear part (S) 1 of the magnetic suspension bearing relative to the initial displacement precision Data Front part after the first current loop parameter is modified is not larger than a preset variation threshold, the first alternative current loop parameter is increased by a preset value again to obtain a second alternative current loop parameter, and if the first difference value of the second displacement precision Data Rear part (S) 2 of the magnetic suspension bearing relative to the initial displacement precision Data Front part after the second current loop parameter is modified is judged again to be larger than a preset variation threshold, the second alternative current loop parameter is determined to be currently used.
For example, if it is determined that |data Front part |-|Data Rear part (S) 1 | >5 is satisfied, but |data Front part |-|Data Rear part (S) 2 | >5 is not satisfied, the parameter F 1 is used, whereas the parameter F 2 is used. If it is determined that |Data Front part |-|Data Rear part (S) 1 | >5 is not satisfied, but |Data Front part |-|Data Rear part (S) 1 | >5 is satisfied, then the parameter F 2 is used.
Fig. 7 is a block diagram of another embodiment of a current loop parameter determination apparatus for a magnetic levitation compressor according to the present invention. As shown in fig. 7, the current loop parameter determining apparatus 100 further includes: a second recording unit 180.
The second recording unit 180 is configured to record a current loop parameter currently used as a set current loop parameter, and record a current high-low pressure difference of the magnetic suspension compressor as a high-low pressure difference threshold corresponding to the set current loop parameter.
For example, the current loop parameter used currently is recorded into an EEPROM as a set current loop parameter, and the high-low differential pressure of the magnetic suspension compressor at this time is recorded into the EEPROM, for example, the current loop parameter is recorded as a differential pressure Recording 1, when the next time the machine set is started and operated, if surging occurs and the bearing coil current variation is detected to exceed a preset current threshold, if the absolute value of the difference between the high-low differential pressure threshold (differential pressure Recording 1) and the current high-low differential pressure (differential pressure Real time ) of the magnetic suspension compressor is judged to be smaller than the preset differential pressure threshold, the set current loop parameter is read and is used as the current loop parameter used currently. For example, the preset difference threshold is 20 kilopascals, data in the EEPROM is read, and if the differential pressure Recording 1 -differential pressure Real time | <20 is met, the set current loop parameters are directly read and used.
Further, as shown in fig. 7, the current loop parameter determining apparatus further includes a first judging unit 130, a second judging unit 140, and a reading unit 150.
And the first judging unit 130 is configured to judge whether a set current loop parameter and a high-low differential pressure threshold corresponding to the set current loop parameter are recorded before the current loop parameter is modified twice continuously when the detecting unit detects that the current variation of the bearing coil exceeds the preset current threshold.
And a second judging unit 140, configured to, if the first judging unit 130 judges that the set current loop parameter and the high-low differential pressure threshold corresponding to the set current loop parameter are recorded, judge whether the absolute value of the difference between the high-low differential pressure threshold and the current high-low differential pressure of the magnetic suspension compressor is smaller than a preset differential pressure threshold.
And a reading unit 150, configured to read the set current loop parameter as the current loop parameter if the second determining unit 140 determines that the absolute value of the difference between the high-low differential pressure threshold and the current high-low differential pressure of the magnetic levitation compressor is smaller than the preset differential pressure threshold.
Specifically, when the current variation of the bearing coil is detected to exceed a preset current threshold, judging whether a set current loop parameter is recorded, if the set current loop parameter is recorded, judging whether the absolute value of the difference value between the high-low differential pressure threshold corresponding to the recorded set current loop parameter and the current high-low differential pressure is smaller than the preset differential value threshold, if yes, directly reading the set current loop parameter, and using the set current loop parameter, if not, continuously modifying the current loop parameter twice to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, and determining whether the first alternative current loop parameter or the second alternative current loop parameter is used currently according to the first difference value of the first displacement precision of the magnetic suspension bearing relative to the initial displacement precision and the second difference value of the second displacement precision of the magnetic suspension bearing after the first alternative current loop parameter is modified.
And if the set current loop parameter and the high-low differential pressure threshold corresponding to the set current loop parameter are not recorded, continuously modifying the current loop parameter twice to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, and determining whether the first alternative current loop parameter or the second alternative current loop parameter is currently used according to a first difference value of the first displacement precision of the magnetic suspension bearing relative to the initial displacement precision after the first current loop parameter is modified and a second difference value of the second displacement precision of the magnetic suspension bearing relative to the initial displacement precision after the second current loop parameter is modified.
For example, during startup operation, if surge occurs, for example, the compressor current continuously fluctuates and the amplitude exceeds a preset percentage (for example, exceeds 3%), and the bearing current variation exceeds 0.6A, then the data recorded in the EEPROM is read at this time, and the comparison of the high and low differential pressures of the system is performed, and if the differential pressure is Recording 1 -differential pressure Real time | <20, the current loop parameter F under the differential pressure is directly read and used. If the current loop parameter F is not recorded in the EEPROM, the current loop parameter currently used is determined according to the aforementioned steps S160 and S170.
The invention also provides a storage medium corresponding to the current loop parameter determination method, on which a computer program is stored, which program, when being executed by a processor, implements the steps of any of the methods described above.
The invention also provides a control system of the magnetic suspension compressor corresponding to the current loop parameter determination method, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of any one of the methods when executing the program.
The invention also provides a control system of the magnetic suspension compressor corresponding to the current loop parameter determining device, which comprises any one of the current loop parameter determining devices.
The invention also provides a computer program product corresponding to the method for determining current loop parameters, comprising a computer program which, when executed by a processor, implements the steps of any of the methods described above.
According to the scheme provided by the invention, the current loop parameters in the current control algorithm are set to be variable, when the unit operates, parameter modification is carried out according to the actual condition of unit operation, and the proper current loop parameters are determined and used, so that the problem that the current loop parameter value of the traditional control system is fixed and cannot meet the operation current response speed of the unit under various working conditions in all aspects is solved, and the reliability of the whole magnetic suspension system can be improved.
According to the scheme provided by the invention, parameter modification is carried out according to the actual condition of unit operation, the determined current loop parameters can be recorded and stored, for example, the current loop parameters are stored in a system EEPROM, when the unit operates under a certain severe working condition, the current gain suddenly becomes large, and in order to avoid insufficient current response speed, the stored current loop parameters can be directly adopted, and parameter modification, determination and verification are not needed.
The scheme provided by the invention has the capability of self-training the current loop parameters of the unit under severe working conditions; the trained current loop parameter F can be stored in an EEPROM; the current control system again can directly read and use the current loop parameter values in the EEPROM in the face of similar larger current gain.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software that is executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate components may or may not be physically separate, and components as control devices may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the related art or all or part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only an example of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (10)
1. The method for determining the current loop parameters of the magnetic suspension compressor is characterized by comprising the following steps of:
Detecting whether the current variation of a bearing coil of a magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value;
when the current variation of the bearing coil is detected to exceed a preset current threshold, recording the displacement precision of the magnetic suspension bearing at the moment as initial displacement precision;
Continuously modifying the current loop parameter twice to obtain a first alternative current loop parameter and a second alternative current loop parameter respectively, wherein when the first current loop parameter is modified, the initial current loop parameter is increased by a preset value to obtain the first alternative current loop parameter, and when the second current loop parameter is modified, the first alternative current loop parameter is increased by a preset value to obtain the second alternative current loop parameter;
And determining whether the first alternative current loop parameter or the second alternative current loop parameter is currently used according to a first difference value of the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current loop parameter is modified and a second difference value of the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current loop parameter is modified.
2. The method of claim 1, wherein determining whether the first alternative current loop parameter is currently used or the second alternative current loop parameter is used based on a first difference in absolute value of the initial displacement accuracy and the first displacement accuracy of the magnetic bearing modified by the first current loop parameter and a second difference in absolute value of the initial displacement accuracy and the second displacement accuracy of the magnetic bearing modified by the second current loop parameter, comprising:
judging whether the first difference value and the second difference value are both larger than a preset variation threshold value or not;
if the first difference value and the second difference value are judged to be larger than a preset variation threshold, comparing the first difference value with the second difference value;
And if the first difference value is larger than or equal to the second difference value, determining that the first alternative current loop parameter is currently used, and if the first difference value is smaller than the second difference value, using the second alternative current loop parameter.
3. The method of claim 2, wherein the first difference in absolute value of the first displacement accuracy of the magnetic bearing based on the initial displacement accuracy and the first current loop parameter modified and the second difference in absolute value of the initial displacement accuracy and the second displacement accuracy of the magnetic bearing based on the second current loop parameter modified, further comprising:
If the first difference value is judged to be larger than a preset variation threshold value, and the second difference value is judged to be not larger than the preset variation threshold value, determining that the first alternative current loop parameter is currently used;
And if the first difference value is not larger than the preset variation threshold value, determining that the second alternative current loop parameter is currently used.
4. A method according to any one of claims 1-3, further comprising:
Recording a current loop parameter used currently as a set current loop parameter, and recording the current high-low pressure difference of the magnetic suspension compressor as a high-low pressure difference threshold corresponding to the set current loop parameter.
5. The method as recited in claim 4, further comprising:
when the current variation of the bearing coil is detected to exceed a preset current threshold, judging whether a set current loop parameter and a high-low differential pressure threshold corresponding to the set current loop parameter are recorded or not before the current loop parameter is continuously modified twice;
If judging that the set current loop parameter and the high-low pressure difference threshold corresponding to the set current loop parameter are recorded, judging whether the absolute value of the difference between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than a preset difference threshold or not;
And if the absolute value of the difference value between the high-low pressure difference threshold and the current high-low pressure difference of the magnetic suspension compressor is smaller than the preset difference value threshold, reading the set current loop parameter as the current loop parameter.
6. A current loop parameter determining apparatus for a magnetic levitation compressor, comprising:
the detection unit is used for detecting whether the current variation of the bearing coil of the magnetic suspension bearing of the magnetic suspension compressor exceeds a preset current threshold value;
the first recording unit is used for recording the displacement precision of the magnetic suspension bearing at the moment as initial displacement precision when the detecting unit detects that the current variation of the bearing coil exceeds a preset current threshold value;
The modification unit is used for continuously carrying out current loop parameter modification twice when the detection unit detects that the current variation of the bearing coil exceeds a preset current threshold value to respectively obtain a first alternative current loop parameter and a second alternative current loop parameter, wherein when the first current loop parameter modification is carried out, the initial current loop parameter is increased by a preset value to obtain the first alternative current loop parameter, and when the second current loop parameter modification is carried out, the first alternative current loop parameter is increased by the preset value to obtain the second alternative current loop parameter;
And the determining unit is used for determining whether the first alternative current ring parameter or the second alternative current ring parameter is currently used according to a first difference value of the absolute value of the initial displacement precision and the absolute value of the first displacement precision of the magnetic suspension bearing after the first current ring parameter is modified and a second difference value of the absolute value of the initial displacement precision and the absolute value of the second displacement precision of the magnetic suspension bearing after the second current ring parameter is modified.
7. A storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of claims 1-5.
8. A control system for a magnetic levitation compressor, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, said processor implementing the steps of the method according to any of claims 1-5 when said program is executed by said processor.
9. A control system for a magnetic levitation compressor comprising a current loop parameter determining apparatus as defined in claim 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410628196.2A CN118242360B (en) | 2024-05-21 | 2024-05-21 | Current loop parameter determination method, device, medium, program product and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410628196.2A CN118242360B (en) | 2024-05-21 | 2024-05-21 | Current loop parameter determination method, device, medium, program product and control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118242360A CN118242360A (en) | 2024-06-25 |
CN118242360B true CN118242360B (en) | 2024-07-26 |
Family
ID=91558841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410628196.2A Active CN118242360B (en) | 2024-05-21 | 2024-05-21 | Current loop parameter determination method, device, medium, program product and control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118242360B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113280042A (en) * | 2021-05-21 | 2021-08-20 | 珠海格力电器股份有限公司 | Control device and method of magnetic suspension bearing and magnetic suspension system |
CN116928218A (en) * | 2023-07-13 | 2023-10-24 | 珠海格力电器股份有限公司 | Magnetic bearing control method and device, magnetic bearing and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5003879B2 (en) * | 2007-03-30 | 2012-08-15 | 株式会社Ihi | Electromagnetic suction type magnetic bearing and its control method |
GB2503039B (en) * | 2012-06-15 | 2020-05-27 | Danfoss Drives As | Method for controlling a synchronous reluctance electric motor |
CN117519070A (en) * | 2023-10-23 | 2024-02-06 | 合肥阳光电动力科技有限公司 | Method, device, system and storage medium for testing motor controller |
-
2024
- 2024-05-21 CN CN202410628196.2A patent/CN118242360B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113280042A (en) * | 2021-05-21 | 2021-08-20 | 珠海格力电器股份有限公司 | Control device and method of magnetic suspension bearing and magnetic suspension system |
CN116928218A (en) * | 2023-07-13 | 2023-10-24 | 珠海格力电器股份有限公司 | Magnetic bearing control method and device, magnetic bearing and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118242360A (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109667728B (en) | Fault detection method and device for wind generating set rotating speed sensor | |
CN106269310A (en) | Surge control method and system | |
CN118242360B (en) | Current loop parameter determination method, device, medium, program product and control system | |
CN113176501B (en) | Equipment fault detection method and equipment based on Internet of things and storage medium | |
CN113654225B (en) | Control method and system of compressor and air conditioner | |
CN114112459B (en) | Air conditioner test operation control method and air conditioner | |
CN113014145B (en) | Control system and method of magnetic suspension motor and storage medium | |
US20190199251A1 (en) | Semiconductor device and method of detecting its rotation abnormality | |
CN111426041B (en) | Method and system for quickly stabilizing frequency of variable frequency air conditioner compressor and air conditioner device | |
CN112628006A (en) | Engine intake pressure credibility detection method, device, equipment and storage medium | |
EP2259028A2 (en) | Electromagnetic Flow Meter | |
CN116044901A (en) | Magnetic suspension compressor and control method and device thereof | |
CN112821835B (en) | Parameter determination method and device and air conditioner | |
CN110870661A (en) | Fan operation control method and device, fan, cooking appliance and storage medium | |
CN114962631A (en) | Retarder electromagnetic valve control method, device, equipment and medium | |
EP1926090A2 (en) | Head control device, storage device and maximum power determining method | |
CN117134676B (en) | Parameter correction method, servo system, electronic device and storage medium | |
CN114904665B (en) | Anti-surge control method and device for magnetic suspension centrifuge and storage medium | |
CN115217847B (en) | Magnetic suspension control system, control method and device thereof and storage medium | |
US7069133B2 (en) | Wheel speed calculation method | |
CN115045769B (en) | Engine load control system and method, electronic terminal and storage medium | |
KR100195009B1 (en) | Voice signal detection circuit of audio reproducing apparatus and method | |
US20240340581A1 (en) | Speaker displacement protection method and device, and computer-readable storage medium | |
CN111749903B (en) | Control method, control system, and electric pump | |
CN117629628A (en) | Method and device for detecting parameters of magnetic suspension bearing and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |