10-10-2006 12:34 AM
10-10-2006 02:48 AM
10-11-2006 06:47 AM
Jochen,
Thanks a lot. My onboard program worked. Regarding gearing, my actual application is something else, while this pot arrangement is just a trial. In my application I'll will have an LVDT with analog o/p and I have to implement a PID algorithm for taking f/b from it. Any tips on PID will be helpful as I have never tried one.
Regards,
Giridhar Rajan
10-12-2006
05:31 PM
- last edited on
09-30-2025
04:30 PM
by
Content Cleaner
I found some good documents on PID. They should give you an idea of how the algorithm works.
PID Theory Explained:
https://www.ni.com/en/shop/labview/pid-theory-explained.html
Understanding Servo Tune (look at the manually tuning motors section):
https://www.ni.com/en/support/documentation/supplemental/12/understanding-servo-tune.html
Advanced Features of PID Tuning:
https://www.ni.com/en/shop/labview/advanced-features-in-pid-tuning.html
When using PID we generally apply the following method:
1. Start by setting the PID constants as follows...
Kp=1, Kd=0, Ki=0
2. Increase Kp slowly each time running a step response. Increase Kp until the step response has a maximum oscillation without becoming unstable.
3. Slowly increase Kd until all of the oscillations disappear.
4. Slowly increase Ki until the steady state error of system goes to 0.
Good luck with your application.
Christopher W.
10-13-2006
02:30 AM
- last edited on
09-30-2025
04:30 PM
by
Content Cleaner
Giridhar,
the idea of using onboard programming for implementing a PID loop doesn't sound very promising. Onboard programs don't run deterministically as they run wihth lower priority than other critical tasks that run on the same CPU. Thus you will see a considerable amount of jitter that will make it quite hard or even impossible to tune the system properly.
A much better approach would be to use the NI SoftMotion Development Module and a real-time target. Please refer to these links for more information:
Creating Custom Motion Control and Drive Electronics with an FPGA_based COTS System
Can i use NI-7358 to implement a hybrid position force/torque control system?
Best regards,
Jochen Klier
National Instruments Germany
10-13-2006 11:12 PM
10-16-2006 06:45 AM
Dear Giridhar , Please try using PI controller . This will help you. I will ask manish to send you the VI. This we have done on AGIE machine.
REgards
Sudhir Sawant