02-17-2018 12:34 PM
Hello,
my team is trying to use a PID with a quadrature encoder to control how much our robot turns.
Does anyone have any example code we could use to start? Note: We don't have NI-DAQmx.
02-18-2018 12:13 PM
Hi Glados,
use a PID with a quadrature encoder to control how much our robot turns.
LabVIEW comes with a huge library of example VIs, there are also examples explaining the usage of the PID function…
- You have measurement signal (aka process value aka pv), and you have an output signal. Now you should determine some PID gains: have you heard of Ziegler-Nichols?
- As your robot seems to rotate you might think about what happens when (and if) you wrap the pv at 360° and how to handle that…