ODrive dynamometer generating above source voltage

Hey there,

Here, it’s the peak voltage that matters; when operating in uncontrolled reverse conduction (as opposed to normal regeneration) the FETs operate as a three phase rectifier, so even the waveform peaks will conduct through the FET body diode, which cannot handle much current – plus, the ODrive won’t be properly controlling the motor.

Unfortunately the units of KV are frustratingly inconsistent dependent on the manufacturer – some people use line-line volts, some use RMS; ODrive uses line-line, so a 48V DC supply + 100 KV (line-line) motor would result in 4800 RPM maximum. You’ll have to check your motor’s datasheet for the exact number – typically you can assume line-line unless otherwise stated.

Two methods for experimentally determining KV:

  1. The one I use:
  • Spin the motor unloaded (no gearbox or anything connected) in velocity control, at some medium-high speed in velocity mode. Make sure you’re well below saturation speed, I usually do around ~half of the motor’s theoretical maximum speed, and try a few different points along the speed range to ensure consistency
  • Measure the velocity in rev/s with axis0.vel_estimate and look at axis0.motor.foc.v_current_control_integral_q
  • KV will be roughly 60*vel_estimate / (sqrt(3) * v_current_control_integral_q)
  • for example, if you’re spinning at 30 rev/s and v_current_control_integral_q is 8.73, then that’s a KV of 60*30/(sqrt(3) * 8.73) == 1800 / (1.732*8.73) == 119 RPM/V

Second method is with an oscilloscope, as shown here: Project HoverArm - #2 by madcowswe

I’d definitely recommend characterizing KV if possible, since the ODrive also assumes that the motor’s torque constant is proportional to the KV, so for accurate torque reporting you’ll also need an accurate KV.

Regarding the current limit, you’re fully current limited by the motor phase current, no matter the actual motor velocity / back-EMF voltage (assuming V_bEMF < V_supply of course). We rate the ODrive Pro up to 80A with active cooling (datasheet here), but realistically it’s fully thermally limited and I’ve seen currents of >120A continuous with the proper heatsink setup. With the heatspreader + heatsink and fan, I don’t think there will be an issue reaching 80A (or higher). Note that if you’re designing some thermal management solution to push above that current (you can fairly trivially with an improved thermal pad for the Pro and a higher CFM fan under 400-500mA continuous draw) I’d definitely recommend making sure you have some thermal management for the top-side capacitors; even a fan blowing at them from above helps a lot once you start pushing current towards the triple digits.

2 Likes