MD10C Nonlinear Response

Hi

I’m using an MD10C motor controller in Sign-Magnitude mode. The two control signals are sent from an Arduino UNO Wifi.

I can get it to work fine with speed and direction control however the speed control in non-linear. What I mean is that the motor speed ramps up quickly in the first quarter (PWM0-60), then it goes flat and the speed barely changes between PWM 60 and PWM120, then it ramps quickly up to full speed in the last section. So the speed profile is a S curve with a bid dead point in the middle.

I’m using an Android app to send a signal (0-255) to the Arduino which then outputs that to the PWM output pin. I’ve used two different apps/comms methods (Wifi MQTT and Bluetooth) and hence different Arduino code and both result in exactly the same motor performance.

Any idea what is going on here?

Cheers
Martin

Hi Martin,

This does seem like a rather unusual situation. It would help greatly if you can provide pictures of your setup, making sure to clearly show all components (MD10C, connections, power, motors, etc.). It would also help if you could provide specs of your power source(s), motor, etc.

You can attach pictures (and other files) to your reply by going into Full editor. See the attached image for details.

Sincerely,

Here are some pics.
The Direction wire is on pin 12, PWM on pin 11.

Power is from a desktop variable power supply.

The key line of code I’m using is:

analogWrite(motor_control_PWM_out,RemoteXY.speed_slider*2.55);

where RemoteXY.speed_slide is a 0-100 input from my phone.



*** Edit: 2017-10-17 :: manufacturer’s engineering verifying the information you provided

Hi,

Thank you for the details.

We have contacted the manufacturer of the motor driver to get more information. We will post here again once we have more details.

Sincerely,

I think I’ve found a potential culprit. I’ve realised that my bench PSU isn’t powerful enough for this motor -as it maxes out at 5A. I’m driving an RS550 motor which would draw much more -so maybe that’s the issue.

Hi,

That would certainly be a possible issue for the behavior. We have communicated this information with the manufacturer.

Sincerely,

Hi,

[font=arial, sans-serif][highlight=#ffffff]Here is a copy of the manufacturer’s response:[/highlight][/font]

Sincerely,