CN112511064A - Motor current loop PI controller parameter self-tuning method - Google Patents
Motor current loop PI controller parameter self-tuning method Download PDFInfo
- Publication number
- CN112511064A CN112511064A CN202011232941.XA CN202011232941A CN112511064A CN 112511064 A CN112511064 A CN 112511064A CN 202011232941 A CN202011232941 A CN 202011232941A CN 112511064 A CN112511064 A CN 112511064A
- Authority
- CN
- China
- Prior art keywords
- motor current
- motor
- controller
- period
- loop
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P23/00—Arrangements or methods for the control of AC motors characterised by a control method other than vector control
- H02P23/14—Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P23/00—Arrangements or methods for the control of AC motors characterised by a control method other than vector control
- H02P23/0004—Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The invention relates to a motor current loop PI controller parameter self-tuning method, which is used for self-tuning of motor current loop PI controller parameters; the method comprises the following steps: firstly, under an open-loop mode, applying a voltage instruction to a motor, and sampling the current of the motor by taking the switching period of PWM as a sampling period to obtain a motor current sequence within a period of time; secondly, after the obtained current sequence is processed, the period and the amplitude of a main guide frequency component in the current sequence are obtained, and the gain of the current loop PI controller is obtained through calculation; and finally, calculating according to the Z-N self-setting rule to obtain a proportional coefficient and an integral coefficient of the PI controller. The method is simple and convenient, the defect of manual parameter adjustment is overcome, and the parameter setting of the motor current loop PI controller can be completed quickly and accurately.
Description
Technical Field
The invention belongs to the field of motor control, and relates to a parameter self-tuning method for a motor current loop PI controller.
Background
The current loop is the innermost loop in the motor drive and the performance of the current inner loop determines the performance of the entire motor system. The PI controller is the most commonly used controller for the current loop, and the parameters of the PI controller determine the performance of the current loop. The PI controller setting method commonly used in engineering comprises a manual regulation method and a self-setting method. The manual adjustment method is time-consuming and labor-consuming, and requires a strong engineering experience of workers. Self-tuning methods are classified into model-based parameter identification methods and non-model-based methods. The parameter identification method based on the model needs to identify the parameters accurately enough and is not suitable for the occasions with system parameter changes. The method is not based on a model, and the setting parameter has strong adaptability and high robustness.
Disclosure of Invention
Technical problem to be solved
In order to avoid the defects of the prior art, the invention provides a parameter self-tuning method of a motor current loop PI controller, which adopts a parameter self-tuning strategy not based on a model, reduces the time of manual adjustment, and has strong adaptability of the tuned parameters and high robustness compared with the self-tuning strategy based on model parameter identification.
Technical scheme
A motor current loop PI controller parameter self-tuning method is characterized by comprising the following steps:
step 1: in an open loop state, applying a voltage command u-h to a motor, collecting motor current I by taking a PWM period T as a sampling period, applying the voltage command u-h when I is greater than I and I is greater than 0, and collecting motor current for more than 10 seconds when I is less than-I to obtain an original motor current sequence I (k);
the voltage command h is more than or equal to 3 multiplied by R multiplied by I, R is the nominal resistance value of the motor, I is the current switching threshold value, and I is more than or equal to 5 multiplied by delta I; delta I is the resolution of the current sampling of the motor;
step 2: low-pass filtering the original motor current sequence i (k) to obtain a filtered motor current sequence i/(k) (ii) a For motor current sequence i/(k) Performing fast Fourier transform to obtain a motor current sequence i/(k) The period Tu and amplitude d of the pilot frequency domain portion on the frequency domain component;
and step 3: performing data processing on the period Tu and the amplitude d by adopting a relay feedback method to obtain a gain Ku of a motor current loop PI controller; and calculating to obtain a proportional coefficient Kp integral coefficient Ki of the motor current loop PI controller by adopting a Z-N controller setting rule:
wherein: d is the filtered motor current sequence i/(k) The amplitude of the dominant frequency component obtained by fast Fourier transform, Tu is the filtered motor current sequence i/(k) The period of the dominant frequency component resulting from the fast fourier transform.
The low-pass filtering process of the step 2 is as follows: i.e. i/(k)=α×i(k)+(1-α)×i/And (k-1), alpha is a low-pass filter coefficient.
Advantageous effects
The invention provides a parameter self-tuning method of a motor current loop PI controller, which is used for self-tuning of the motor current loop PI controller parameters; the method comprises the following steps: firstly, under an open-loop mode, applying a voltage instruction to a motor, and sampling the current of the motor by taking the switching period of PWM as a sampling period to obtain a motor current sequence within a period of time; secondly, after the obtained current sequence is processed, the period and the amplitude of a main guide frequency component in the current sequence are obtained, and the gain of the current loop PI controller is obtained through calculation; and finally, calculating according to the Z-N self-setting rule to obtain a proportional coefficient and an integral coefficient of the PI controller. The method is simple and convenient, the defect of manual parameter adjustment is overcome, and the parameter setting of the motor current loop PI controller can be completed quickly and accurately.
Drawings
Fig. 1 is a motor current loop control block diagram.
FIG. 2 is a parameter self-tuning flow of a motor current loop PI controller.
FIG. 3 is a schematic diagram of a voltage command applied by the motor.
Fig. 4 is a response curve of motor applied voltage and motor current.
Fig. 5 is a process flow diagram of a motor current sequence.
Detailed Description
The invention will now be further described with reference to the following examples and drawings:
in a specific implementation case, the nominal resistance R of the motor is 2.49 Ω, the rated voltage is 24V, the sampling resolution of the driver current is 5mA, and the desired closed-loop bandwidth f of the current loop is 1 kHZ.
As shown in fig. 1, it is a control block diagram of a motor current loop, and the motor current loop adopts a PI controller.
As shown in fig. 2, the method for self-tuning the parameters of the motor current loop PI controller of the present invention includes the following steps:
step 2, as shown in fig. 5, performing low-pass filtering on the motor current sequence i (k) acquired in step 1 to obtain a filtered motor current sequence i/(k) For motor current sequence i/(k) Performing fast Fourier transform to obtain a motor current sequence i/(k) The period Tu and amplitude d of the pilot frequency domain portion on the frequency domain component;
and 3, obtaining the gain Ku of the motor current loop PI controller according to a data processing mode of a relay feedback method, and calculating to obtain a proportional coefficient Kp and an integral coefficient Ki of the motor current loop PI controller according to a setting rule of the Z-N controller.
In step 1, the voltage command h and the current switching threshold I are selected according to the following formula,
wherein, Δ I is the resolution of the motor current sampling, and R is the nominal resistance value of the motor. According to the implementation case, the current sampling resolution is 5mA, in the implementation case, I is 0.1A, and the command voltage h is 1V. The motor current curve obtained after the motor applies the voltage command is shown in fig. 4.
In step 2, the original motor current sequence i (k) is subjected to low-pass filtering according to the following formula to obtain a filtered motor current sequence i/(k),
i/(k)=α×i(k)+(1-α)×i/(k-1)
Where α is a low-pass filter coefficient, which is selected in relation to the desired bandwidth of the current loop of the motor, and for the embodiment where the desired bandwidth f of the current loop is 1kHZ, α is selected
In step 3, the gain Ku of the motor current loop PI controller is obtained according to a data processing mode of a relay feedback method, the proportional coefficient Kp and the integral coefficient Ki of the motor current loop PI controller are calculated according to the setting rule of a Z-N controller, as shown in the following formula,
wherein h is the amplitude of the voltage command applied in the step 1, and d is the filtered motor current sequence i/(k) The amplitude of the dominant frequency component obtained by fast Fourier transform, Tu is the filtered motor current sequence i/(k) The period of the dominant frequency component resulting from the fast fourier transform.
Claims (2)
1. A motor current loop PI controller parameter self-tuning method is characterized by comprising the following steps:
step 1: in an open loop state, applying a voltage command u-h to a motor, collecting motor current I by taking a PWM period T as a sampling period, applying the voltage command u-h when I is greater than I and I is greater than 0, and collecting motor current for more than 10 seconds when I is less than-I to obtain an original motor current sequence I (k);
the voltage command h is more than or equal to 3 multiplied by R multiplied by I, R is the nominal resistance value of the motor, I is the current switching threshold value, and I is more than or equal to 5 multiplied by delta I; delta I is the resolution of the current sampling of the motor;
step 2: low-pass filtering the original motor current sequence i (k) to obtain a filtered motor current sequence i/(k) (ii) a For motor current sequence i/(k) Performing fast Fourier transform to obtainSequence of motor currents i/(k) The period Tu and amplitude d of the pilot frequency domain portion on the frequency domain component;
and step 3: performing data processing on the period Tu and the amplitude d by adopting a relay feedback method to obtain a gain Ku of a motor current loop PI controller; and calculating to obtain a proportional coefficient Kp integral coefficient Ki of the motor current loop PI controller by adopting a Z-N controller setting rule:
wherein: d is the filtered motor current sequence i/(k) The amplitude of the dominant frequency component obtained by fast Fourier transform, Tu is the filtered motor current sequence i/(k) The period of the dominant frequency component resulting from the fast fourier transform.
2. The motor current loop PI controller parameter self-tuning method of claim 1, characterized in that: the low-pass filtering process of the step 2 is as follows: i.e. i/(k)=α×i(k)+(1-α)×i/And (k-1), alpha is a low-pass filter coefficient.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011232941.XA CN112511064A (en) | 2020-11-06 | 2020-11-06 | Motor current loop PI controller parameter self-tuning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011232941.XA CN112511064A (en) | 2020-11-06 | 2020-11-06 | Motor current loop PI controller parameter self-tuning method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112511064A true CN112511064A (en) | 2021-03-16 |
Family
ID=74955399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011232941.XA Pending CN112511064A (en) | 2020-11-06 | 2020-11-06 | Motor current loop PI controller parameter self-tuning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112511064A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101552589A (en) * | 2009-05-14 | 2009-10-07 | 上海交通大学 | Relay feedback based AC servo system automatic setting method |
CN102426417A (en) * | 2011-12-13 | 2012-04-25 | 中冶南方(武汉)自动化有限公司 | PI (Proportional Integral) parameter mixed setting method |
CN104426448A (en) * | 2013-08-21 | 2015-03-18 | 广东美的制冷设备有限公司 | Control parameter self-setting method for compressor |
CN108696210A (en) * | 2018-05-21 | 2018-10-23 | 东南大学 | Direct current generator current loop controller methods of self-tuning based on parameter identification |
CN110853980A (en) * | 2019-12-05 | 2020-02-28 | 福州大学 | Self-adaptive suppression method for high-frequency holding noise of electromagnetic switch |
CN111404431A (en) * | 2020-04-10 | 2020-07-10 | 驰驱电气(嘉兴)有限公司 | Self-tuning control method for control parameters of servo motor |
-
2020
- 2020-11-06 CN CN202011232941.XA patent/CN112511064A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101552589A (en) * | 2009-05-14 | 2009-10-07 | 上海交通大学 | Relay feedback based AC servo system automatic setting method |
CN102426417A (en) * | 2011-12-13 | 2012-04-25 | 中冶南方(武汉)自动化有限公司 | PI (Proportional Integral) parameter mixed setting method |
CN104426448A (en) * | 2013-08-21 | 2015-03-18 | 广东美的制冷设备有限公司 | Control parameter self-setting method for compressor |
CN108696210A (en) * | 2018-05-21 | 2018-10-23 | 东南大学 | Direct current generator current loop controller methods of self-tuning based on parameter identification |
CN110853980A (en) * | 2019-12-05 | 2020-02-28 | 福州大学 | Self-adaptive suppression method for high-frequency holding noise of electromagnetic switch |
CN111404431A (en) * | 2020-04-10 | 2020-07-10 | 驰驱电气(嘉兴)有限公司 | Self-tuning control method for control parameters of servo motor |
Non-Patent Citations (1)
Title |
---|
黄操: "带锯床液压***研究与设计", 《中国优秀硕士学位论文全文数据库(工程科技Ⅰ辑)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005044349A (en) | Improved pattern recognition adaptive controller | |
CN108980441B (en) | Proportional electromagnetic valve driving method based on PWM | |
CN110520804B (en) | Method for determining a control variable of a hydraulic system | |
CN105897110B (en) | The PI parameter tuning methods of permagnetic synchronous motor high performance controller | |
US6959219B2 (en) | Control apparatus having a limit cycle auto-tuning function | |
CN111510026B (en) | Output torque estimation method and system for permanent magnet synchronous motor | |
WO1998054628A1 (en) | Method for controlling a time-lagged process with compensation, and a controlling device for carrying out said method | |
EP3642856A1 (en) | Method and device for controlling a part movable by means of a coil, and solenoid valve | |
CN112511064A (en) | Motor current loop PI controller parameter self-tuning method | |
DE112009001473T5 (en) | Systems and methods for updating a valve trip current in mass flow controllers | |
JP4955237B2 (en) | Control system and method for time-varying control target with dead time | |
CN114844403B (en) | Motor driver PID parameter self-tuning method based on improved particle swarm algorithm | |
EP3026507B1 (en) | Method for controlling a variable which can be regulated by a building technology installation | |
JP2007045687A (en) | Apparatus and method for manufacturing single crystal | |
JP2008310651A (en) | Two-degree-of-freedom control device and its control method | |
EP3469704A1 (en) | Method for adjusting an amplitude of a voltage injection of a rotating, multi-phase electric machine, which electric machine is fed by means of a pwm-controlled inverter | |
US20030214281A1 (en) | Method of detecting steady-state convergence of a signal | |
US11353843B2 (en) | Automatic evaluation of a machine behaviour | |
CN111245216B (en) | Correction method and device of PFC circuit and electronic equipment | |
CN113485091B (en) | PID controller parameter setting method, device, equipment and storage medium | |
Rigatos | A derivative-free Kalman Filtering approach for sensorless control of nonlinear systems | |
CN112510748B (en) | Direct current side stability analysis method suitable for multi-terminal direct current transmission system | |
WO2007131898A1 (en) | Regulation of the brake pressure by means of a pressure limiting valve | |
EP4260454A1 (en) | Electrical system and method and apparatus for determining a value profile of a controlled variable | |
DE102013203776A1 (en) | Method for providing control signal for valve i.e. magnetic valve, of motor vehicle, involves forming control signal by modulating dither signal to guide signal, where guide signal represents desired current flow through component of valve |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210316 |