CN110687779A - PMSM self-adaptation control system based on fuzzy PID - Google Patents
PMSM self-adaptation control system based on fuzzy PID Download PDFInfo
- Publication number
- CN110687779A CN110687779A CN201911093345.5A CN201911093345A CN110687779A CN 110687779 A CN110687779 A CN 110687779A CN 201911093345 A CN201911093345 A CN 201911093345A CN 110687779 A CN110687779 A CN 110687779A
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- control system
- pid
- controller
- input quantity
- 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.)
- Withdrawn
Links
- 230000008859 change Effects 0.000 claims abstract description 5
- 230000003044 adaptive effect Effects 0.000 claims description 9
- 238000000034 method Methods 0.000 abstract description 11
- 230000001360 synchronised effect Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B11/00—Automatic controllers
- G05B11/01—Automatic controllers electric
- G05B11/36—Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
- G05B11/42—Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
The invention relates to a PMSM self-adaptive control system based on fuzzy PID, in particular to the field of industrial robot servo motor control. The method comprises the following steps: the system comprises a PI controller and a fuzzy PID controller, wherein the PI controller is used for controlling a general current loop or a speed loop of a motor, and the fuzzy PID controller is used for controlling a position loop; the fuzzy PID controller comprises a PID control system and a fuzzy control system, the fuzzy control system is used for receiving a difference value between an input quantity and a return quantity and a change rate of the difference value and processing to obtain an accurate output quantity, the fuzzy control system is also used for transmitting the accurate output quantity to the PID control system as a PID input quantity, and the PID control system is used for executing operation according to the PID input quantity. The scheme solves the technical problem of how to realize the self-adjustment of PID parameters, and is suitable for the self-adaptive control of the permanent magnet synchronous motor.
Description
Technical Field
The invention relates to the field of industrial robot servo motor control, in particular to a PMSM (permanent magnet synchronous motor) self-adaptive control system based on fuzzy PID (proportion integration differentiation).
Background
Three-phase alternating current permanent magnet synchronous motors are commonly adopted in joint shafts of industrial robots, and generally one industrial robot comprises 4-6 joint shafts. The PMSM is a nonlinear, multivariable, strongly coupled system, making external disturbances very sensitive. For example, when an industrial robot performs work, the load of the industrial robot is in a time-varying state. It becomes important to make the robot reach the specified position accurately according to the planned speed and acceleration.
The traditional controller usually adopts three-loop PID regulation, and the control method is simple and practical. However, the conventional PID controller has certain limitations, and control parameters cannot be adjusted along with changes of external environments, and it is obvious that the same set of parameters is always adopted, so that accurate control performance cannot be achieved. In order to improve the real-time control performance of the permanent magnet motor control system, the combination of PID (proportion integration differentiation) -based control and other intelligent control becomes a research hotspot at present. The expert PID controller combines the traditional PID controller with an expert system to automatically adjust the parameters of the controller. However, this control method requires precise determination of the object model. And the quantitative representation of various variables and indexes in the control process is difficult, so the expert PID method has certain limitation.
Disclosure of Invention
The invention aims to solve the technical problem of how to realize the self-adjustment of PID parameters.
The technical scheme for solving the technical problems is as follows: a fuzzy PID based PMSM adaptive control system, comprising: the system comprises a PI controller and a fuzzy PID controller, wherein the PI controller is used for controlling a general current loop or a speed loop of a motor, and the fuzzy PID controller is used for controlling a position loop;
the fuzzy PID controller comprises a PID control system and a fuzzy control system, the fuzzy control system is used for receiving a difference value between an input quantity and a return quantity and a change rate of the difference value and processing to obtain an accurate output quantity, the fuzzy control system is also used for transmitting the accurate output quantity to the PID control system as a PID input quantity, and the PID control system is used for executing operation according to the PID input quantity.
The invention has the beneficial effects that: the PID control is optimized through fuzzy control, the traditional PID control is influenced by a plurality of factors such as load, external temperature and the like when in use, the optimal control can be achieved only by adjusting PID parameters, and the PID is usually adjusted manually.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the PID control system is incremental PID control.
The beneficial effect of adopting the above further scheme is that compared with an analog PID control system, the incremental PID control can adapt to the connection with a computer, and meanwhile, the condition of insufficient memory can not occur.
Further, the input amount includes: position angle error e (k), error varianceThe position angle error e (k) and the error variationObtained by the following formula:
e(k)=y(k)-y*(k)
wherein y is the output signal and y is the input signal.
Further, the fuzzy control system is a two-dimensional fuzzy control system.
Further, the fuzzy control system is used for receiving input quantity, the input quantity comprises 7 parts of NB, NM, NS, ZO, PS, PM and PB, a triangular membership function, a sine function and a cosine function are used as the membership functions, the input quantity is fuzzified to obtain fuzzy quantity, the fuzzy quantity is changed into a fuzzy subset on a proper domain, fuzzy reasoning is carried out by combining the fuzzy subset and a control rule to obtain fuzzy control quantity, and finally, the fuzzy control system obtains accurate output quantity through the fuzzy control quantity.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a schematic system structure diagram of an embodiment of a fuzzy PID-based PMSM adaptive control system according to the present invention;
FIG. 2 is a schematic diagram of the fuzzy PID-based structure of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The embodiment is substantially as shown in figures 1 and 2:
in this embodiment, the PMSM adaptive control system based on the fuzzy PID includes: the controller comprises a PI controller and a Fuzzy PID controller (Fuzzy-PID), wherein the PI controller is used for controlling a general current loop or a speed loop of the motor, and the Fuzzy PID controller is used for controlling a position loop;
the output of the position loop is used as the input of the speed loop, and when the position difference is 0, the ideal value of the speed is also 0; the output of the speed loop is the input of the current loop, when the output of the speed loop is 0, the expected value of the current loop is also 0, and limit values are set for the current loop and the speed loop according to actual conditions so as to prevent the physical device from being damaged due to overlarge control quantity.
The fuzzy PID controller comprises a PID control system and a fuzzy control system, wherein the fuzzy control system is used for receiving the difference value between the input quantity and the return quantity and the change rate of the difference value and processing the difference value to obtain an accurate output quantity, the fuzzy control system is also used for transmitting the accurate output quantity to the PID control system as a PID input quantity, and the PID control system is used for executing operation according to the PID input quantity.
When the adaptive control system in the embodiment is used, the output quantity of the PI controller needs to be decoupled by coordinate transformation, so that each physical quantity is converted into a direct current quantity from a static three-phase coordinate system (d-q) to a moving two-phase synchronous coordinate system (alpha-beta), each space vector in the synchronous coordinate system is converted into a direct current quantity, and thus, an excitation component and a torque component in stator current are converted into scalar quantities to be independent, and the given quantities are controlled in real time, so that the control performance of the direct current motor can be achieved.
The invention has the beneficial effects that: the PID control is optimized through fuzzy control, the traditional PID control is influenced by a plurality of factors such as load, external temperature and the like when in use, the optimal control can be achieved only by adjusting PID parameters, and the PID is usually adjusted manually.
On the basis of the technical scheme, the invention can be further improved as follows.
Optionally, in some other embodiments, the PID control system is an incremental PID control.
Compared with an analog PID control system, the incremental PID control can adapt to the connection with a computer, and meanwhile, the condition of insufficient memory cannot occur.
Optionally, in some other embodiments, the input quantity comprises: position angle error e (k), error variancePosition angle error e (k) and error varianceObtained by the following formula:
e(k)=y(k)-y*(k)
wherein y is an output signal, the output signal in this embodiment is an actual motor rotation angle acquired by the encoder, y is an input signal, and the input signal in this embodiment is an expected motor rotation angle calculated by the robot controller.
Optionally, in some other embodiments, the fuzzy control system is a two-dimensional fuzzy control system, and two dimensions of the two-dimensional fuzzy control system in this embodiment include a control error and an error variation.
Optionally, in some other embodiments, the fuzzy control system is configured to receive input quantities, the input quantities comprising 7 parts NB (negative large), NM (negative medium), NS (negative small), ZO (zero), PS (positive small), PM (positive medium), and PB (positive large), the specific values being modified according to actual measured values, and the input quantities being { -3, -2, -1, 0, 1, 2, 3} according to empirically set domains of arguments. Detailed fuzzy PID-based Kp、Ki、KdThe fuzzy controller in fig. 2 also applies the following fuzzy rule table:
in the embodiment, the proper domain represents the proportion of a certain input quantity divided in a certain legal fuzzy space, specific numerical values such as-3 to-2 represent NB, -3 to-2 represent NM, and other principles are analogized. And combining the fuzzy subset and the control rule to carry out fuzzy reasoning to obtain fuzzy control quantity, and finally, obtaining accurate output quantity by the fuzzy control system through the fuzzy control quantity. The control rule in this embodiment is to generate a fuzzy output based on the control error and the fuzzy subset where the variation of the error is located, and based on engineering knowledge and process experimental values. For example, when the error is more negative and the change rate is more different, the control quantity P, which is the PID, must be the positive maximum to make the error progress toward a small direction, so as to achieve the ideal state where the error is 0.
It should be noted that the above embodiments are product embodiments corresponding to the above method embodiments, and for the description of each structural device and the optional implementation in this embodiment, reference may be made to the corresponding description in the above method embodiments, and details are not repeated herein.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (5)
1. A fuzzy PID based PMSM adaptive control system, comprising:
the system comprises a PI controller and a fuzzy PID controller, wherein the PI controller is used for controlling a general current loop or a speed loop of a motor, and the fuzzy PID controller is used for controlling a position loop;
the fuzzy PID controller comprises a PID control system and a fuzzy control system, the fuzzy control system is used for receiving a difference value between an input quantity and a return quantity and a change rate of the difference value and processing to obtain an accurate output quantity, the fuzzy control system is also used for transmitting the accurate output quantity to the PID control system as a PID input quantity, and the PID control system is used for executing operation according to the PID input quantity.
2. The fuzzy PID based PMSM adaptive control system of claim 1, wherein: and the PID control system is incremental PID control.
3. The fuzzy PID based PMSM adaptive control system of claim 1, wherein: the input quantity includes: position angle error e (k), error varianceThe position angle error e (k) and the error variationObtained by the following formula:
e(k)=y(k)-y*(k)
wherein y is the output signal and y is the input signal.
4. The fuzzy PID based PMSM adaptive control system of claim 1, wherein: the fuzzy control system is a two-dimensional fuzzy control system.
5. The fuzzy PID based PMSM adaptive control system of claim 1, wherein: the fuzzy control system is used for receiving input quantity, the input quantity comprises 7 parts of NB, NM, NS, ZO, PS, PM and PB, a triangular membership function, a sine function and a cosine function are used as the membership function, the input quantity is fuzzified to obtain fuzzy quantity, the fuzzy quantity is changed into a fuzzy subset on a proper domain, fuzzy reasoning is carried out by combining the fuzzy subset and a control rule to obtain fuzzy control quantity, and finally, the fuzzy control system obtains accurate output quantity through the fuzzy control quantity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911093345.5A CN110687779A (en) | 2019-11-11 | 2019-11-11 | PMSM self-adaptation control system based on fuzzy PID |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911093345.5A CN110687779A (en) | 2019-11-11 | 2019-11-11 | PMSM self-adaptation control system based on fuzzy PID |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110687779A true CN110687779A (en) | 2020-01-14 |
Family
ID=69116019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911093345.5A Withdrawn CN110687779A (en) | 2019-11-11 | 2019-11-11 | PMSM self-adaptation control system based on fuzzy PID |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110687779A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039384A (en) * | 2020-07-24 | 2020-12-04 | 西安方元明科技股份有限公司 | High-efficiency servo drive control system |
CN112130451A (en) * | 2020-09-23 | 2020-12-25 | 兰州理工大学 | High-precision control method for mine filling slurry concentration |
-
2019
- 2019-11-11 CN CN201911093345.5A patent/CN110687779A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039384A (en) * | 2020-07-24 | 2020-12-04 | 西安方元明科技股份有限公司 | High-efficiency servo drive control system |
CN112130451A (en) * | 2020-09-23 | 2020-12-25 | 兰州理工大学 | High-precision control method for mine filling slurry concentration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | Adaptive predefined performance sliding mode control of motor driving systems with disturbances | |
Ping et al. | Internal model control of PMSM position servo system: Theory and experimental results | |
Li et al. | Adaptive speed control for permanent-magnet synchronous motor system with variations of load inertia | |
Wang et al. | Robust adaptive tracking control for servo mechanisms with continuous friction compensation | |
CN108054969B (en) | Full-speed domain control method of built-in permanent magnet synchronous motor based on fuzzy controller | |
Benchaib et al. | Nonlinear sliding mode control of an induction motor | |
Ahmad et al. | Speed control of a DC motor using Controllers | |
CN110687779A (en) | PMSM self-adaptation control system based on fuzzy PID | |
Bhimte et al. | Precise position control of quanser servomotor using fractional order fuzzy pid controller | |
CN109510541A (en) | Based on the servo-controlled method of segment permanent magnet synchronous motor sliding formwork | |
Liu et al. | Iterative learning based neural network sliding mode control for repetitive tasks: With application to a PMLSM with uncertainties and external disturbances | |
Sarkar et al. | High performance nonlinear controller design for AC and DC machines: partial feedback linearization approach | |
CN112701975A (en) | Self-adaptive backlash oscillation suppression method for double-inertia servo system | |
CN109507873B (en) | Bandwidth parameterization direct current speed regulation feedback control system | |
Ahmadi et al. | Optimization of a self-tuning PID type fuzzy controller and a PID controller for an inverted pendulum | |
CN112241121A (en) | PMSM self-tuning control system based on fuzzy PID | |
Abd Elhamid | Cascade control system of direct current motor | |
Sachit et al. | MRAS Based Speed Control of DC Motor with Conventional PI Control—A Comparative Study | |
Garnica et al. | ADRC inverse compensation for mechatronic systems with output backlash & single encoder | |
Broel-Plater et al. | Minimizing the impact of non-linear stribeck friction on positioning of a servo drive | |
Rashed | Simulation of speed control for separately excited dc motor utilizing fuzzy logic controller | |
Salman et al. | Stability and performance evaluation of the speed control of DC motor using state-feedback controller | |
Yasien et al. | Design of Fuzzy-Like Position Controller for Permanent Magnet Stepper Motor | |
Nikranjbar | Adaptive PID controller design guidelines for a class of non-linear systems | |
Fauzi et al. | Fast response three phase induction motor using indirect field oriented control (IFOC) based on fuzzy-backstepping |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200114 |
|
WW01 | Invention patent application withdrawn after publication |