Other Parts Discussed in Thread: MOTORWARE, DRV8301
Hello,
I am trying to setup a new bare bone project based on lab05d example. My motor is a 2KW 12 Slots/14 poles outrunner. My power source is a 3S (11.1V ) or 6S (22.2V) 2500mAH Lipo battery. InstaSpin Motion webapp identifies the motor perfectly every single time with the following parameters :
Rs 0.0744825
Ls_d 0.0001708761
Ls_q 0.0001708761
RATED_FLUX 0.03257458
inertia 0.207
friction 0.97
Using webapp operation is smooth and manually changing Kp_iq and Kp_id from 0.3527 to ~4.0 it is even smoother and noise free. I can clearly see using my scope and current probes the 3d harmonic injected current waveforms in all 3 phases.
I started my own project using a copy of lab05d and modifing user.h adding my motor parameters block. The code seems to identify the motor extracting the same parameters but motor spinning is very "rough" and noisy. I can see in my scope the heavily distorted current waveforms (they are not even same in every phase). I tried to go through all labs again and again but all projects have the same behaviour. It is definitely not a hardware fault since webapp works perfectly with the same setup. Here is a copy of my user.h file.
Any ideas ?