Oscillation on back EMF measurement using the STSPIN820 and a stepper motor
Dear community,
Scope of the work: I'm trying to measure the back EMF of a stepper motor. I'm following the ST application note AN3327, which suggests that the back EMF is measured as the residual voltage on the coil when i_coil = 0.
Problem: when measuring the voltage in the zero current state (power bridge disabled), an oscillation typical of an underdamped system is observed, which disturb the actual measure.
(1) How can I get rid of the oscillation?
(2) is the oscillation related to a capacitive load on the X-NUCLEO-IHM14A1 board? or is it the capacitance of the power mosfet in the STSPIN820? If the latter I expect it to be very small, but there is no info on the datasheet of typical value so to use for debug.
(3) I measured a demagnatization time of ~0.78msec.. Is that a typical value for the STSPIN820? No value in the datasheet. On what depends the demagnatization time? How can I shorten it?
My setup: I have connected an ST X-NUCLEO-IHM14A1, mounting an STSPIN820, to an hybrid stepper motor with impedance of L_coil = 33mH and R_coil = 34 Ohm.
Set the slow decay and half-step config. Step clock set to freq = 20Hz.
Added a partition resistors as suggested in AN3327 (see pic) on which I measured the voltage for back-EMF. Motor was running unloaded.
