Go to Post Bottom line: I would suggest that you walk a mile in our shoes and volunteer to be an inspector at your next event... - Mike Betts [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-03-2016, 00:16
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Digital Servo Holding position after disable

I'm hoping there's some RC experts here on CD, because my google-fu is lacking at the moment.

We're using a Hitec digital servo to angle our lift mechanism, on account of the looser servo rules and excellent holding torque and small deadband. My problem is that even if I turn the servo "off" it keeps holding position, unlike an analog servo. This was rather unexpected and a problem, because I want the angle to freewheel while we're lifting, lest I break or fry something. Google tells me this is an unavoidable thing with a digital hitec. So 3 questions for CD:

1. Do digital Futabas work this way? Are there any digital servos that freewheel on loss of signal?
2. Is there a way to programmatically kill power to the PWM outputs?
3. Does anyone know of a way I can abuse WPILib to get a non-PWM signal out of a RoboRIO PWM port? Then I might be able pull a reset signal out of the servo programmer and figure out how to send it to the servo.

Yes, I'll be buying an adequate analog servo in case you guys can't solve my problem, but I'm kinda hoping you can.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #2   Spotlight this post!  
Unread 25-03-2016, 00:21
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by Kevin Sevcik View Post

2. Is there a way to programmatically kill power to the PWM outputs?
3. Does anyone know of a way I can abuse WPILib to get a non-PWM signal out of a RoboRIO PWM port? Then I might be able pull a reset signal out of the servo programmer and figure out how to send it to the servo.
2. Nope, not in C++ or Java at least, probably not in LV.
3. Nope, the FPGA has those pins as PWM so not going to get far there. You may be able to with the MXP PWM pins because they're multiplexed, but you can't attach a servo to them so that doesn't help much.
  #3   Spotlight this post!  
Unread 25-03-2016, 05:55
TheHolyHades1 TheHolyHades1 is offline
Registered User
no team
 
Join Date: Jan 2014
Rookie Year: 2010
Location: usa
Posts: 145
TheHolyHades1 is a jewel in the roughTheHolyHades1 is a jewel in the roughTheHolyHades1 is a jewel in the rough
Re: Digital Servo Holding position after disable

How exactly are you turning "off" the servo? While I'm not familiar with the exact details, I'd guess that if you killed power to the entire servo instead of just the control line, you'd see no resistance (beyond backdrive torque) and should be able to achieve what you want. Maybe you can put the servo on a relay of some sort? Not sure if that complies with electrical rules this year though.
  #4   Spotlight this post!  
Unread 25-03-2016, 08:11
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by TheHolyHades1 View Post
How exactly are you turning "off" the servo? While I'm not familiar with the exact details, I'd guess that if you killed power to the entire servo instead of just the control line, you'd see no resistance (beyond backdrive torque) and should be able to achieve what you want. Maybe you can put the servo on a relay of some sort? Not sure if that complies with electrical rules this year though.
R54 says servos must be connected only to the PWM port or through a wcp Spartan board. So no relay for me, this the question about killing onboard 6v.

Turning the servo "off" was supposed to happen with Servo.SetOffline() witch kills PWM to that port. Works great with speed controllers and analog servos. Apparently not great with hitec digital servos. Still waiting to hear from you guys or servocity about other digital servos.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #5   Spotlight this post!  
Unread 25-03-2016, 08:55
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Digital Servo Holding position after disable

You can try to find a servo with a failsafe setting. Try 'failsafe' as a keyword on Google and it might give you better results.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #6   Spotlight this post!  
Unread 25-03-2016, 09:43
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by Kevin Sevcik View Post
R54 says servos must be connected only to the PWM port or through a wcp Spartan board. So no relay for me, this the question about killing onboard 6v.
Your Q&A question will not do what you think. The PWM ports on the Spartan board are a straight passthrough of the roboRIO PWM pins, killing power to the board will not affect the PWM pins.
  #7   Spotlight this post!  
Unread 25-03-2016, 12:30
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by RufflesRidge View Post
Your Q&A question will not do what you think. The PWM ports on the Spartan board are a straight passthrough of the roboRIO PWM pins, killing power to the board will not affect the PWM pins.
I was assuming those PWMs were separately powered, else why is the Spartan the only MXP board that you can connect servos to?

Do you have a schematic or a board in front of you to confirm that?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #8   Spotlight this post!  
Unread 25-03-2016, 12:37
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Digital Servo Holding position after disable

We had this problem with the servo on our hood until we got a Hitec servo compatible with this guy so we could reprogram it: https://www.servocity.com/html/hpp-2...l#.VvVqMJYrKL8
  #9   Spotlight this post!  
Unread 25-03-2016, 18:38
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by Jared Russell View Post
We had this problem with the servo on our hood until we got a Hitec servo compatible with this guy so we could reprogram it: https://www.servocity.com/html/hpp-2...l#.VvVqMJYrKL8
Bought that programmer with the HS-7954SH servo. If I turn fail safe off, it freezes in place when it loses signal. If I turn fail safe on, it servos to the fall safe position and holds there. Doesn't seem to be a setting to kill it when it loses signal. Maybe different hitec servos can do different things.

Anyways, my solution has been to buy another servo. Servocity says futaba digital servos just die when they lose signal. Those weren't available around town, but Savox were. I can personally confirm the Savox die when they lose signal. It looks like just hitec hold position.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #10   Spotlight this post!  
Unread 25-03-2016, 22:41
who716's Avatar
who716 who716 is offline
Registered User
AKA: Stephen Kalogiannis
FRC #0716 (Who'sCTEKS)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Falls Village Connecticut
Posts: 417
who716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to behold
Re: Digital Servo Holding position after disable

i am spit baling here as this is little out my league but could a simple fix be attaching a spring to the servo to overpower it every-time you cut power to it or turn it off. we did this on our scalier as a break so that if we dont get up high enough when the match ends and they cut the power the spring will take affect turning the servo to place the break mechanism on the scalier.
__________________
2014-
-WPI number one seed
-Innovation in controls award
- NECMP#4 seed semifinalist
- 9th in NEW ENGLAND

2008- Connecticut regional winners
2004-UTC new England regional Winners
2001 highest rookie seed award winner
  #11   Spotlight this post!  
Unread 25-03-2016, 22:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by who716 View Post
i am spit baling here as this is little out my league but could a simple fix be attaching a spring to the servo to overpower it every-time you cut power to it or turn it off.
Unless I'm misreading the previous posts, the problem is this:

1) A way to cut the power has not been identified, and

2) When the signal is turned off, the servo tries to hold the last commanded position.

Assuming the above is correct, if you add a spring load sufficient to overcome the servo, all you'll do is prevent the servo from moving and possibly burn out the motor.


  #12   Spotlight this post!  
Unread 25-03-2016, 23:25
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by Ether View Post
Unless I'm misreading the previous posts, the problem is this:

1) A way to cut the power has not been identified, and

2) When the signal is turned off, the servo tries to hold the last commanded position.

Assuming the above is correct, if you add a spring load sufficient to overcome the servo, all you'll do is prevent the servo from moving and possibly burn out the motor.
This is correct for the Hitec digital servos. At this point we've solved our problem by buying a Savox servo, so this thread should now mostly be seen as informative for anyone that does/doesn't want a servo that will hold its last commanded position after it's lost signal. I need to test tomorrow if the hitec holds position even in Disabled, because I'm sure that would be a fascinating feature to some teams. For instance, IF it holds position, it means who716 could have gotten a hitec programmer and set his brake position as failsafe, and the brake would automatically engage at the end of the match.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 25-03-2016 at 23:28.
  #13   Spotlight this post!  
Unread 25-03-2016, 23:45
who716's Avatar
who716 who716 is offline
Registered User
AKA: Stephen Kalogiannis
FRC #0716 (Who'sCTEKS)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Falls Village Connecticut
Posts: 417
who716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to behold
Re: Digital Servo Holding position after disable

Quote:
Originally Posted by Ether View Post
Unless I'm misreading the previous posts, the problem is this:

1) A way to cut the power has not been identified, and

2) When the signal is turned off, the servo tries to hold the last commanded position.

Assuming the above is correct, if you add a spring load sufficient to overcome the servo, all you'll do is prevent the servo from moving and possibly burn out the motor.


that what i thought but it turns out that the servo is strong enough to pull the spring, but without power the spring pulls it back.
__________________
2014-
-WPI number one seed
-Innovation in controls award
- NECMP#4 seed semifinalist
- 9th in NEW ENGLAND

2008- Connecticut regional winners
2004-UTC new England regional Winners
2001 highest rookie seed award winner
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi