0
$\begingroup$

Rosanswers logo

can i use stepper motor instead of dc motor with encoder to measure speed and the direction of the robot?

to built eddie robot what type of encoder is used and what informtatiom it gives?

can i make the encoder on my own? how to do that give some idea?


Originally posted by viki on ROS Answers with karma: 41 on 2013-02-26

Post score: 2

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

To answer your first question, Yes you can use a stepper motor instead of a DC motor. They are fundamentally different motors and controls. With a DC motor your applied voltage will give you the motor speed and current will give you motor torque. However if you want to control position you will need a position rotary encoder of some type and utilise this to generate your motor signal via a closed loop.

With a Stepper motor however the drive you apply will specify the position it will occupy. The drive you apply will be a repeating pattern to make the motor increment its position by a step (hence stepper motor). By increasing the rate at which you change the drive commands you can make the motor step faster increasing its speed. A normal small type stepper motor usually has a max speed of about 200rpm after which the rate at which you change the commands becomes too fast for the motor to generate the required forces to turn the motor.

With a stepper motor you will not need an encoder if you can assume in your control code that the motor has increased a step as planned, (this is open loop control). If you need assurance that the motor is working as planned you can add an encoder if you like.

For both motors, digital control will require a driver package to deliver the power required to operate the motors. Polulou has a good range.

Not sure of eddie robot, but you should check out Austria Microsystem's AS5040 magnetic encoder. They are quite cheap an offer a range of encoding options from absolute to incremental encoding to 10 bits. here


Originally posted by PeterMilani with karma: 1493 on 2013-02-26

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$
0
$\begingroup$

Rosanswers logo

Another cheap DIY solution is to use a mouse, a laser or a ball mouse mounted under the robot. They are reasonably easy to read out with an arduino.


Originally posted by davinci with karma: 2573 on 2013-02-26

This answer was NOT ACCEPTED on the original site

Post score: 2


Original comments

Comment by Jon Stephan on 2013-02-27:
I love that idea!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.