CN111781818B - AGV control method and system based on improved fuzzy PID control algorithm - Google Patents
AGV control method and system based on improved fuzzy PID control algorithm Download PDFInfo
- Publication number
- CN111781818B CN111781818B CN202010641609.2A CN202010641609A CN111781818B CN 111781818 B CN111781818 B CN 111781818B CN 202010641609 A CN202010641609 A CN 202010641609A CN 111781818 B CN111781818 B CN 111781818B
- Authority
- CN
- China
- Prior art keywords
- integral
- agv
- value
- differential
- proportional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 87
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000008859 change Effects 0.000 claims abstract description 52
- 230000004044 response Effects 0.000 claims description 27
- 230000006872 improvement Effects 0.000 claims description 24
- 230000015654 memory Effects 0.000 claims description 18
- 238000001914 filtration Methods 0.000 claims description 16
- 238000000926 separation method Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 238000005070 sampling Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000002401 inhibitory effect Effects 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 238000004088 simulation Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000052 comparative effect Effects 0.000 description 3
- 230000004069 differentiation Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000011158 quantitative evaluation Methods 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 application discloses an AGV control method and system based on an improved fuzzy PID control algorithm, comprising the following steps: acquiring the current position of an Automatic Guided Vehicle (AGV) through a magnetic sensor, and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV; inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value; respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm; and an improved fuzzy PID control algorithm is adopted to control the differential speed of two wheels of the AGV of the automatic guided transport vehicle, so that the AGV returns to the set track.
Description
Technical Field
The application relates to the technical field of industrial automatic control, in particular to an AGV (automatic Guided Vehicle) control method and system based on an improved fuzzy PID (proportion integration differentiation) control algorithm.
Background
The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.
The AGV, as an unmanned vehicle, is often subjected to variable and uncertain environments, which causes deviation of the posture of the AGV and the rotation speed of the driving wheels from an expected value, and this presents a great challenge to a control strategy for autonomously executing tasks. The inventor finds that the existing AGV has poor anti-interference performance and poor stability in the operation process.
Disclosure of Invention
In order to overcome the defects of the prior art, the application provides an AGV control method and system based on an improved fuzzy PID control algorithm;
in a first aspect, the present application provides an AGV control method based on an improved fuzzy PID control algorithm;
an AGV control method based on an improved fuzzy PID control algorithm comprises the following steps:
acquiring the current position of an Automatic Guided Vehicle (AGV), and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm;
and controlling two-wheel differential speed of the AGV of the automatic guided transport vehicle according to the new PID parameters, so that the AGV returns to the set track.
In a second aspect, the present application provides an AGV control system based on an improved fuzzy PID control algorithm;
an AGV control system based on an improved fuzzy PID control algorithm comprises:
an acquisition module configured to: acquiring the current position of an Automatic Guided Vehicle (AGV), and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
an input module configured to: inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
an adjustment module configured to: respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm;
a control module configured to: and controlling two-wheel differential speed of the AGV of the automatic guided transport vehicle according to the new PID parameters, so that the AGV returns to the set track.
In a third aspect, the present application further provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein a processor is connected to the memory, the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so as to make the electronic device execute the method according to the first aspect.
In a fourth aspect, the present application also provides a computer-readable storage medium for storing computer instructions which, when executed by a processor, perform the method of the first aspect.
In a fifth aspect, the present application also provides a computer program (product) comprising a computer program for implementing the method of any of the preceding first aspects when run on one or more processors.
Compared with the prior art, the beneficial effects of this application are:
according to the method and the device, the integral term and the proportional term are improved, so that the anti-interference performance of an AGV control system is improved, and the stability of the AGV control system in the operation process is improved.
By utilizing the method and the device, the response performance of the algorithm under the interference of pulse and white noise can be improved by improving the fuzzy PID algorithm, the high-frequency interference is effectively inhibited, and the stability and the response speed of the system are improved. The provided system performance evaluation index can effectively measure the fluctuation condition of the system response under the input signal, and provides a more definite quantitative reference for the system performance analysis.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application.
FIG. 1 is a graph of the triangular degree of membership of the first embodiment;
FIG. 2(a) -FIG. 2(c) are views of the fuzzy inference curved surface of the first embodiment;
FIG. 3 is a diagram of a PID algorithm simulation model under impulse interference according to the first embodiment;
FIG. 4 is a response curve diagram of the PID algorithm under impulse interference of the first embodiment;
FIG. 5 is a diagram of a PID algorithm simulation model under white noise interference according to the first embodiment;
FIG. 6 is a response curve diagram of the PID algorithm under white noise interference according to the first embodiment.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and it should be understood that the terms "comprises" and "comprising", and any variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Example one
The embodiment provides an AGV control method based on an improved fuzzy PID control algorithm;
an AGV control method based on an improved fuzzy PID control algorithm comprises the following steps:
s101: acquiring the current position of an Automatic Guided Vehicle (AGV) through a magnetic sensor, and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
s102: inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
s103: respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm;
s104: and an improved fuzzy PID control algorithm is adopted to control the differential speed of two wheels of the AGV of the automatic guided transport vehicle, so that the AGV returns to the set track.
As one or more embodiments, the improved fuzzy PID control algorithm includes: an improvement to the PID algorithm.
Further, S102 is to construct a 2-input 3-output fuzzy controller, input the current position deviation E and the differential value EC of the AGV, and output the coefficient change value delta k of the control algorithm after the inference of the fuzzy logic tablep、Δki、ΔkdTaking the updated data as the coefficient of the fuzzy PID control algorithm; Δ kpIndicating the proportional change value, Δ kiRepresenting the sum of integrated change values and Δ kdIndicating a differential change value.
Constructing a fuzzy controller with 2 inputs and 3 outputs, using the deviation E and the differential value EC thereof as the input of the fuzzy controller, and controlling the coefficient change value delta k of the algorithm after reasoning by a fuzzy logic table (such as the table 1)p、Δki、ΔkdAs the output, the input and the output adopt the triangular membership function as shown in FIG. 1, and FIG. 2(a) -FIG. 2(c) are fuzzy inference curved surface views of the output along with the input.
TABLE 1
Further, the above-mentioned adopting the proportional change value, the integral change value and the differential change value respectively adjusts the corresponding proportional parameter, integral parameter and differential parameter in the improved PID control algorithm in real time to obtain the improved fuzzy PID control algorithm, specifically:
kp=kp0+k1Δkp
ki=ki0+k2Δki
kd=kd0+k3Δkd
in the formula kp0、ki0、kd0The initial values of the proportional, integral and differential coefficients are obtained; Δ kp、Δki、ΔkdThe change values of the proportional, integral and differential coefficients output by the fuzzy controller; k is a radical of1、k2、k3The proportional factor, the integral factor and the differential factor change value are respectively mapped to the actual discourse domain from the fuzzy domain and are taken as 0.6, 2.5 and 3.
Further, the improved PID control algorithm in S103 includes: an integral term improvement, a differential term improvement and a comparative example improvement are carried out.
Further, the improvement on the integral term refers to: an integral separation coefficient is introduced based on integral separation, and an integral term is improved to realize integral saturation resistance and integral amplitude limiting resistance.
It should be understood that the technical effect of avoiding the over-integration phenomenon can be achieved by introducing the integral separation coefficient to prevent the control quantity from being too large when the deviation is large.
Illustratively, when the current value of the control system is far away from the target value, the integral term effect of the PID is cancelled, and the current value of the control system approaches the target value by means of PD calculation; integration accumulation is performed if and only if the current value of the control system is within some acceptable range around the target value.
Specifically, the improvement of the integral term is based on the idea of integral separation to realize the resistance to integral saturation and integral amplitude limiting, and an integral separation coefficient is introduced:
where e (k) represents the position deviation of the AGV at the k-th sampling time, SV represents the position value of the trajectory set by the user, and epsilon represents the integral separation threshold value.
The calculation formula of PID will be adjusted to:
where OUT represents the output value of the controller after adjustment, kp、ki、kdRespectively representing proportional, integral and differential coefficients, EkAnd Ek-1Respectively representing the error values of the current sampling moment and the previous sampling moment. Beta is the integral separation coefficient.
Further, the improvement on the differential term refers to: a first-order inertia link is added in a differentiation link to be used as a filter to inhibit high-frequency interference, and a filtering algorithm is introduced to process data for the problem of large fluctuation of output signals of a control system.
Illustratively, the improving the derivative term specifically includes:
a first-order inertia link is added in a differentiation link to be used as a filter to inhibit high-frequency interference, and a filtering algorithm is introduced to process data for the problem of large fluctuation of an output signal of a control system:
Y(n)=αX(n)+(1-α)Y(n-1)
wherein, Y (n) represents the output value of the current filtering, alpha represents the filtering coefficient, X (n) represents the system input value, and Y (n-1) represents the output value of the last filtering.
The stability and the sensitivity of the filtering processing are determined by a filter coefficient, the filter coefficient is small, the filtering is stable, and the sensitivity is low, so that the filter coefficient alpha is 0.66 for the system under the condition of considering the stability and the sensitivity. After the filtering processing, the interference and the jitter can be effectively inhibited, and the output curve of the system becomes smooth.
Further, the comparative example item is improved, specifically that: on the basis of calculating PID proportion coefficients by fuzzy logic, properly adjusting the proportion coefficients, and reducing the size of the proportion factors and inhibiting interference when deviation deviates from a target value to be overlarge; when the deviation is close to the target value, the scale factor is amplified to accelerate the system response.
Illustratively, the comparative example is improved, and specifically comprises:
k’p=k·kp+kp0'
wherein, k'pDenotes the adjusted coefficient of the proportional term, kpDenotes the coefficient of the proportional term before adjustment, k denotes the adjustment coefficient, kp0' means initial adjustment value, and is taken to be 0.35. (obtained by debugging under a conventional PID algorithm)
The adjustment factor is determined as follows:
the action strength and the working condition of different proportion items are matched through scaling so as to achieve the aim of accelerating the response speed while inhibiting high-frequency interference.
Further, the input and the output of the improved fuzzy PID controller both adopt a triangular membership function form.
Further, after S103 and before S104, the method further includes:
s103-41: simulating an improved fuzzy PID control algorithm;
s104-42: the time-multiplied-absolute-error integral Indicator (ITAE) was introduced to quantify the interference rejection performance of the various algorithm outputs throughout the response process.
It should be understood that the simulation of the improved fuzzy PID control algorithm was performed in the Simulink environment of MATLAB.
The simulation of the algorithm specifically comprises the steps of respectively introducing pulse interference and white noise interference in the running process, and comparing response curves of the traditional PID, the fuzzy PID and the improved fuzzy PID under the interference.
A model is established in a Simulink environment of MATLAB to simulate the improved fuzzy PID algorithm, impulse interference is introduced in 10 s-13 s, and the PID algorithm simulation model under the impulse interference is shown in figure 3. Observing the response characteristic of the improved algorithm, the PID algorithm response curve chart 4 under the impulse interference is shown.
Gaussian white noise interference is introduced into the 10 th s to 15 th s, and a PID algorithm simulation model under the white noise interference is shown in FIG. 5. Observing the response characteristic of the improved algorithm, the response curve of the PID algorithm under the interference of white noise is shown in a graph 6.
The time-absolute error integral index mainly considers the relation between the deviation of response on a time domain and a set value, and the formula is as follows:
where e (t) is the deviation of the system at time t, and sv (t) is the target value of the system at time t. J is equal to 0,1, and the smaller J represents the smaller the deviation of the control system response from the target value, the smaller the fluctuation degree.
Compared with the performance indexes of the traditional PID algorithm, the fuzzy PID algorithm and the improved fuzzy PID algorithm under the pulse interference, the performance indexes are shown in the table 2. From the results, the traditional PID can not work normally during the pulse interference, the output of the fuzzy PID fluctuates when the fuzzy PID is interfered, and the improved fuzzy PID has no fluctuation and has faster response speed during the interference.
TABLE 2
The performance indexes of the traditional PID algorithm, the fuzzy PID algorithm and the improved fuzzy PID algorithm under the white noise interference are compared, and are shown in Table 3. The result shows that, during the period of gaussian white noise interference, the influence of the interference on the traditional PID is the largest, the oscillation degree of the output of the fuzzy PID is weakened compared with that of the traditional PID, but the fluctuation is still larger, the improved fuzzy PID has smaller fluctuation during the interference period, and the response speed is faster.
TABLE 3
As one or more embodiments, in S104, an improved fuzzy PID control algorithm is used to control two differential speeds of an AGV of an automatic guided vehicle, so that the AGV returns to a set track; the method comprises the following specific steps:
the real-time position deviation of the AGV of the automatic guided transport vehicle is used as input, and the real-time rotating speed difference of the left and right two-wheel drive of the AGV is output through the real-time control of an improved fuzzy PID control algorithm, so that the AGV is controlled to return to the set track.
The motion control of the AGV generally adopts a classical PID (proportional-integral-derivative) control strategy with a simple principle, along with the development of a modern control theory, a fuzzy control algorithm is applied to the AGV control field more and more with the advantage that the fuzzy control algorithm does not require an accurate controlled model, the advantages of two methods can be fully exerted by combining the fuzzy logic algorithm and a conventional PID control algorithm, and the overall performance of an AGV control system is improved. In order to meet the current situation and the requirement, the application provides an improved fuzzy PID algorithm for an AGV control system to improve the anti-interference performance of the control system, and provides an algorithm performance quantitative evaluation method to quantitatively analyze and compare the system performance before and after the algorithm is improved.
Example two
The embodiment provides an AGV control system based on an improved fuzzy PID control algorithm;
an AGV control system based on an improved fuzzy PID control algorithm comprises:
an acquisition module configured to: acquiring the current position of an Automatic Guided Vehicle (AGV), and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
an input module configured to: inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
an adjustment module configured to: respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm;
a control module configured to: and controlling two-wheel differential speed of the AGV of the automatic guided transport vehicle according to the new PID parameters, so that the AGV returns to the set track.
It should be noted here that the above-mentioned acquisition module, input module, adjustment module and control module correspond to steps S101 to S104 in the first embodiment, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the first embodiment. It should be noted that the modules described above as part of a system may be implemented in a computer system such as a set of computer-executable instructions.
In the foregoing embodiments, the descriptions of the embodiments have different emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The proposed system can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules is merely a logical functional division, and in actual implementation, there may be other divisions, for example, multiple modules may be combined or integrated into another system, or some features may be omitted, or not executed.
EXAMPLE III
The present embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein, a processor is connected with the memory, the one or more computer programs are stored in the memory, and when the electronic device runs, the processor executes the one or more computer programs stored in the memory, so as to make the electronic device execute the method according to the first embodiment.
It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may include both read-only memory and random access memory, and may provide instructions and data to the processor, and a portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software.
The method in the first embodiment may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, among other storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. To avoid repetition, it is not described in detail here.
Those of ordinary skill in the art will appreciate that the various illustrative elements, i.e., algorithm steps, described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Example four
The present embodiments also provide a computer-readable storage medium for storing computer instructions, which when executed by a processor, perform the method of the first embodiment.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (4)
1. An AGV control method based on an improved fuzzy PID control algorithm is characterized by comprising the following steps:
acquiring the current position of an Automatic Guided Vehicle (AGV), and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm; the improved fuzzy PID control algorithm comprises the improvement on the PID algorithm; the improvement on the PID algorithm comprises the improvement on an integral term, the improvement on a differential term and the improvement on a proportional term;
the improvement of the integral term is based on the idea of integral separation to realize the resistance to integral saturation and integral amplitude limiting, and an integral separation coefficient is introduced:
wherein E (k) represents the position deviation of the AGV at the k-th sampling moment, SV represents the position value of the track set by the user, and epsilon represents an integral separation threshold value;
the calculation formula of PID will be adjusted to:
where OUT represents the output value of the controller after adjustment, kp、ki、kdRespectively representing proportional, integral and differential coefficients,EkAnd Ek-1Respectively representing the error values of the current sampling moment and the previous sampling moment; beta is an integral separation coefficient;
the improvement of the differential term means that a first-order inertia link is added in a differential link to be used as a filter to inhibit high-frequency interference, and a filtering algorithm is introduced to process data for the problem of large fluctuation of an output signal of a control system:
Y(n)=αX(n)+(1-α)Y(n-1)
wherein, Y (n) represents the output value of the current filtering, alpha represents the filtering coefficient, X (n) represents the system input value, and Y (n-1) represents the output value of the last filtering;
the improvement of the proportional term means that the proportional term coefficient is properly adjusted on the basis of calculating the PID proportional coefficient by fuzzy logic, and when the deviation deviates from a target value to be too large, the size of the proportional factor is reduced, and the interference is suppressed; when the deviation is close to the target value, the scale factor is amplified, and the system response is accelerated:
k’p=k·kp+kp0'
wherein, k'pDenotes the adjusted coefficient of the proportional term, kpDenotes the coefficient of the proportional term before adjustment, k denotes the adjustment coefficient, kp0' represents an initial adjustment value, which is taken as 0.35; the adjustment coefficient k is determined as follows:
the action strength and the working condition of different proportion items are matched through scaling so as to achieve the aim of accelerating the response speed while inhibiting high-frequency interference;
simulating an improved fuzzy PID control algorithm; introducing a time-multiplied-absolute-error integral index ITAE to quantify the anti-interference performance of various algorithm outputs in the whole response process;
the time-absolute error integral index mainly considers the relation between the deviation of response on a time domain and a set value, and the formula is as follows:
wherein e (t) is the deviation of the system at the time t, and sv (t) is the target value of the system at the time t; j belongs to [0,1], and the smaller J represents the smaller the deviation of the control system response from the target value, the smaller the fluctuation degree;
and controlling two-wheel differential speed of the AGV of the automatic guided transport vehicle according to the new PID parameters, so that the AGV returns to the set track.
2. AGV control system based on improve fuzzy PID control algorithm, characterized by includes:
an acquisition module configured to: acquiring the current position of an Automatic Guided Vehicle (AGV), and calculating the deviation of the AGV from a set track to obtain the current position deviation of the AGV;
an input module configured to: inputting the current position deviation and the differential value of the AGV into a fuzzy controller, and outputting a proportional change value, an integral change value and a differential coefficient change value;
an adjustment module configured to: respectively adjusting corresponding proportional parameters, integral parameters and differential parameters in the improved PID control algorithm in real time by adopting the proportional change value, the integral change value and the differential change value to obtain an improved fuzzy PID control algorithm; the improved fuzzy PID control algorithm comprises the improvement on the PID algorithm; the improvement on the PID algorithm comprises the improvement on an integral term, the improvement on a differential term and the improvement on a proportional term;
the improvement of the integral term is based on the idea of integral separation to realize the resistance to integral saturation and integral amplitude limiting, and an integral separation coefficient is introduced:
wherein E (k) represents the position deviation of the AGV at the k-th sampling moment, SV represents the position value of the track set by the user, and epsilon represents an integral separation threshold value;
the calculation formula of PID will be adjusted to:
where OUT represents the output value of the controller after adjustment, kp、ki、kdRespectively representing proportional, integral and differential coefficients, EkAnd Ek-1Respectively representing the error values of the current sampling moment and the previous sampling moment; beta is an integral separation coefficient;
the improvement of the differential term means that a first-order inertia link is added in a differential link to be used as a filter to inhibit high-frequency interference, and a filtering algorithm is introduced to process data for the problem of large fluctuation of an output signal of a control system:
Y(n)=αX(n)+(1-α)Y(n-1)
wherein, Y (n) represents the output value of the current filtering, alpha represents the filtering coefficient, X (n) represents the system input value, and Y (n-1) represents the output value of the last filtering;
the improvement of the proportional term means that the proportional term coefficient is properly adjusted on the basis of calculating the PID proportional coefficient by fuzzy logic, and when the deviation deviates from a target value to be too large, the size of the proportional factor is reduced, and the interference is suppressed; when the deviation is close to the target value, the scale factor is amplified, and the system response is accelerated:
k’p=k·kp+kp0'
wherein, k'pDenotes the adjusted coefficient of the proportional term, kpDenotes the coefficient of the proportional term before adjustment, k denotes the adjustment coefficient, kp0' represents an initial adjustment value, which is taken as 0.35; the adjustment coefficient k is determined as follows:
the action strength and the working condition of different proportion items are matched through scaling so as to achieve the aim of accelerating the response speed while inhibiting high-frequency interference; simulating an improved fuzzy PID control algorithm; introducing a time-multiplied-absolute-error integral index ITAE to quantify the anti-interference performance of various algorithm outputs in the whole response process;
the time-absolute error integral index mainly considers the relation between the deviation of response on a time domain and a set value, and the formula is as follows:
wherein e (t) is the deviation of the system at the time t, and sv (t) is the target value of the system at the time t; j belongs to [0,1], and the smaller J represents the smaller the deviation of the control system response from the target value, the smaller the fluctuation degree;
a control module configured to: and controlling two-wheel differential speed of the AGV of the automatic guided transport vehicle according to the new PID parameters, so that the AGV returns to the set track.
3. An electronic device, comprising: one or more processors, one or more memories, and one or more computer programs; wherein a processor is connected to the memory, the one or more computer programs being stored in the memory, the processor executing the one or more computer programs stored in the memory when the electronic device is running, to cause the electronic device to perform the method of claim 1.
4. A computer-readable storage medium storing computer instructions which, when executed by a processor, perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010641609.2A CN111781818B (en) | 2020-07-06 | 2020-07-06 | AGV control method and system based on improved fuzzy PID control algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010641609.2A CN111781818B (en) | 2020-07-06 | 2020-07-06 | AGV control method and system based on improved fuzzy PID control algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111781818A CN111781818A (en) | 2020-10-16 |
CN111781818B true CN111781818B (en) | 2021-10-22 |
Family
ID=72759216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010641609.2A Active CN111781818B (en) | 2020-07-06 | 2020-07-06 | AGV control method and system based on improved fuzzy PID control algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111781818B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112327844B (en) * | 2020-11-02 | 2022-10-28 | 珠海格力智能装备有限公司 | Trajectory control method and device, navigation vehicle and computer readable storage medium |
CN112421965B (en) * | 2020-11-20 | 2022-04-01 | 西安热工研究院有限公司 | DC-DC power supply control method capable of avoiding system oscillation |
CN113608671B (en) * | 2021-06-19 | 2024-05-17 | 山东云海国创云计算装备产业创新中心有限公司 | Method, system, equipment and medium for improving solid state disk reading performance |
CN114237033A (en) * | 2021-12-14 | 2022-03-25 | 山东大学 | Vehicle path tracking control method, controller and control system |
CN115454027B (en) * | 2022-09-14 | 2023-06-23 | 华能山东发电有限公司 | Automatic control loop monitoring and diagnosing method and system |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847851B1 (en) * | 2002-07-12 | 2005-01-25 | John R. Koza | Apparatus for improved general-purpose PID and non-PID controllers |
CN102629109A (en) * | 2011-11-08 | 2012-08-08 | 东南大学 | Automatic righting control method of road wrecker |
CN103092069A (en) * | 2013-01-28 | 2013-05-08 | 上海交通大学 | PIlambdaDmu controller parameter setting method based on parameter stability domain |
CN103439887A (en) * | 2013-07-31 | 2013-12-11 | 广东电网公司电力科学研究院 | PI controller parameter setting method and system with optimal lower order system ITAE |
CN105425580A (en) * | 2015-12-14 | 2016-03-23 | 北京理工大学 | Construction method of ITAE (Integral Time absolute error) optimal N-type system |
CN105759825A (en) * | 2016-05-18 | 2016-07-13 | 刘学良 | Algorithm for positioning control of automatic guided vehicle (AGV) robot based on fuzzy proportion integration differentiation (PID) |
CN106020202A (en) * | 2016-07-15 | 2016-10-12 | 东南大学 | Fuzzy PID control method based on Kalman filtering |
CN206694126U (en) * | 2016-12-31 | 2017-12-01 | 南岳电控(衡阳)工业技术股份有限公司 | A kind of pid parameter Self tuning control device of common rail for diesel engine pressure |
EP3495908A1 (en) * | 2011-08-29 | 2019-06-12 | Crown Equipment Corporation | Multimode vehicular navigation control |
CN110109474A (en) * | 2019-05-13 | 2019-08-09 | 刘钢 | Rotor wing unmanned aerial vehicle complicated landform autobalance landing chassis and control method |
CN110126640A (en) * | 2019-05-20 | 2019-08-16 | 苏亮 | A kind of four-wheeled electric vehicle variable element antiskid control system and method based on pavement self-adaptive |
WO2020024549A1 (en) * | 2018-08-03 | 2020-02-06 | 佛山科学技术学院 | Optimal proportion model establishment method for pid controller parameters |
CN111162698A (en) * | 2020-03-09 | 2020-05-15 | 山东大学 | Constant-voltage bracket PID brushless direct current motor fuzzy control system and method for AGV |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103995535A (en) * | 2014-06-04 | 2014-08-20 | 苏州工业职业技术学院 | Method for controlling PID controller route based on fuzzy control |
CN107942663A (en) * | 2017-11-21 | 2018-04-20 | 山东省计算中心(国家超级计算济南中心) | Agricultural machinery automatic steering control method based on fuzzy PID algorithm |
-
2020
- 2020-07-06 CN CN202010641609.2A patent/CN111781818B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847851B1 (en) * | 2002-07-12 | 2005-01-25 | John R. Koza | Apparatus for improved general-purpose PID and non-PID controllers |
EP3495908A1 (en) * | 2011-08-29 | 2019-06-12 | Crown Equipment Corporation | Multimode vehicular navigation control |
CN102629109A (en) * | 2011-11-08 | 2012-08-08 | 东南大学 | Automatic righting control method of road wrecker |
CN103092069A (en) * | 2013-01-28 | 2013-05-08 | 上海交通大学 | PIlambdaDmu controller parameter setting method based on parameter stability domain |
CN103439887A (en) * | 2013-07-31 | 2013-12-11 | 广东电网公司电力科学研究院 | PI controller parameter setting method and system with optimal lower order system ITAE |
CN105425580A (en) * | 2015-12-14 | 2016-03-23 | 北京理工大学 | Construction method of ITAE (Integral Time absolute error) optimal N-type system |
CN105759825A (en) * | 2016-05-18 | 2016-07-13 | 刘学良 | Algorithm for positioning control of automatic guided vehicle (AGV) robot based on fuzzy proportion integration differentiation (PID) |
CN106020202A (en) * | 2016-07-15 | 2016-10-12 | 东南大学 | Fuzzy PID control method based on Kalman filtering |
CN206694126U (en) * | 2016-12-31 | 2017-12-01 | 南岳电控(衡阳)工业技术股份有限公司 | A kind of pid parameter Self tuning control device of common rail for diesel engine pressure |
WO2020024549A1 (en) * | 2018-08-03 | 2020-02-06 | 佛山科学技术学院 | Optimal proportion model establishment method for pid controller parameters |
CN110109474A (en) * | 2019-05-13 | 2019-08-09 | 刘钢 | Rotor wing unmanned aerial vehicle complicated landform autobalance landing chassis and control method |
CN110126640A (en) * | 2019-05-20 | 2019-08-16 | 苏亮 | A kind of four-wheeled electric vehicle variable element antiskid control system and method based on pavement self-adaptive |
CN111162698A (en) * | 2020-03-09 | 2020-05-15 | 山东大学 | Constant-voltage bracket PID brushless direct current motor fuzzy control system and method for AGV |
Non-Patent Citations (2)
Title |
---|
Tuning of Fuzzy Controller using Set Point Weighing;N.J.Patil;《2015 International Conference on Pervasive Computing (ICPC)》;20151231;1-6 * |
基于新的误差积分准则的PID控制器优化;曾振平;《控制工程》;20040131;第11卷(第1期);52-54 * |
Also Published As
Publication number | Publication date |
---|---|
CN111781818A (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111781818B (en) | AGV control method and system based on improved fuzzy PID control algorithm | |
CN111766777B (en) | PID controller and PID control method | |
US20090143921A1 (en) | Generalized Predictive Control (Gpc) Based Position Control Method for an Axle | |
US20190386595A1 (en) | Machine learning apparatus, correction parameter adjustment system, and machine learning method | |
Fliess et al. | Revisiting some practical issues in the implementation of model-free control | |
CN110077458B (en) | Intelligent vehicle turning angle control method based on active disturbance rejection control | |
Bahloul et al. | Dynamic parameters identification of an industrial robot with and without payload | |
JP3144612B2 (en) | PID control method by fuzzy inference | |
CN114063445A (en) | Design method of fuzzy controller | |
Kayacan et al. | Intelligent control of a tractor-implement system using type-2 fuzzy neural networks | |
CN111152213B (en) | Mechanical arm vibration compensation method and device based on hybrid control | |
EP0413030A1 (en) | Servo control method by the disturbance estimation observer | |
Gerasimov et al. | Adaptive tracking of unknown multi-sinusoidal signal in linear systems with arbitrary input delays and unknown sign of high frequency gain | |
JPH01503498A (en) | Process controller for multivariable adaptive feedforward control and multivariable adaptive control method for processes | |
Zhang et al. | Application and Research of Fuzzy PID Control in Resistance Furnace Temperature Control System | |
CN114859722B (en) | Fuzzy self-adaptive fault-tolerant control method for time-lag nonlinear solidification process system | |
Morales et al. | Robust adaptive control of servo systems | |
Nishiyama et al. | Development and validation of the lane-keeping controller using a similarity-type fuzzy reasoning method | |
CN117359645B (en) | Self-adaptive predefined time control method for single-link mechanical arm | |
Parvathy et al. | Analysis of extended-state-observer and active-disturbance-rejectioncontrol in the speed control of DC motor system | |
Quan et al. | Application of fuzzy algorithm in the direction of intelligent car | |
CN117472099A (en) | Filling machine liquid level control method based on fuzzy PID composite regulation | |
CN113682296A (en) | Vehicle transverse control method and device based on cascade PID and vehicle | |
CN113050418A (en) | Adaptive gain scheduling artificial intelligence control method | |
JPH0430201A (en) | Mathematical model learning device |
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 |