CN104852654A - Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm - Google Patents
Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm Download PDFInfo
- Publication number
- CN104852654A CN104852654A CN201510099931.6A CN201510099931A CN104852654A CN 104852654 A CN104852654 A CN 104852654A CN 201510099931 A CN201510099931 A CN 201510099931A CN 104852654 A CN104852654 A CN 104852654A
- Authority
- CN
- China
- Prior art keywords
- honeybee
- bee colony
- nectar source
- artificial bee
- value
- 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
Landscapes
- Control Of Ac Motors In General (AREA)
Abstract
The invention discloses a permanent magnet synchronous motor speed loop control parameter optimization method based on an artificial bee colony algorithm. A artificial bee colony PID controller is employed to replace a conventional PID controller, self-tuning of parameters is automatically realized and applied to a speed loop of a permanent magnet alternating current vector control system, and accurate tracking of the speed of an alternating current servo system is realized. The method specifically includes: to-be-tuned parameters are regarded as nectar sources, and the optimal parameter combination is searched by the adoption of a specific role changing mechanism by the bee colony. The invention designs a fitness function including an overshoot penalty term in order to determine whether the nectar sources are the optimal. Compared with the conventional PID controller, according to the method, the dynamic performance of the servo system can be effectively improved, and no-overshoot control of the speed of the permanent magnet synchronous motor is realized.
Description
Technical field
The present invention relates to a kind of high accuracy PMSM Servo System method for control speed, particularly a kind of artificial bee colony optimization method of permagnetic synchronous motor speed ring parameter, belongs to high-precision AC SERVO CONTROL field.
Background technology
Permagnetic synchronous motor is little owing to having volume, and torque pulsation is little, and power density advantages of higher, is widely used in field of industrial automation control, particularly the high accuracy SERVO CONTROL field such as Aero-Space, industrial robot, special process equipment.Therefore also more and more higher to the requirement of its speed adjusting performance.
AC servo generally adopts vector control strategy, and in vector control system, speed ring is in order to improve stability and the rapidity of speed, and its performance quality directly has influence on the performance of whole servo system.And industry spot the most often uses is still PID controller, it is simple that it has algorithm, and robustness is good, high reliability.Permagnetic synchronous motor is non-linear a, close coupling, multivariable complication system, and the quality of system speed adjusting performance depends primarily on adjusting of PID controller parameter.So-called speed ring parameter tuning, namely searches out the parameter of one group of optimum, makes AC servo obtain good speed adjusting performance in numerous possible parameter combinations.
Artificial bee colony algorithm is the bionic intelligence evolution algorithm that a kind of simulation bee colony of latest development finds excellent nectar source.This algorithm dexterously honeybee populations is divided into lead honeybee, follow honeybee, the different role such as investigation honeybee, honeybee links together with concrete nectar source, likely separating in nectar source and solution space.Bee colony to the search procedure in nectar source is: 1, lead honeybee and concrete nectar source to link together, it finds nectar source, and shares nectar source information by swing; 2, follow honeybee according to the Information Selection leading honeybee to share nectar source, and carry out gathering honey in its vicinity, find new nectar source, if search the nectar source of higher fitness, then follow honeybee and change into and lead honeybee; 3, honeybee is led repeatedly to search near its previous nectar source neighborhood searched, when repeatedly searching for the nectar source finding higher fitness not yet, then abandoning this nectar source, changing investigation honeybee into, the new nectar source of random search, changes into again when it searches the nectar source of high fitness and leads honeybee.This algorithm outstanding advantages all carries out the overall situation and Local Search in each iterative process, is not easily absorbed in local optimum, and easily restrains.
Summary of the invention
The object of the invention is the dynamic responding speed in order to accelerate permagnetic synchronous motor, improving the problems such as existing velocity control accuracy is limited, designing a kind of new controller based on artificial bee colony algorithm, realize the high precision tracking to permagnetic synchronous motor given speed.
In order to achieve the above object, technical scheme of the present invention there is provided a kind of permagnetic synchronous motor speed ring Optimization about control parameter method based on artificial bee colony algorithm, it is characterized in that, comprises the following steps:
Step one: the three-phase current signal i utilizing current sensor motor in real time
a, i
b, i
c, as the feedback quantity of the electric current loop of vector control system after Clarke transform, park transforms; Photoelectric encoder is utilized to detect rotor-position and the tach signal of motor, and using the feedback quantity of tachometer value as the speed ring of vector control system;
Step 2: the value of feedback of speed ring and set-point are compared, comparative result is sent into artificial bee colony PID controller, and using the given value of current of the output variable of artificial bee colony PID controller as the q axle of motor, meanwhile, the given value of current of the d axle of motor adopts i
d *=0, wherein, being designed to of artificial bee colony PID controller:
Regard the parameter Kp to be optimized of the speed ring of vector control system, a certain class value of Ki and Kd as a nectar source, the span of these three parameters is regarded as the search volume of bee colony, remember that its Spatial Dimension is D, honeybee populations algebraically is n, and honeybee adds up to N
a, wherein, lead honeybee scale to be N
g, following honeybee scale is N
f, in the search incipient stage, stochastic generation N
aindividual nectar source, namely obtains initial solution
and have:
In formula (1), Ub and Lb is respectively the bound of search volume, j ∈ 1,2 ..., D} is certain component of the D dimension solution vector of optimised parameter composition;
Calculate the fitness that each is separated again, by N before rank
gsolution lead honeybee population X (0) as initial generation, honeybee X is led for the n-th generation
i(n), i ∈ 1,2 ..., N
g, carry out neighborhood search in i position, nectar source, namely have:
In formula (2), l is random integers in [1, D], represents and leads honeybee Stochastic choice one dimension to search for, k ∈ 1,2 ..., N
g, stochastic generation and k ≠ l,
for the random number between [-1,1], and must ensure that the V generated is in solution space;
Adopt greedy back-and-forth method at nectar source V
iand X
iin choose more excellent fitness nectar source remain to population of future generation, to lead nectar source information sharing after the search of honeybee perfect (2) when all, then, respectively follow honeybee and select one to lead honeybee according to leading honeybee Population adaptation angle value, and equally its neighborhood is searched for, select probability is:
In formula (3), f (X
i) be the fitness value in i-th nectar source;
If certain only leads honeybee searching times times around it to reach certain threshold value Limit and does not find more excellent solution yet, then abandon this nectar source, the corresponding honeybee that leads changes investigation honeybee into, reinitializes the nectar source that this leads honeybee corresponding, that is: simultaneously
Step 3: the given value of current in step 2 is sent into PI controller more afterwards with the feedback quantity of the electric current loop in step one, obtains the d axle component u of stator voltage
dand q axle component u
q, run through Parker's inverse transformation and SVPWM module rear drive motor.
Preferably, whether optimumly fitness function f (t) comprising overshoot penalty term is adopted to carry out pricing vector control system medium velocity ring controling parameters, this fitness function f (t) comprises the time and is multiplied by Error Absolute Value integral performance index ITAE and system overshoot Mp, that is:
Beneficial effect of the present invention is: the present invention makes full use of the advantage that artificial bee colony algorithm all carries out the overall situation and Local Search in each iterative process, effectively can avoid the local optimum of speed ring controling parameters, fitness function simultaneously comprises overshoot penalty term, effectively can suppress the overshoot of speed, be suitable for the optimal control of permanent magnet ac servo system speed ring.
Accompanying drawing explanation
Fig. 1 is permanent magnet synchronous motor vector control system structured flowchart;
Fig. 2 is artificial bee colony PID controller structured flowchart;
Fig. 3 is the speed preset value of permagnetic synchronous motor;
Fig. 4 is the speed tracing effect adopting artificial bee colony PID controller;
Fig. 5 is the speed tracing effect adopting conventional PID controllers.
Embodiment
For making the present invention become apparent, be hereby described in detail below with preferred embodiment.
Composition graphs 1-5, adopts artificial bee colony algorithm to optimize permagnetic synchronous motor speed ring controling parameters.
Choosing permagnetic synchronous motor parameter is: rated power P=1.5KW; Nominal torque Tn=10Nm; Stator resistance R=0.4 Ω; Stator inductance L=0.85mH; Number of pole-pairs p=4; Moment of inertia J=9kgcm
2.
Step one: the three-phase current signal i utilizing current sensor motor in real time
a, i
b, i
c, as the feedback quantity of electric current loop after Clarke transform, park transforms, utilize photoelectric encoder to detect motor rotor position and tach signal, and using the feedback quantity of tachometer value as speed ring.
Step 2: the feedback quantity of step one medium velocity ring and set-point are compared, comparative result is sent into artificial bee colony PID controller, and using the given value of current of the output variable of controller as q axle, d shaft current given employing i simultaneously
d *=0.
As shown in Figure 2, its execution mode is artificial bee colony PID controller structured flowchart:
Regard the parameter Kp to be optimized of the speed ring of vector control system, a certain class value of Ki and Kd as a nectar source, the span of these three parameters is regarded as the search volume of bee colony, remember that its Spatial Dimension is D, corresponding three parameters to be optimized in this example, therefore D=3, honeybee populations algebraically is n, and the maximum iteration time that in this example, iterations n is corresponding is set as Cycle=50, and honeybee adds up to N
a, in this example, get N
a=20, wherein, lead honeybee scale to be N
g, following honeybee scale is N
f, in the search incipient stage, stochastic generation N
aindividual nectar source, namely obtains initial solution
and have:
In formula (4), Ub and Lb is respectively the bound of search volume, j ∈ 1,2 ..., D} is certain component of the D dimension solution vector of optimised parameter composition;
Calculate the fitness that each is separated again, by N before rank
gsolution lead honeybee population X (0) as initial generation, honeybee X is led for the n-th generation
i(n), i ∈ 1,2 ..., N
g, carry out neighborhood search in i position, nectar source, namely have:
In formula (5), l is random integers in [1, D], represents and leads honeybee Stochastic choice one dimension to search for, k ∈ 1,2 ..., N
g, stochastic generation and k ≠ l,
for the random number between [-1,1], and must ensure that the V generated is in solution space;
Adopt greedy back-and-forth method at nectar source V
iand X
iin choose more excellent fitness nectar source remain to population of future generation, to lead nectar source information sharing after the search of honeybee perfect (5) when all, then, respectively follow honeybee and select one to lead honeybee according to leading honeybee Population adaptation angle value, and equally its neighborhood is searched for, select probability is:
In formula (6), f (X
i) be the fitness value in i-th nectar source;
If certain only leads honeybee searching times times around it to reach certain threshold value Limit and does not find more excellent solution yet, setting search threshold value Limit=80 in this example, then abandon this nectar source, and the corresponding honeybee that leads changes investigation honeybee into, reinitialize the nectar source that this leads honeybee corresponding, that is: simultaneously
Step 3: the given value of current in step 2 is sent into PI controller more afterwards with the feedback quantity of the electric current loop in step one, obtains the d axle component u of stator voltage
dand q axle component u
q, run through Parker's inverse transformation and SVPWM module rear drive motor.
In order to whether pricing vector control system medium velocity ring controling parameters is optimum, need design one accurately can reflect the fitness function of governing system performance requirement, the present invention is in order to suppress the over control of permanent magnet synchronous electric motor speed, accelerate the dynamic effect of its speed tracing simultaneously, devise fitness function f (t) comprising overshoot penalty term, it, primarily of two part compositions, is respectively: the time is multiplied by Error Absolute Value integral performance index ITAE and system overshoot Mp, that is:
In formula (8), t is the time, and e (t) is velocity error, and α, β are respectively punishment weights.
Thus, nectar source quality is higher, and the fitness value of its correspondence is larger, and mean that the time is multiplied by Error Absolute Value integral performance index ITAE less, simultaneity factor overshoot Mp is also less.Thus guide honeybee populations search best parameter group, make whole governing system obtain good dynamic and static state performance.
As shown in Figure 3, its value is the square-wave signal suddenlyd change between-1000r/min and+1000r/min to the speed preset value of permagnetic synchronous motor, and its cycle is 0.1s.
Fig. 4 and Fig. 5 is respectively the permagnetic synchronous motor speed tracing effect adopting artificial bee colony PID controller and adopt conventional PID controllers, as can be seen from waveform in figure, during given rotating speed sudden change, artificial bee colony PID controller still can tracing preset signal rapidly, almost non-overshoot, and conventional PID controllers just can will return to given through the long period, and overshoot is comparatively large, cannot follow Setting signal rapidly and accurately.
Punish weights α in the present invention, choosing of β can change neatly according to the tracking effect of speed, thus guides honeybee populations to search high-quality nectar source, makes permagnetic synchronous motor obtain preferably speed adjusting performance.
Above-described embodiment is only for explaining inventive concept of the present invention, but not the restriction to rights protection of the present invention, any change utilizing this design to carry out unsubstantiality, all falls into protection scope of the present invention.
Claims (2)
1., based on a permagnetic synchronous motor speed ring Optimization about control parameter method for artificial bee colony algorithm, it is characterized in that, comprise the following steps:
Step one: the three-phase current signal i utilizing current sensor motor in real time
a, i
b, i
c, as the feedback quantity of the electric current loop of vector control system after Clarke transform, park transforms; Photoelectric encoder is utilized to detect rotor-position and the tach signal of motor, and using the feedback quantity of tachometer value as the speed ring of vector control system;
Step 2: the value of feedback of speed ring and set-point are compared, comparative result is sent into artificial bee colony PID controller, and using the given value of current of the output variable of artificial bee colony PID controller as the q axle of motor, meanwhile, the given value of current of the d axle of motor adopts i
d *=0, wherein, being designed to of artificial bee colony PID controller:
Regard the parameter Kp to be optimized of the speed ring of vector control system, a certain class value of Ki and Kd as a nectar source, the span of these three parameters is regarded as the search volume of bee colony, remember that its Spatial Dimension is D, honeybee populations algebraically is n, and honeybee adds up to N
a, wherein, lead honeybee scale to be N
g, following honeybee scale is N
f, in the search incipient stage, stochastic generation N
aindividual nectar source, namely obtains initial solution
and have:
In formula (1), Ub and Lb is respectively the bound of search volume, j ∈ 1,2 ..., D} is certain component of the D dimension solution vector of optimised parameter composition;
Calculate the fitness that each is separated again, by N before rank
gsolution lead honeybee population X (0) as initial generation, honeybee X is led for the n-th generation
i(n), i ∈ 1,2 ..., N
g, carry out neighborhood search in i position, nectar source, namely have:
In formula (2), l is random integers in [1, D], represents and leads honeybee Stochastic choice one dimension to search for, k ∈ 1,2 ..., N
g, stochastic generation and k ≠ l,
for the random number between [-1,1], and must ensure that the V generated is in solution space;
Adopt greedy back-and-forth method at nectar source V
iand X
iin choose more excellent fitness nectar source remain to population of future generation, to lead nectar source information sharing after the search of honeybee perfect (2) when all, then, respectively follow honeybee and select one to lead honeybee according to leading honeybee Population adaptation angle value, and equally its neighborhood is searched for, select probability is:
In formula (3), f (X
i) be the fitness value in i-th nectar source;
If certain only leads honeybee searching times times around it to reach certain threshold value Limit and does not find more excellent solution yet, then abandon this nectar source, the corresponding honeybee that leads changes investigation honeybee into, reinitializes the nectar source that this leads honeybee corresponding, that is: simultaneously
Step 3: the given value of current in step 2 is sent into PI controller more afterwards with the feedback quantity of the electric current loop in step one, obtains the d axle component u of stator voltage
dand q axle component u
q, run through Parker's inverse transformation and SVPWM module rear drive motor.
2. a kind of permagnetic synchronous motor speed ring Optimization about control parameter method based on artificial bee colony algorithm as claimed in claim 1, it is characterized in that, whether optimumly fitness function f (t) comprising overshoot penalty term is adopted to carry out pricing vector control system medium velocity ring controling parameters, this fitness function f (t) comprises the time and is multiplied by Error Absolute Value integral performance index ITAE and system overshoot Mp, that is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510099931.6A CN104852654A (en) | 2015-03-06 | 2015-03-06 | Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510099931.6A CN104852654A (en) | 2015-03-06 | 2015-03-06 | Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104852654A true CN104852654A (en) | 2015-08-19 |
Family
ID=53852051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510099931.6A Pending CN104852654A (en) | 2015-03-06 | 2015-03-06 | Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104852654A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278332A (en) * | 2015-10-23 | 2016-01-27 | 盐城工业职业技术学院 | SOA-based PMLSM feed system PID parameter optimization method |
CN105511259A (en) * | 2015-12-03 | 2016-04-20 | 山东科技大学 | Parameter setting method for fractional order PI controller of servo motor |
CN109696836A (en) * | 2019-02-11 | 2019-04-30 | 中国民航大学 | Aircraft steering engine electrohydraulic servo system intelligent control method |
CN110824921A (en) * | 2019-11-13 | 2020-02-21 | 华中科技大学 | AC servo speed regulation system control parameter self-tuning method based on bat algorithm |
CN111399370A (en) * | 2020-03-12 | 2020-07-10 | 四川长虹电器股份有限公司 | Artificial bee colony PI control method of off-grid inverter |
CN114172424A (en) * | 2021-11-02 | 2022-03-11 | 江苏大学 | High-performance permanent magnet synchronous motor intelligent controller for EPS |
CN117155183A (en) * | 2023-09-01 | 2023-12-01 | 无锡法拉第电机有限公司 | Synchronous generator excitation control system and method based on optimization algorithm |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516280A (en) * | 2013-09-30 | 2014-01-15 | 清华大学 | Method for improving electric current loop regulators of permanent magnet synchronous motor |
CN104270054A (en) * | 2014-10-24 | 2015-01-07 | 哈尔滨工业大学 | Anti-rest Windup smooth nonsingular terminal sliding mode control method for permanent magnet synchronous motor based on relative order |
-
2015
- 2015-03-06 CN CN201510099931.6A patent/CN104852654A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516280A (en) * | 2013-09-30 | 2014-01-15 | 清华大学 | Method for improving electric current loop regulators of permanent magnet synchronous motor |
CN104270054A (en) * | 2014-10-24 | 2015-01-07 | 哈尔滨工业大学 | Anti-rest Windup smooth nonsingular terminal sliding mode control method for permanent magnet synchronous motor based on relative order |
Non-Patent Citations (2)
Title |
---|
曹文平等: "人工蜂群算法在飞轮充电控制系统中的应用", 《华东电力》 * |
王艳娇: "人工蜂群算法的研究与应用", 《中国博士学位论文全文数据库 信息科技辑》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278332A (en) * | 2015-10-23 | 2016-01-27 | 盐城工业职业技术学院 | SOA-based PMLSM feed system PID parameter optimization method |
CN105511259A (en) * | 2015-12-03 | 2016-04-20 | 山东科技大学 | Parameter setting method for fractional order PI controller of servo motor |
CN105511259B (en) * | 2015-12-03 | 2016-10-05 | 山东科技大学 | A kind of parameter tuning method of servomotor fractional order PI controller |
CN109696836A (en) * | 2019-02-11 | 2019-04-30 | 中国民航大学 | Aircraft steering engine electrohydraulic servo system intelligent control method |
CN110824921A (en) * | 2019-11-13 | 2020-02-21 | 华中科技大学 | AC servo speed regulation system control parameter self-tuning method based on bat algorithm |
CN111399370A (en) * | 2020-03-12 | 2020-07-10 | 四川长虹电器股份有限公司 | Artificial bee colony PI control method of off-grid inverter |
CN111399370B (en) * | 2020-03-12 | 2022-08-16 | 四川长虹电器股份有限公司 | Artificial bee colony PI control method of off-grid inverter |
CN114172424A (en) * | 2021-11-02 | 2022-03-11 | 江苏大学 | High-performance permanent magnet synchronous motor intelligent controller for EPS |
CN114172424B (en) * | 2021-11-02 | 2023-12-15 | 江苏大学 | Intelligent controller of high-performance permanent magnet synchronous motor for EPS |
CN117155183A (en) * | 2023-09-01 | 2023-12-01 | 无锡法拉第电机有限公司 | Synchronous generator excitation control system and method based on optimization algorithm |
CN117155183B (en) * | 2023-09-01 | 2024-04-09 | 无锡法拉第电机有限公司 | Synchronous generator excitation control system and method based on optimization algorithm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104852654A (en) | Permanent magnet synchronous motor speed loop control parameter optimization method based on artificial bee colony algorithm | |
Yuan et al. | Improved model predictive current control for SPMSM drives with parameter mismatch | |
CN103124158B (en) | Based on the automatic setting method of the permagnetic synchronous motor speed ring controling parameters of fractional order | |
CN105406786A (en) | Rotational inertia identification method for permanent magnet synchronous motor | |
Dhieb et al. | PID controller tuning using ant colony optimization for induction motor | |
CN104135205B (en) | A kind of induction machine maximum torque per ampere control method | |
CN104980069B (en) | A kind of brshless DC motor double loop speed-regulating system Multipurpose Optimal Method | |
CN109787531A (en) | A kind of switching magnetic-resistance hub motor forecast Control Algorithm | |
CN104734595A (en) | Identification method for rotary inertia of permanent magnet synchronous motor based on model reference self-adaption | |
Zegai et al. | Direct torque control of Induction Motor based on artificial neural networks speed control using MRAS and neural PID controller | |
CN106849790A (en) | A kind of new sliding-mode control for mismatching the disturbed fault-tolerant permanent-magnetism linear motor system of cylinder | |
CN106877769B (en) | A kind of method of servo motor plus of speed controller parameter self-tuning | |
CN103647493A (en) | H infinite-rotation-speed estimation method for permanent-magnet synchronous motor | |
CN109639200B (en) | Rotational inertia online identification method based on motor load torque detection | |
CN105186958A (en) | Neural network inverse system-based internal model control method for five-phase fault-tolerant permanent magnet motor | |
CN109412486B (en) | The speed observation method of line inductance electromotor | |
Shriwastava et al. | Implementation of DTC-controlled PMSM driven by a matrix converter | |
Kalaivani et al. | Intelligent control for torque-ripple minimization in switched reluctance motor | |
Dogan et al. | Application of speed control of permanent magnet synchronous machine with PID and fuzzy logic controller | |
Xie et al. | Optimization research of FOC based on PSO of induction motors | |
Anandaraju et al. | Genetic algorithm: an approach to velocity control of an electric dc motor | |
Ren et al. | MPC-based torque control of permanent magnet synchronous motor for electric vehicles via switching optimization | |
CN116317756A (en) | Permanent magnet synchronous linear motor sliding mode control method based on approach law and disturbance compensation | |
Wang et al. | Design of fractional order pi controller for permanent magnet synchronous motor | |
Song et al. | Study of based fuzzy-PID control for switched reluctance motor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate 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: 20150819 |