Dear All,
I am currently doing final year thesis of my degree course, through these past years I found here tangeble help, support and goodwill.
The robotic arm consists of five RC servo motors(excluding gripper), which their internal control circuitry is removed and both motor and internal pot are connected to the microcontroller board(TEENSY 4.0). The motor is drived by breakout board DVR8871 by two PWM signals for forward and reverse, which their position is known from the pot connected to the main shaft of the servo. The position of each joint is adjusted by five pots connected to ADS7828 I2C and then to the TEENSY 4.0 microcontroller.
I am trying to tuning the pid for 2nd and 3rd joints of my robotic arm. These joints needs to do more lifiting effort then the others, If the supply is switched off, due to their moment, they drop down but the others remain in the same position. For these joints I did PI (integral kept negligible) controller for both joints which dont remain stable but go little bit up and down. To remain stable I used Proportional controller only, but the steady state was little bit large. Please can you suggest ammendemnts/hints of my PID code so I will be able to settle down the arm with reduced steady state error.
Free fall of joint 2 and joint 3 without supply due to the weight and moment
https://drive.google.com/file/d/1O43cWxjCpEPZyvWelgheXY1SSeEL6WrO/view?usp=sharing
Unstable PI controller for joint 2 and joint3
https://drive.google.com/file/d/1O3vB_VTnIQFbePR5dmyiMa4jns3aRw-8/view?usp=sharing
Thank you very much,
Saviour Muscat
I am currently doing final year thesis of my degree course, through these past years I found here tangeble help, support and goodwill.
The robotic arm consists of five RC servo motors(excluding gripper), which their internal control circuitry is removed and both motor and internal pot are connected to the microcontroller board(TEENSY 4.0). The motor is drived by breakout board DVR8871 by two PWM signals for forward and reverse, which their position is known from the pot connected to the main shaft of the servo. The position of each joint is adjusted by five pots connected to ADS7828 I2C and then to the TEENSY 4.0 microcontroller.
I am trying to tuning the pid for 2nd and 3rd joints of my robotic arm. These joints needs to do more lifiting effort then the others, If the supply is switched off, due to their moment, they drop down but the others remain in the same position. For these joints I did PI (integral kept negligible) controller for both joints which dont remain stable but go little bit up and down. To remain stable I used Proportional controller only, but the steady state was little bit large. Please can you suggest ammendemnts/hints of my PID code so I will be able to settle down the arm with reduced steady state error.
Free fall of joint 2 and joint 3 without supply due to the weight and moment
https://drive.google.com/file/d/1O43cWxjCpEPZyvWelgheXY1SSeEL6WrO/view?usp=sharing
Unstable PI controller for joint 2 and joint3
https://drive.google.com/file/d/1O3vB_VTnIQFbePR5dmyiMa4jns3aRw-8/view?usp=sharing
Thank you very much,
Saviour Muscat
Attachments
-
70.6 KB Views: 10
-
26.4 KB Views: 11
-
1.3 MB Views: 10