Can you help me get the graph I want in a PID control system given the transfer function and design? PLEASE HELP ME
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
veysel burçak
el 14 de Ag. de 2023
Comentada: veysel burçak
el 16 de Ag. de 2023
I don't know how to set the initial value and range. Can you help me change the input and PID values in matlab simulink if needed and get the red line in the graph below? Thanks a lot.
0 comentarios
Respuesta aceptada
Sam Chak
el 14 de Ag. de 2023
Editada: Sam Chak
el 15 de Ag. de 2023
Update: This basic signal (in veysel_problem.slx) produces the sawtooth pattern that starts from 0. Because there is no technical specification, you need to adjust the parameters by trial and error.
Based on the Grafik.PNG, the initial value of the simulated temperature (red) should be . The pattern looks like a sawtooth reference input signal.
Regarding your sliding mode design, while I don't understand your approach of using the transfer function, I managed to redesign some parts and tune some values to stabilize the temperature. Your existing design causes the temperature to rise like a ramp signal, indicating instability. I still prefer the PI controller.
2 comentarios
Sam Chak
el 15 de Ag. de 2023
@veysel burçak, The plot in Graph 2 only shows the red curve (representing the old controller) and the blue curve (representing the new controller), and it lacks informative axis tick values. Please provide more details. Furthermore, could you clarify what the terms 'old' and 'new' controllers refer to? In fact, both are noisy signals.
Más respuestas (2)
veysel burçak
el 15 de Ag. de 2023
3 comentarios
Sam Chak
el 15 de Ag. de 2023
I'm unable to open the file because it was created with a newer version (R2022a) of Simulink. Actually, I don't understand the transfer function that you talked about. In fact, I am unsure about where you want to place the unique transfer function.
Regarding your simulation of the system (presumably the state-space, ) without the PID controller, the unit step response should reach a steady-state at , as shown below.
A = [-4.46566e-3 4.45684e-3;
5.15227e-3 -5.15227e-3];
B = [ 3.16315e-3;
0];
C = [ 1 0];
D = 0;
sys = ss(A, B, C, D)
dcgain(sys)
step(sys)
veysel burçak
el 15 de Ag. de 2023
3 comentarios
Sam Chak
el 15 de Ag. de 2023
I have updated the Answer with the generation of the sawtooth signal.
Ver también
Categorías
Más información sobre Control System Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!