![]() |
Regulating power to a servo with a relay
Does anyone know if its legal to do this? I wasn't sure if this violates <R48>. It seems fine to <R48>'s statement, but then doesn't seem to look legal in part B. Also <R57> states that servos must be controlled with signals from the digital sidecar, which is still true in our case.
We are using a relay to cut power to a retract servo so we can stop it where ever we want but still using the signal wire on the digital breakout board to control the direction of the servo. Thanks, Ethan |
Re: Regulating power to a servo with a relay
I'm not totally sure on this, but wouldn't that blow out the servo anyway?
The power from the Digital Sidecar would give it the 6 volts needed to power it. If you connected a spike to it using the 12 volt output on the Power Distribution board, I believe it would blow out your motor. |
Re: Regulating power to a servo with a relay
We are using a 5 volt regulator with it
|
Re: Regulating power to a servo with a relay
Why would you want to stop it?
The input it gets (PWM - Pulse Width Modulation) controls the angle of the servo, to about +- 85 degrees or so. If you set the angle precisely, it will stop there and hold its position. If you want it to not hold its position, then turn it off. If you do not feed it a control signal, it will turn itself off. The way to turn it off is to not give it a control signal, either by letting the watchpuppy kill it or by closing the device when you don't want it to move. (since both of those will tell the FPGA to stop outputting a control signal to that device). Neither one is really an answer, but a workaround. I don't really see why you would need to make it stop, since you can't really smoke those little things (from what I've seen at least) and they don't output much power. |
Re: Regulating power to a servo with a relay
The problem is its a retract servo, so even when you stop giving it signal, it keeps going till its either all the way clockwise or all the way counterclockwise
|
Re: Regulating power to a servo with a relay
There is something wrong in your code.
could you please post that code segment and I can take a look at it. you should be able to stop anywhere in it's range of motion. |
Re: Regulating power to a servo with a relay
No there isn't anything wrong with the code, this is a RETRACT servo. A retract servo is different then a proportional servo. Retract servos only travel from end to end when powered.
|
Re: Regulating power to a servo with a relay
Quote:
Quote:
|
Re: Regulating power to a servo with a relay
Quote:
Quote:
|
Re: Regulating power to a servo with a relay
Quote:
|
Re: Regulating power to a servo with a relay
Quote:
I did have an idea to make it not move though. I don't know how good it is for the servo though. I was thinking what if I told the servo that when the absolute value of the joystick value is less than .2 to change the direction of the servo every single time that teleop.vi is called. So essentially every 10ms (I think), it would say go left, go right, go left, essentially changing directions so quickly that it wouldn't move. |
Re: Regulating power to a servo with a relay
A servo updates every 20ms (that's how long the FPGA waits between sending PWM pulses) so a 20ms loop should work fine.
Why not just use a proportional servo? Two came in the kit, as part of the camera pan/tilt head (you really only need a tilt head, because you can twist the robot to pan). |
Re: Regulating power to a servo with a relay
Quote:
This servo is 260 oz-in at 1.55seconds/60 degrees http://www.jrradios.com/Products/Def...ProdID=JRPS791 Do you know of any servos that are:
Thanks! Ethan |
Re: Regulating power to a servo with a relay
A motor + a potentiometer + code = big servo
A window motor does about 20 watts, is fairly easy to use (if you just bolt your mechanism to the hub), you can use 2 for more power (or even 4 I guess), and it spins at a good speed. A 775 does 266 watts at peak power, which is 66.5 times as much as the 4w servo. Add another (making that joint powered by 2 775's) and you will have 133 times as much power. |
Re: Regulating power to a servo with a relay
This is true, but we wanted something really really light because its going to be at the height of the top peg and then extended a foot or so outside of the boundaries of the robots chassis.
|
| All times are GMT -5. The time now is 15:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi