Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« on: June 18, 2011, 10:37:04 am » |
Instead of building an encoder assembly to regulate motor speed for robot wheels, then writing software for it, could I just use a full rotation servo, which has all that built in?
Thanks! baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19030
I don't think you connected the grounds, Dave.
|
 |
« Reply #1 on: June 18, 2011, 11:22:43 am » |
Where's the feedback mechanism in a continuous rotation "servo" to regulate the speed?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #2 on: June 18, 2011, 12:49:35 pm » |
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19030
I don't think you connected the grounds, Dave.
|
 |
« Reply #3 on: June 18, 2011, 12:55:19 pm » |
Doesn't cite "feedback mechanism to maintain speed"
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6546
Arduino rocks
|
 |
« Reply #4 on: June 18, 2011, 02:17:17 pm » |
One can "control" the rotation speed of a continous rotation servo, but to "regulate" the speed, an actual speed feedback mechanism is required, which a continous rotation servo does not have.
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #5 on: June 18, 2011, 03:46:24 pm » |
But isn't the idea of a continuos servo that you can get a constant speed? (similar to how a regular servo will retain its set angle)
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19030
I don't think you connected the grounds, Dave.
|
 |
« Reply #6 on: June 18, 2011, 03:51:06 pm » |
Well, yes, you can have fast clockwise, or fast anticlockwise. Or stopped. Those would be both pretty constant
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #7 on: June 18, 2011, 03:52:41 pm » |
But isn't the idea of a continuos servo that you can get a constant speed? (similar to how a regular servo will retain its set angle)
It's the difference between having 'open loop' control Vs 'closed loop' control. The continous rotation servo can only be used in open loop control because you have no feedback to the actual speed.
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #8 on: June 18, 2011, 04:00:33 pm » |
So I would need something like this http://www.sparkfun.com/products/9209or the thing built into the rover 5, plus lots of code to regulate speed?
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6546
Arduino rocks
|
 |
« Reply #9 on: June 18, 2011, 04:30:34 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #10 on: June 18, 2011, 04:35:10 pm » |
OK. And how would I drive the motors? They have a stall current of 2.5A, so would a 2A h-bridge hold out?
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19030
I don't think you connected the grounds, Dave.
|
 |
« Reply #11 on: June 18, 2011, 04:37:13 pm » |
As long as you can ensure you don't stall the motor, it could stand up to the abuse.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #12 on: June 18, 2011, 04:48:04 pm » |
But say the robot crashes into a wall by accident, motors will stall, right?
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Phoenix, Arizona USA
Offline
Faraday Member
Karma: 27
Posts: 5079
Where's the beer?
|
 |
« Reply #13 on: June 18, 2011, 05:06:07 pm » |
But say the robot crashes into a wall by accident, motors will stall, right?
If the kind of 2A h-bridge you are thinking of using is an L298-based device, look to see if it can support bridged mode; in this mode, the two h-bridges in the L298 are "bridged" together, to double the current capability of the bridge. Provided it is well heat-sinked, you can get almost 4 amps from the L298. Note, though, you would now need two of the devices, one for each motor, which might eat into your budget. One thing that's nice, though, is that by adding current sensing resistors (to whatever h-bridge you use), you can monitor the current as a voltage level via an analog input, and once it rises over a certain amount, you can shut off current to that motor (or attempt to reverse it).
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #14 on: June 18, 2011, 05:41:12 pm » |
I am using L298s, but they are on a shield, so can't really use two of them. But the sense resistor sounds interesting. How would I hook that up?
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
|