Hi all,
I've got a current loop set up within my microcontroller, which works by measuring the current through a motor using the ADC, and then comparing this to a desired current (setpoint), and then minimising this difference.
I would like to meausure the bandwidth of my current loop, using a network analyser. I was informed this is most often done with the use of a tracking generator within a network analyser, which e.g. generates a frequency of 0-100kHz, which acts as a setpoint towards my current loop. This is then measured by the network analyser, which is therefore able to determine my -3dB cutoff point, thus determining the bandwidth of my current loop.
I have a few questions regarding this.
- Is this the only manner to measure bandwidth? If not, what else can I use to do these types of measurements?
- How does one go about getting the tracking generators output as a setpoint for my current loop? Is this simply setting up a GPIO input pin within the microcontroller, and passing whatever is on the output of my tracking generator as an input to this GPIO pin?
Many thanks!