Log in

View Full Version : Motor Controller Testing


TeacherWeeks
18-05-2012, 12:44
I was wondering if anyone had devised a good way of testing motor controllers? If so I'd love to know your method, my team has a couple of controllers that are questionable and we need to test them.

EricH
18-05-2012, 16:59
What type?

Ether
18-05-2012, 17:40
I was wondering if anyone had devised a good way of testing motor controllers? If so I'd love to know your method, my team has a couple of controllers that are questionable and we need to test them.

You can build your own test rig. All you need is an old unwanted junker laptop and a couple of motors. (And a battery).

Take the laptop and install FreeDOS on it.

Write a simple app to toggle the RTS pin on the serial port to simulate the desired servo signal (you can code it to simulate both Vic and Jag signals). You can get highly accurate and stable performance because there's no multitasking going on. You can hard-code a test sequence into the app, or you can read the test sequence from a text-file script, or you can have a simple user interface to change the command.

Build a fixture to hold 2 motors with their output shafts connected together. Drive one motor with the motor controller you are testing. Run tests with the leads of the other motor open. Stop the test and connect the leads together and run another test with the leads shorted.

DonRotolo
18-05-2012, 20:04
You can also attach a motor, a battery, and build this (http://www.chiefdelphi.com/forums/showpost.php?p=419373&postcount=34). No computer needed.

Ether
18-05-2012, 21:38
You can also attach a motor, a battery, and build this (http://www.chiefdelphi.com/forums/showpost.php?p=419373&postcount=34). No computer needed.

That looks like a fun project !

The date of your post is 11/05...

Has anyone has built one of these lately? Where did you get the parts and what was the total cost?

PAR_WIG1350
18-05-2012, 23:25
You can also attach a motor, a battery, and build this (http://www.chiefdelphi.com/forums/showpost.php?p=419373&postcount=34). No computer needed.

Why do you need a dual timer? Most circuit I have seen use a 555.

slijin
19-05-2012, 00:56
That looks like a fun project !

The date of your post is 11/05...

Has anyone has built one of these lately? Where did you get the parts and what was the total cost?

We have something similar, courtesy of our electrical mentor. Unfortunately, I haven't had the time to become familiar with the circuit itself, so I can't provide many details.

Parts were salvaged from his inventory as a hobbyist; I believe total cost was in the $20 range.

roystur44
19-05-2012, 01:53
Here is ours. We use a y pwm cable to the Jags to test ganged motors. We use this device to test our prototypes, motor burn in and robot builds before the electronics go in. All the parts were from Radio Shack under $50

http://www.youtube.com/watch?v=ibuAAnxgExQ

https://picasaweb.google.com/104549320706687649408/2012971RoySPhotoS#5732818593684294434

http://www.youtube.com/watch?v=t-Tius1e10U

sretter
19-05-2012, 04:24
Here is ours. We use a y pwm cable to the Jags to test ganged motors. We use this device to test our prototypes, motor burn in and robot builds before the electronics go in. All the parts were from Radio Shack under $50

http://www.youtube.com/watch?v=ibuAAnxgExQ

https://picasaweb.google.com/104549320706687649408/2012971RoySPhotoS#5732818593684294434

http://www.youtube.com/watch?v=t-Tius1e10U

Hi, is there any chance that you/one of your teammates could explain a little about how you built it?
(I've seen it before and got excited, but I'm not exactly sure how to implement one ourselves)

Anyways nice idea!

Gdeaver
19-05-2012, 07:49
Pololu has several RC servo controllers.
http://www.pololu.com/catalog/category/12
I use one hooked to a lap top to run our motors when the C-rio and the programers are not available. Also can do analog conversions to check sensors. The app that runs on the pc is nice.

roystur44
19-05-2012, 14:01
Jameco has a tutorial about PWM:

http://www.jameco.com/Jameco/workshop/diy/pwm.html

http://www.dprg.org/tutorials/2005-11a/index.html

https://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_120539_-1

sretter
19-05-2012, 16:41
Jameco has a tutorial about PWM:

http://www.jameco.com/Jameco/workshop/diy/pwm.html

http://www.dprg.org/tutorials/2005-11a/index.html

https://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_120539_-1

Awesome thanks!

DonRotolo
20-05-2012, 09:10
The date of your post is 11/05...

Has anyone has built one of these lately? Where did you get the parts and what was the total cost?Parts are Radio Shack, cost was about $15 including a nice little case. Can be less fancy if you have a good junkbox.
Why do you need a dual timer? Most circuit I have seen use a 555.One timer generates the pulses every x milliseconds, the other varies the output pulse width from 1 to 2 mSec. If you try to do both with a single timer you end up varying a parameter you don't want to vary. Plus, a 556 is really no more expensive than a 555...

Gdeaver
20-05-2012, 10:13
Remember, any device a team makes or buys must be able to generate pulses beyond the 1 to 2 ms pulses that are the hobby standard for servos. The jag has an extended range I believe is .8 to 2.2 ms for full speed. 1 to 2 ms for a victor.
Debugging can issues is a whole other can of worms.