Hi everybody,
I am using the DRV8412DDW evaluation board with CC 28035.
- Motor from the kit: Anaheim BDD-38-63
- Motor intended to use: Maxon A-max 22 (110164) + GP 22 (134163) + MR-ENC (201940)
Following instruction, I can run the Anaheim DC motor from the kit but as soon as I try with a Maxon the current loop can't be tuned right.
So I began to measure signal and adapt the current sense parts to achieve same condition from both motors (Rmot Anaheim is 1.8 Ohm and Maxon is 21.3 Ohm). This way I get a sensing voltage from 1-100mV (0-6mV without load).
Now that I see the waveforms of the voltage ready for ADC (VR20-23), I can't understand how the feedback is computed to reflect increasing or decreasing current since the Anaheim motor has many ripple.
I saw the ADC result is taken from the middle of the low PWM duty cycle so this is synchronized but the mean voltage is moving up/down.
More information to follow but any tips is welcome.
Thanks