Traditional Culture Encyclopedia - Traditional festivals - How to change the parameters of PID?
How to change the parameters of PID?
5. Parameter tuning of PID controller Parameter tuning of PID controller is the core content of control system design. According to the characteristics of the controlled process, the proportional coefficient, integral time and differential time of PID controller are determined. There are many methods for tuning PID controller parameters, which can be summarized into two categories: one is theoretical calculation tuning method. It mainly determines the controller parameters through theoretical calculation according to the mathematical model of the system. The calculated data obtained by this method cannot be used directly, and must be adjusted and corrected through engineering practice. The second is the engineering setting method, which mainly relies on engineering experience and is directly carried out in the test of control system. This method is simple and easy to master, and is widely used in engineering practice. The engineering tuning methods of PID controller parameters mainly include critical proportion method, response curve method and attenuation method. The three methods have their own characteristics, and the similarities are all through experiments, and then the parameters of the controller are adjusted according to the engineering experience formula. But no matter which method is adopted, the parameters of the controller need to be finally adjusted and improved in actual operation. At present, the critical proportion method is generally used. The steps of tuning PID controller parameters by this method are as follows: (1) First, preselect a sampling period short enough to make the system work; (2) Only add the proportional control link until the step response of the system to the input appears critical oscillation, and write down the proportional magnification and critical oscillation period at this time; (3) Under a certain degree of control, the parameters of PID controller are calculated by formula.
Setting of P\I\D parameters: Depending on experience and familiarity with technology, trace and set curves with reference to measured values, so as to adjust the size of P \ I \ d..
For the engineering tuning of PID controller parameters, we can refer to the empirical data of P.I.D parameters in various regulating systems as follows: temperature T: P = 20 ~ 60%, T = 180 ~ 600s, D = 3- 180s, pressure P: P = 30 ~ 70%.
The formula commonly used in books: to find the best parameter setting, first check the proportion, then integrate in order from small to large, and then add differentiation on the curve. Oscillation is very frequent. The proportional reel curve floats near Dawan, and the deviation of the proportional reel curve is slow, and the fluctuation period of the downward curve is long when the integration time is prolonged, and the oscillation frequency of the curve is fast when the integration time is prolonged. The differential is reduced first, and the fluctuation is slow when the dynamic difference is large. The differential time should be lengthened by two waves in the ideal curve, and the adjustment quality should not be lower than 1.
Here is an empirical method. This method is essentially a trial and error method, which is an effective method summed up in production practice and has been widely used in the field. The basic procedure of this method is to determine a set of regulator parameters according to the operation experience, put the system into closed-loop operation, and then artificially add step disturbance (such as changing the given value of the regulator) to observe the step response curve of the regulated quantity or regulator output. If the control quality is not satisfactory, the regulator parameters are changed according to the influence of each set parameter on the control process. Repeat this experiment until you are satisfied. ? The empirical method is simple and reliable, but it needs some field operation experience, and the timing is easy to be subjective and one-sided. When using PID regulator, there are many tuning parameters and the number of trial and error increases, so it is difficult to get the best tuning parameters.
Taking PID regulator as an example, the tuning steps of empirical method are described in detail: (1) Let the regulator parameter integral coefficient S0=0, the actual differential coefficient k=0, the control system is put into closed-loop operation, and the proportional coefficient S 1 changes from small to large, so that the disturbance signal changes step by step, and the control process is observed until it is satisfactory. ⑵ Multiply the proportional coefficient S 1 as the current value by 0.83, and change the integral coefficient S0 from small to large, which also makes the disturbance signal change step by step until a satisfactory control process is obtained. (3) Keep the integral coefficient S0 unchanged and change the proportional coefficient S 1 to see if the control process is improved. If there is improvement, continue to adjust until it is satisfactory. Otherwise, increase the original proportional coefficient S 1, and then adjust the integral coefficient S0 to improve the control process. This trial and error is repeated until satisfactory proportional coefficient S 1 and integral coefficient S0 are found. ⑷ By introducing appropriate actual differential coefficient k and actual differential time TD, the proportional coefficient S 1 and the integral coefficient S0 can be appropriately increased. Like the previous steps, it is necessary to adjust the setting of differential time repeatedly until the control process is satisfactory.
Note: The PID regulator used in the simulation system is different from the traditional industrial PID regulator, and the parameters are isolated from each other and do not affect each other, so it is very convenient to observe the regulation law with it. PID parameters are determined according to the inertia of the controlled object. Inertia is large, such as the temperature control of large drying room. Generally, P can be above 10, I = 3- 10, and D = 1. Inertia is small, such as closed-loop pressure control of small motor water pump, generally only PI control. P = 1- 10, I = 0. 1- 1, D = 0, which should be corrected during field debugging.
Provide an incremental PID for reference △ u (k) = AE (k)-Be (k-1)+Ce (k-2) A = KP (1+t/Ti+TD/t) B = KP (1+2td).
You can use the above algorithm to construct your own PID algorithm. U(K)=U(K- 1)+△U(K)
- Previous article:How to name the stars?
- Next article:What is the Henan opera Sanqing Hall?
- Related articles
- What is the difference between Catholicism and Christianity
- What is the difference between 1 black and 1 white in Thai tattoos?
- What is the origin of the jade emperor in fairy tales?
- All the information about plum blossoms
- How to use innovative thinking, with the help of contemporary science and technology, carry forward the traditional culture of China and inherit the craftsman spirit?
- How about Yuanning health and wellness porridge
- How much can a manhole cover patent earn?
- What is modern poetry?
- Is online one-on-one tutoring reliable?
- Who are the three stars in Three Stars in the Sky? Fu Lu Shou Fu Lu Xi Lu Shou Fu Xi Shou