The principle of automatic PID parameter tuning by relay feedback method is shown in Figure 1 and Figure 2 (see Astrom "Adaptive Control"). There is also a literature called limit cycle method PID parameter automatic tuning. In Figure 1, when the system tuning switch is cut to the T position, due to the relay characteristics, the system is forced to oscillate. By measuring the oscillation period Tu and the system gain Ku, the PID parameters can be determined. Specifically, Ku=4*d/(π*a), where a is the amplitude of the first harmonic component of the system output, and d is the output amplitude of the relay characteristic link. At this time, the PID parameters can be set as: Kc=0.6*Ku, Ti=0.5*Tu, Td=0.125 *Tu, when the system is disturbed, it is better to use a relay link with hysteresis characteristics to overcome the influence of the interference. The relevant calculation formula remains unchanged. The automatic tuning effect of the PID parameters of the relay feedback method is shown in Figure 3. When the system is in the automatic tuning state, if pv>=sp+h, the relay link outputs MP0-d, otherwise when pv<=sp-h, the relay link outputs mp=MP0+d, where MP0 is the steady-state value. This forces the system to oscillate. It can be seen that the control effect after tuning is still quite good.
Next, we reverse the setting accuracy, Ku=Kc/0.6=0.739926/0.6=1.23321, Tu=2*Ti=2*165=330sec, a==4*d/(π*Ku)=4*0.05/(pi*1.23321)=0.051623, in the description function method, the description function of the relay link is G(jω)=-1/N, where N=4*d/(π*a)*exp(-j*arcsin(h/a)), so Gp(jω)=-1/N, solve this equation to get Tu and a, we use MATLAB code to solve this equation to get Tu =352.7039, a=0.0465, which has a certain error from the actual value. There are many reasons for the error, including numerical calculation error, approximation of the amplitude of the first harmonic component, delay in data exchange, time base error caused by inaccurate crystal oscillator, quantization error, non-true real-time simulation, etc.
Previous article:Playing control with STM32F407 - PID parameter automatic tuning by mode identification method
Next article:Playing Control with STM32F407 - Smith Predictive Compensation Control
Recommended ReadingLatest update time:2024-11-25 04:12
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- CATL releases October battle report
- Battery industry in October 2024: growth momentum remains unabated!
- Mercedes-Benz will launch the eCitaro equipped with NMC4 batteries to provide high energy density and long life
- Many companies have announced progress on solid-state batteries. When will solid-state batteries go into mass production?
- Xsens Sirius Series Inertial Sensors Enable 3D Inertial Navigation in Harsh Environments
- Infineon's Automotive Landscape: From Hardware to Systems
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- Jingyuan Home QQ Group: 35079997 Welcome to join, looking for administrators
- Ethernet Problems
- Classification of power amplifiers
- If you want to know whether the signal generated by the signal generator or function generator is ready or whether it is input according to the set value standard...
- MicroPython precompiled firmware for TB-01 (W600)
- AP6255 Linux driver under HiSilicon platform
- Is it necessary to attend Altium's offline training?
- Ground Design Tips
- How to prevent audio equipment from aging and make the sound better
- Find TPS929120 library files