Results 1 to 6 of 6

Thread: Servo reading position and lock position CW

  1. #1
    mkanon Guest

    Servo reading position and lock position CW

    Hi! i'm new, we just started a project but i'm already wandering if it can be done...

    is it possible for a servo to read the position when being turned by hand (no motor control), and while turning (by hand) i want to lock the position counterclockwise (or clockwise, not both ways). When locked counterclockwise, i want to still be able to turn clockwise. Are there servo's that can do this. Please help me
    Last edited by mkanon; 03-23-2013 at 04:53 PM.

  2. #2

    Re: Servo reading position and lock position CW

    In theory, servo firmware should easily be able to support what you suggest. However, I'm not sure I know of any servo where that is an exposed feature in the default firmware. You may need to build your own with an absolute encoder, a motor, a motor driver, and a microcontroller. Or ask some servo manufacturer if they support custom firmware...

  3. #3
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    852
    Images
    25
    Rep Power
    86

    Re: Servo reading position and lock position CW

    Dynamixel's can read their position. Though I've never heard of a servo that can "lock" it's position let alone in only one direction. Maybe someone else has heard of an obscure servo out there that can.

  4. Re: Servo reading position and lock position CW

    Most of the Servo motors cant read the position. As far as I know it cant be locked for rotation in one direction.

  5. #5

    Re: Servo reading position and lock position CW

    Most of the Servo motors cant read the position.
    A servo is, by definition, a motor with a closed feedback loop from a position sensor. It can't be a servo without reading its position.

    Hobby servos don't provide feedback outside of the servo itself; perhaps that's what you intended to suggest? Industrial servos pretty much always provide read-outs of the position sensor.

    The main problem with a control loop that allows one-way turning is to avoid the servo driving itself in the allowed direction, while still providing resistance in the counter-direction. I imagine if you can accept one quantum of backlash either way, you could build a control loop that turns up power when it detects moving the wrong direction, and turns down power when it detects moving the right direction. You can actually build this on top of the Dynamixel servos (or any other real servo) although your response time will be worse than if it was tied into the control loop directly.

  6. #6
    Join Date
    Sep 2010
    Location
    ಠ_ಠ
    Posts
    2,289
    Images
    27
    Rep Power
    276

    Re: Servo reading position and lock position CW

    One of the first things that popped into my mind when I read this thread was a solenoid controllable ratcheting mechanism to prevent the horn rotating in the direction you do not want. If you really need a servo instead of just a potentiometer or rotary encoder, you would have to add some sort of sensor and/or mechanism to prevent the motor being driven in the wrong direction while the ratcheting mechanism is engaged (a pair of limit switches should be easy enough to implement).

    It can partly be implemented with dynamixel servos, but it is not very effective/smooth. One of my undergrad projects was to use a pair of gerwalk to implement a force feedback marionette system (use one gerwalk as a controller/"master" and the other as a remote puppet/slave/"blaster"). Basically involved reading the "present load" value from blaster's servos and increasing torque on master's corresponding servo when an obstacle is encountered by blaster then decreasing torque on master's servos when master starts moving the servo backwards away from the obstacle blaster encountered. It was a bit more complicated than just that, and not well implemented in part because of the limited feedback from the AX-12 servos (no actual current or torque sensors).
    Please pardon the pedantry... and the profanity... and the convoluted speech pattern...
    "You have failed me, Brain!"
    bleh

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question(s) Reading Wrong Position Values from AX-12 (C++)
    By robotpanda in forum Software and Programming
    Replies: 4
    Last Post: 05-12-2012, 10:30 AM
  2. Help with servo read position
    By starstorms in forum Software and Programming
    Replies: 1
    Last Post: 04-21-2012, 05:36 AM
  3. Question(s) Reading Dynamixel's position in Wheel Mode
    By pauljurczak in forum DYNAMIXEL & Robot Actuators
    Replies: 3
    Last Post: 10-28-2011, 04:04 PM
  4. Interesting Hack servo v3.00 - Get full PID position and speed control from your hobby servo
    By Antonb in forum Mechanics / Construction
    Replies: 20
    Last Post: 06-27-2010, 11:24 AM
  5. PWM to Phidget Servo position function
    By Alex in forum Arbotix, Microcontrollers, Arduino
    Replies: 2
    Last Post: 08-13-2007, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •