07-18-2009 08:03 AM
Hi, everyone!
I'm Student. I found some example about PID. Reset Counter and make a PWM on Internet, I don't remember those Links. Now I Use them to control motion of DC motor. I use USB - 6008 of my teacher (I borrowed). When I select time to reset counter 20ms but elapse higher 20ms. The purpose of my project only to study, sorry when I changed those Program. Would you please explain for me and help me solve this project . Thank you.
This my VI and Picture my test.
07-20-2009 02:56 AM
I'm sorry that I need to disappoint you, but your approach doesn't sound very promising. Low cost USB DAQ devices are the worst choice for closed loop control systems due to the lack of hardware timing for the digital outputs or a counter output. With this approach you will run into multiple problems:
This is really a worst case scenario for a control system and you will probably end up with a poor solution. Here and here are some other threads about the same topic.
Kind regards,
Jochen Klier
National Instruments
07-20-2009 06:46 AM - edited 07-20-2009 06:47 AM
Thanks you, Jochen!
Your explain very useful for me. You can't imagine it help me so much.
One again, Thanks you so much.