Controlling Two Motors with one PWM Channel

Hello,

I’m looking to control two separate motors with one PWM signal from an RC receiver. The idea is that I split the pwm signal wires between both motors. My goal is that the throttle lever on my receiver (forward/backward input, idle is 50% duty cycle, forward is 100%, backward is 0%) will control one motor (I.E. “Motor A”) when between 52%-100% duty cycle and the other motor (I.E. “Motor B”) between 0%-48% duty cycle. Both of these motors are position control (movement is between 0-90 degrees in the clockwise direction for both motors)

Is it possible to configure the Odrive motors so “Motor A” essentially ignores inputs below 52% duty cycle and “Motor B” ignores inputs above 48% duty cycle?

  • I know I can do this by adding another controller in between with logic to accomplish this, but if possible I would like to avoid adding extra complexity to my system.
  • I may also be able to accomplish this by modifying the configuration on the RC receiver itself, but again I would like to avoid this if possible.

Hi! I don’t think this is possible at the moment, but we do have an old deadband feature that never got fully merged to devel (that I think could accommodate this), that I could possibly dig up. What’s your timeline look like?

Unfortunately we have a pretty tight deadline of two weeks for an upcoming build, but if it will take longer than that to implement this feature, it would still be beneficial for upcoming builds!

For now we can try to customize our RC receiver to accomplish this to get us through this build. If we could get the deadband working, it would be great for the standardization of our system. Regardless, thank you for all of your help and quick replies on this forum, you guys are great!

I can get you an experimental build today. Is this an ODrive S1 or ODrive Pro?

That would be fantastic! We are using ODrive Pros

Give me an hour or two to test+verify then I’ll send a build over. Can you DM me your email?

1 Like