PID control
7 years 6 months ago #29531875
by issahmd
PID control was created by issahmd
Hello ,
I have read in this forum that the motor controller does have a pid .But it's not very adéquat since it have to be configurated manually.
Is it possible to implemente the pid algorithm on a PLC or a microcontroller and send it back to the controller?
If yes , please can you explain more the process ?
In fact I'm going to use the motor controller with the magnetic sensor to detect a magnetic tape.So i need a pid to adjust the position and a pid to adjust the speed . Thanks!
I have read in this forum that the motor controller does have a pid .But it's not very adéquat since it have to be configurated manually.
Is it possible to implemente the pid algorithm on a PLC or a microcontroller and send it back to the controller?
If yes , please can you explain more the process ?
In fact I'm going to use the motor controller with the magnetic sensor to detect a magnetic tape.So i need a pid to adjust the position and a pid to adjust the speed . Thanks!
Please Log in or Create an account to join the conversation.
7 years 6 months ago #29531881
by niko
Replied by niko on topic PID control
Hello,
If you want to use closed loop speed, there is built-in PID system, all you have to do is to set the Proportional, Integral and Differrential values. This configuration is simple you can start with some initial values and then do some tuning.
If you want to implement it in another side you can do it and then send the appropriate command to the controller. The motor command can be given either as a pulse, an analog signal, an encoder input, via CAN, RS232 or USB. It is up to you to choose what fits better to your requirements.
If you want to use closed loop speed, there is built-in PID system, all you have to do is to set the Proportional, Integral and Differrential values. This configuration is simple you can start with some initial values and then do some tuning.
If you want to implement it in another side you can do it and then send the appropriate command to the controller. The motor command can be given either as a pulse, an analog signal, an encoder input, via CAN, RS232 or USB. It is up to you to choose what fits better to your requirements.
Please Log in or Create an account to join the conversation.
7 years 6 months ago #29531885
by issahmd
Replied by issahmd on topic PID control
Hello ,
Thanks for the reply.
So if i get it right.I will have to read the magnetic sensor with the controller, then send the position to the plc which will make the calculation to estimate the PID .Then the PLC will send via rs 232 the new speed with the commande !G 1 x ! G 2 y where x and y are variable send via the plc .
This is it ?
If so , what kind of information do the magnetic sensor send so that the plc can regulate the robot position?
Thanks
Thanks for the reply.
So if i get it right.I will have to read the magnetic sensor with the controller, then send the position to the plc which will make the calculation to estimate the PID .Then the PLC will send via rs 232 the new speed with the commande !G 1 x ! G 2 y where x and y are variable send via the plc .
This is it ?
If so , what kind of information do the magnetic sensor send so that the plc can regulate the robot position?
Thanks
Please Log in or Create an account to join the conversation.
7 years 6 months ago - 7 years 6 months ago #29531889
by niko
Replied by niko on topic PID control
Reading this
article
most of your question will be replied.
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.062 seconds