- https://in.mathworks.com/help/control/ref/pidtuner-app.html
- https://in.mathworks.com/videos/getting-started-with-simulink-part-4-tuning-a-pid-controller-1508444927396.html
- https://www.youtube.com/watch?v=sFOEsA0Irjs
PID function usage in Matlab (real life scenario)
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Haydar Jawad
el 14 de Dic. de 2019
Editada: Rajat Tewari
el 22 de En. de 2020
Hi Guys I wonder if anyone can help please i am new to matlab : I need help with pid function in matlab (C = pid(Kp,Ki,Kd,Tf)) all examples in matlab or on google do not reflect real life output and input, just simulation . The scenario i am working on is to move a robot on the x axis , which means the y coordinates are zero all the time so it stays on straight line , ( I understand the logic, physics and maths of PID) just implementation using matlab I am finding it challenging, but this is part of learning of course )
Desired = u (zero y coordinates so the robot move on x-axis)
Output is measured by a sensor = y (is measured by a sensor and given the y axis coordinates as the robot move)
Error = u-y
All I need is a PID value that is continuous, so i can use it as an input to a velocity function so when PID is up or down it moves the left and right wheels can change velocity and direction for a differential drive robot . So as you see all i need is a PID value as the robot moves.
Thank you
0 comentarios
Respuesta aceptada
Rajat Tewari
el 8 de En. de 2020
Editada: Rajat Tewari
el 22 de En. de 2020
To find a value of that works for your robot model you can use PID Tuner app.
To understand PID controllers and their implementation (also includes real scenarios), refer to:
Hope it helps.
Más respuestas (0)
Ver también
Categorías
Más información sobre PID Controller Tuning 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!