CN111367168A - Feedforward parameter design method based on fuzzy logic - Google Patents
Feedforward parameter design method based on fuzzy logic Download PDFInfo
- Publication number
- CN111367168A CN111367168A CN201811605824.6A CN201811605824A CN111367168A CN 111367168 A CN111367168 A CN 111367168A CN 201811605824 A CN201811605824 A CN 201811605824A CN 111367168 A CN111367168 A CN 111367168A
- Authority
- CN
- China
- Prior art keywords
- logic
- maximum dynamic
- dynamic error
- design method
- feedforward
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000013461 design Methods 0.000 title claims abstract description 19
- 230000033001 locomotion Effects 0.000 claims abstract description 14
- 238000012545 processing Methods 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims abstract description 5
- 230000003321 amplification Effects 0.000 claims description 3
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000008901 benefit Effects 0.000 abstract description 3
- 230000008859 change Effects 0.000 abstract description 3
- 238000005457 optimization Methods 0.000 abstract description 3
- 238000012937 correction Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001960 triggered effect 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
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
The invention discloses a feedforward parameter design method based on fuzzy logic, which is characterized in that an initialized servo drive servo system executes a motion, the maximum dynamic error value of the motion and the absolute difference value of the maximum dynamic error and the average error are calculated, and the two calculated values are used as indexes reflecting dynamic precision to carry out fuzzification processing and are converted into corresponding logic; establishing a rule base based on the corresponding logic, and designing corresponding logic output according to the rule base; adjusting the feed forward gain by deblurring based on the logic output; the maximum dynamic error value is updated with the adjustment of the feedforward gain, and the above process is repeated until the maximum dynamic error value and the absolute difference between the maximum dynamic error and the average error reach the minimum value. The feedforward parameter design method based on the fuzzy logic design has the advantages that the optimization period is short, parameters can be automatically adjusted along with the change of working conditions, the dynamic precision is greatly improved, and a servo system meets the requirement of high precision.
Description
Technical Field
The invention relates to the field of control methods of servo drive systems, in particular to a feedforward parameter design method based on fuzzy logic.
Background
The servo driving system is widely applied to the fields of numerical control machines, electromechanical integration, automobiles, aerospace, robots and the like. With the trend of mature control theory of servo drive, the requirements of wide speed regulation range, high precision and high reliability are provided in application. Feedback control is based on a control mode that eliminates errors, and theoretically, the positioning error can be converged to zero after enough time. For precise servo applications, the dynamic error during motion should also be limited to a certain range. In order to reduce dynamic error, feedforward of command speed and command acceleration is added in a position loop, and the feedforward gain K is usedv,KaThe magnitude of the feed forward action is adjusted. Generally, a set of feedforward parameters cannot guarantee optimum performance in the zero to rated speed range, and therefore, the appropriate feedforward parameters are selected according to the operating conditions.
Disclosure of Invention
The invention aims to: the feed-forward parameter design method based on the fuzzy logic is provided, and the problem that the operation performance of a servo drive system is poor due to improper adjustment of the feed-forward parameters is solved.
The technical scheme of the invention is as follows: the feedforward parameter design method based on fuzzy logic comprises the following steps: executing a motion by the initialized servo drive servo system, calculating the maximum dynamic error value of the motion and the absolute difference value of the maximum dynamic error and the average error, fuzzifying the two calculated values as indexes reflecting dynamic precision, and converting the two calculated values into corresponding logics; establishing a rule base based on the corresponding logic, and designing corresponding logic output according to the rule base; adjusting the feed forward gain by deblurring based on the logic output; the maximum dynamic error value is updated with the adjustment of the feedforward gain, and the above process is repeated until the maximum dynamic error value and the absolute difference between the maximum dynamic error and the average error reach the minimum value.
Preferably, the absolute difference between the maximum dynamic error and the average error is the difference between the absolute value of the maximum dynamic error and the absolute value of the average error.
Preferably, the corresponding logic includes thirteen different logic states, and the thirteen different logic states are divided according to the definition domain.
Preferably, each logic output in the rule base corresponds to an adjustment to the feedforward parameter.
Preferably, the thirteen logical states include: positive big, positive big and middle, positive big, positive small and middle, positive small, zero, negative big and middle, negative big and small, negative small and middle, negative small and small.
Preferably, the maximum dynamic error value is updated with the adjustment of the feedforward gain, so that the updated calculation formula of the feedforward gain at the next moment is:
wherein,for the feed-forward gain at the previous moment, Δ GainKvFor the feedforward parameter adjustment, K, corresponding to the logic output in the rule baseconIs the amplification factor.
The invention has the advantages that: fuzzy logic can be formulated according to expert experience and experimental guidance, so that the optimization period is shorter, and the adaptability of the algorithm is strong by combining the strong robustness of fuzzy control and the advantage of a mathematical model which is not specific to a controlled object. The feedforward parameter based on fuzzy logic design has short optimization period, can automatically adjust along with the change parameter of the working condition, greatly improves the dynamic precision, and ensures that a servo system meets the requirement of high precision.
Drawings
The invention is further described with reference to the following figures and examples:
FIG. 1 is a schematic diagram of a fuzzy logic based feed forward parameter design method;
Detailed Description
Fuzzy control is a nonlinear control mode which classifies data by adopting logics such as 'large', 'medium', 'small', and the like commonly used in human thinking and converts data operation into logic operation on the basis of not knowing a mathematical model of a controlled object. The method comprises the following four steps: fuzzification, rule base establishment, fuzzy reasoning and fuzzy solution. In the application of the present solution, fuzzy logic is used to design the feedforward gain Kv,KaThe purpose of keeping the highest dynamic precision under different working conditions is achieved. The basic principle is as follows: the dynamic error of one motion is taken, the maximum dynamic error value can be calculated through data analysis and is recorded as the difference value PUS of the DPE, the maximum dynamic error value and the average error, the DPE and the maximum dynamic error value are used as indexes reflecting dynamic precision, corresponding logic is obtained through fuzzification processing, corresponding logic output is obtained according to a rule base, then feedforward gain is adjusted through defuzzification processing, the DPE and the PUS are updated after adjustment and increase, and the feedforward gain is adjusted again when next adjustment is carried out until the DPE and the PUS are minimum, namely the dynamic error is minimum.
As shown in the attached figure 1, the feedforward parameter design method based on fuzzy logic comprises the following steps: the method comprises the following specific steps:
first, initializing parameters.
Second, an initial value of the feedforward gain is set empirically, a motion is performed, and data of the result of the motion is saved.
Thirdly, data processing is carried out on the motion result, and DPE and PUS are calculated. The DPE is the maximum dynamic error value, namely the data with the maximum absolute value of the error in the motion result data; meanwhile, the average value of errors in the motion result data is obtained and recorded as PEMean; PUS is the difference between the absolute values of DPE and PEmean, i.e., PUS ═ DPE | - | PEmean |, rather than a simple arithmetic difference.
Fourthly, fuzzification processing is carried out on the DPE and the PUS, a rule base and corresponding logic output are established, and the method is embodied as follows:
a. and carrying out size fuzzification treatment on the DPE and the PUS, and converting into one of thirteen logic states of NBB, NBM, NBS, NSB, NSM, NSS, ZO, PSS, PSM, PSB, PBS, PBM and PBB. The fuzzification is to divide the definition domain of the input into thirteen states, and the variables after fuzzification processing are no longer physical quantities but logical states. Fuzzification needs to be carried out according to physical characteristics of input variables, for example, when DPE is fuzzified, a reasonable threshold value fstepDPE is selected, and when fstepDPE < DPE <2fstepDPE, the current logic state is recorded as PSS (positive and small); DPE >20 fstepDPPE, noted PBB (positive Large). The fuzzification process is required to be in accordance with logic rules, and detailed fuzzification is a precondition of high performance, but the complexity of the system is increased, so that the step is required to be simplified as much as possible within the range of performance requirements.
The following table is an fuzzification logic table of the DPE, and the fuzzification logic table of the PUS and the fuzzification logic table of the DPE are the same in division principle, and therefore are not described in detail.
DPE≥16fstepDPE | Is just large |
12fstepDPE≤DPE<16fstepDPE | Zheng Da Zhong |
8fstepDPE≤DPE<12fstepDPE | Positive size |
4fstepDPE≤DPE<8fstepDPE | Big and small |
2fstepDPE≤DPE<4fstepDPE | Zheng Xiao Zhong |
fstepDPE≤DPE<2fstepDPE | Positive small cell |
-fstepDPE≤DPE<fstepDPE | Zero |
-2fstepDPE≤DPE<-fstepDPE | Negative small cell |
-4fstepDPE≤DPE<-2fstepDPE | Negative small and middle |
-8fstepDPE≤DPE<-4fstepDPE | Big and small |
-12fstepDPE≤DPE<-8fstepDPE | Negative size |
-16fstepDPE≤DPE<-12fstepDPE | Greater negative and middle |
DPE≤-16fstepDPE | Great negative |
TABLE 1 fuzzy logic table for DPE
b: and inputting the logic states of the DPE and the PUS into a rule base, and reasoning out the logic state for correcting the gain. The rule base is a two-dimensional data table, and deduces how to act, increase or decrease, and whether the amplitude of the action is large or small for each fuzzy subset. Since there are 13 possible states of DPE and PUS, 13 × 13 in total, which are 169 outputs in the two-dimensional table, the 169 outputs may be classified or processed individually. The establishment of the two-dimensional table during the independent processing can be completed according to expert experience or experimental guidance, and the establishment of the two-dimensional table directly influences the dynamic performance. Adjustment K as shown in Table 2vThe two-dimensional logic table of (a),will adjust the amplitude delta gainvIs taken as-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5. KaThe operation process is the same.
TABLE 2 for adjustment KvTwo-dimensional logic table
c. And performing deblurring operation, and correcting the gain according to the adjustment amplitude. For example: the DPE is negative and the PUS is negative, and K is known by looking up the tablevThe correction amplitude of (1) is 5, K of the feedforward parameter operation period of the next momentvThe parameters are updated as:
wherein,for the feed-forward gain at the previous moment, Δ GainKvFor the feedforward parameter adjustment, K, corresponding to the logic output in the rule baseconIs the amplification factor.
Fifthly, when the dynamic error is minimum in the gain combination state, the correction can be stopped, otherwise, the correction is continued to search for a better gain combination.
Sixthly, if a forced stopping condition is triggered, immediately stopping correction; otherwise, executing one movement again and continuing the design.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed herein be covered by the appended claims.
Claims (6)
1. The feedforward parameter design method based on fuzzy logic is to execute a motion on the servo-driven servo system after initialization, and is characterized in that: calculating the maximum dynamic error value of the motion and the absolute difference value between the maximum dynamic error and the average error, and performing fuzzification processing and converting the two calculated values into corresponding logics by taking the two calculated values as indexes reflecting dynamic precision; establishing a rule base based on the corresponding logic, and designing corresponding logic output according to the rule base; adjusting the feed forward gain by deblurring based on the logic output; the maximum dynamic error value is updated with the adjustment of the feedforward gain, and the above process is repeated until the maximum dynamic error value and the absolute difference between the maximum dynamic error and the average error reach the minimum value.
2. A fuzzy logic based feed forward parameter design method as claimed in claim 1 wherein: the absolute difference between the maximum dynamic error and the average error is the difference between the absolute value of the maximum dynamic error and the absolute value of the average error.
3. A fuzzy logic based feed forward parameter design method according to claim 1 or 2, characterized by: the corresponding logic comprises thirteen different logic states, and the thirteen different logic states are divided according to the definition domain.
4. A fuzzy logic based feed forward parameter design method as claimed in claim 3 wherein: each logic output in the rule base corresponds to an adjustment amount aiming at the feedforward parameter.
5. A fuzzy logic based feed forward parameter design method as claimed in claim 4 wherein: the thirteen logical states include: positive big, positive big and middle, positive big, positive small and middle, positive small, zero, negative big and middle, negative big and small, negative small and middle, negative small and small.
6. A fuzzy logic based feed forward parameter design method according to claim 1 or 5, wherein: the maximum dynamic error value is updated with the adjustment of the feedforward gain, so the updating calculation formula of the feedforward gain at the next moment is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811605824.6A CN111367168B (en) | 2018-12-26 | 2018-12-26 | Feedforward parameter design method based on fuzzy logic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811605824.6A CN111367168B (en) | 2018-12-26 | 2018-12-26 | Feedforward parameter design method based on fuzzy logic |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111367168A true CN111367168A (en) | 2020-07-03 |
CN111367168B CN111367168B (en) | 2022-12-30 |
Family
ID=71209954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811605824.6A Active CN111367168B (en) | 2018-12-26 | 2018-12-26 | Feedforward parameter design method based on fuzzy logic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111367168B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113359458A (en) * | 2021-06-22 | 2021-09-07 | 天津理工大学 | Fuzzy feedforward control method of high-speed parallel robot |
CN116165901A (en) * | 2023-04-17 | 2023-05-26 | 宁波尚进自动化科技有限公司 | Feedforward parameter automatic debugging method, device and medium based on fuzzy logic |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1129037A (en) * | 1993-08-11 | 1996-08-14 | 费舍-柔斯芒特***股份有限公司 | Method and apparatus for fuzzy logic control with automatic tuning |
CN105807615A (en) * | 2016-05-13 | 2016-07-27 | 东北林业大学 | Fuzzy feedforward-feedback controller |
CN105867113A (en) * | 2016-04-19 | 2016-08-17 | 桂林长海发展有限责任公司 | Servo controller, servo control system and servo control method |
CN106054595A (en) * | 2016-06-12 | 2016-10-26 | 广东工业大学 | A method and system for adjusting feedforward parameters |
CN107132761A (en) * | 2017-04-14 | 2017-09-05 | 烟台南山学院 | A kind of electric steering engine design method using pure fuzzy and fuzzy complex controll |
CN107605608A (en) * | 2017-08-30 | 2018-01-19 | 山东大学 | Petrol engine method for controlling number of revolution for hydraulic-driven leg legged type robot |
-
2018
- 2018-12-26 CN CN201811605824.6A patent/CN111367168B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1129037A (en) * | 1993-08-11 | 1996-08-14 | 费舍-柔斯芒特***股份有限公司 | Method and apparatus for fuzzy logic control with automatic tuning |
CN105867113A (en) * | 2016-04-19 | 2016-08-17 | 桂林长海发展有限责任公司 | Servo controller, servo control system and servo control method |
CN105807615A (en) * | 2016-05-13 | 2016-07-27 | 东北林业大学 | Fuzzy feedforward-feedback controller |
CN106054595A (en) * | 2016-06-12 | 2016-10-26 | 广东工业大学 | A method and system for adjusting feedforward parameters |
CN107132761A (en) * | 2017-04-14 | 2017-09-05 | 烟台南山学院 | A kind of electric steering engine design method using pure fuzzy and fuzzy complex controll |
CN107605608A (en) * | 2017-08-30 | 2018-01-19 | 山东大学 | Petrol engine method for controlling number of revolution for hydraulic-driven leg legged type robot |
Non-Patent Citations (2)
Title |
---|
史敬灼 等: ""模糊控制步进电动机位置伺服***"", 《电工技术学报》 * |
张彦龙 等: ""基于模糊逻辑理论的前馈控制器设计方法研究"", 《微特电机》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113359458A (en) * | 2021-06-22 | 2021-09-07 | 天津理工大学 | Fuzzy feedforward control method of high-speed parallel robot |
CN113359458B (en) * | 2021-06-22 | 2023-02-28 | 天津理工大学 | Fuzzy feedforward control method of high-speed parallel robot |
CN116165901A (en) * | 2023-04-17 | 2023-05-26 | 宁波尚进自动化科技有限公司 | Feedforward parameter automatic debugging method, device and medium based on fuzzy logic |
Also Published As
Publication number | Publication date |
---|---|
CN111367168B (en) | 2022-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110376879B (en) | PID type iterative learning control method based on neural network | |
CN111367168B (en) | Feedforward parameter design method based on fuzzy logic | |
CN109270833A (en) | A kind of Varied scope fuzzy control method based on brshless DC motor Q study | |
CN111224593B (en) | Fuzzy self-adaptive sliding mode control method and system based on differential evolution algorithm optimization | |
Davanipour et al. | Chaotic self-tuning PID controller based on fuzzy wavelet neural network model | |
Chen | Supervisory adaptive tracking control of robot manipulators using interval type-2 TSK fuzzy logic system | |
Wang et al. | Hybrid fuzzy PID controller design for a mobile robot | |
CN113359421A (en) | Composite control system and method for piezoelectric precision gas flow valve | |
Fuhui et al. | Fast self-adapting high-order sliding mode control for a class of uncertain nonlinear systems | |
Lee et al. | Speed estimation and control of induction motor drive using hybrid intelligent control | |
Lao et al. | Adaptive Sliding Mode Control of an Electro-Hydraulic Actuator with a Kalman Extended State Observer | |
Salas et al. | A stable self-organizing fuzzy PD control for robot manipulators | |
Kaheni et al. | Soft variable structure control of linear systems via desired pole paths | |
CN110488600B (en) | lQR optimized brushless DC motor speed regulation neural network PID controller | |
Jagannathan et al. | Robust backstepping control of robotic systems using neural networks | |
Sheikhlar et al. | Fuzzy adaptive PI control of omni-directional mobile robot | |
CN108089442B (en) | PI controller parameter self-tuning method based on prediction function control and fuzzy control | |
CN113625548B (en) | Meta-action unit rotating speed control method based on simulated annealing algorithm and fuzzy PID | |
Keighobadi et al. | Adaptive fuzzy passivation control based on backstepping method for electrically driven robotic manipulators | |
Kheirkhahan | Robust anti-windup control design for PID controllers–theory and experimental verification | |
Ravichandran et al. | Knowledge based approach for online self-tuning of PID-control | |
Yu et al. | Modeling-error based adaptive fuzzy sliding mode control for trajectory-tracking of nonlinear systems | |
Tan et al. | Generalised nonlinear PID controller based on neural networks | |
Ankarao et al. | Implementation of PI Fuzzy & ANN controllers to improve dynamic response of vector controlled Induction motor drive | |
CN115648227B (en) | Robot motion trajectory neural network fuzzy control optimization method |
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 |