I’m looking so determine the bandwidth of my system. I will be using the ODrive board to drive a single gimbal motor that will be attached to a UAV. What I’d like to do is to input a sinusoidal exponential chirp/sweep function (https://en.wikipedia.org/wiki/Chirp) into the system, sweep from 1Hz to about 150-200Hz, and then measure the output. By looking at the phase or amplitude difference between the input and output, I will be able to determine the frequencies at which the system starts to degrade. From there I can look into how to isolate my system better,
I was looking for some assistance as far as the method to go about passing this function, as well as recording the output. I was thinking about using an ethermega 2560 (or Arduino mega 2560; I have both), but I’m not sure about how to get the output back out for post processing. Does anyone have any thoughts?