Q2 To get started with Xcos simulation of a PID feedback system, download the sample Xcos file (pid01.zcos) showing an X
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q2 To get started with Xcos simulation of a PID feedback system, download the sample Xcos file (pid01.zcos) showing an X
Q2 To get started with Xcos simulation of a PID feedback system, download the sample Xcos file (pid01.zcos) showing an Xcos diagram as below Figure. This diagram can easily be constructed using Xcos standard palettes. It requires only a step_function, clock_c (from Sources palette), PID and CLR blocks (from Continuous time systems palette), SUMMATION (from Mathematical operations palette), MUX (from Signal Routing palette), and CSCOPE (from Sinks palette). 1 10 * 52 + 8 MUX Click on the Simulation Start button to see the step response. (a) Capture the waveforms of the output responses. Try adjusting the PID gains and plant parameters to see their effects on the closed-loop system. PID parameter tuning is well studied in control engineering. (b) Adjust the proportional gain Kp keeping the integral gain Ki and the derivative gain Kd constant with three different values (i.e., Kp = 0.1, 1 and 10). Capture and compare the waveforms and given your comments. (c) Adjust the integral gain K; keeping the proportional gain Kp and the derivative gain Ka constant with three different values (i.e., Ki = 0.01, 0.1 and 1). Capture and compare the waveforms and given your comments. (d) Adjust the derivative gain Ko keeping the proportional gain Kp and the integral gain K constant with three different values (i.e., Kd = -1, 0 and 1). Capture and compare the waveforms and given your comments. (e) Which combination of PID parameters would be the best for the control system? Explain your choice.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!