Hot Servos


Closed Thread
Results 1 to 38 of 38

Thread: Hot Servos

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I dont think the regulators are the main problem. They are getting quite hot but they have heatsinks on them and ive had one running hotter for a few hours without problems.

    The skull is more balanced than any other that ive seen. The jaw servo is in the center instead of at the front. One problem ive heard with this kind of project is that when the power is cut the skull will look straight down. Mine doesnt have this problem. It remains exactly where it was so the servos definately arnt struggling to keep the skull in position.

    I did have a servo tester (now blown up after forgetting the 5V regulator) and all 4 servos worked fine with that. If its not my code thats causing the buzzing then there must be some fault on the circuit but i cant find one.

    As my code listens for serial data i cant jump into the tight loop too soon but i calculated that it should jump in over 3,000 instructions before the timer overflows. Theres no way my program uses that many instructions in one iteration of the main loop.

    Heres my tight loop for servo 1
    Code:
    Servo_Loop1							; Label: Servo1 tight loop
    	
    	; Check if Timer3 has overflowed
    	BTFSS	PIR2,1					; If TMR3IF=1 Then: Skip the next line
    	GOTO	Servo_Loop1				; Nothing to do yet so go back to the start of the loop
    	
    	BCF		_pServo1				; Turn the servo pin off
    	
    	GOTO	Servo_Next				; Goto the subroutine that sets up the next servo
    The PIC runs at 10MHz with PLL (40MHz / 10MIPS). The servos were quite expensive but their deadband shouldnt be shorter than a few instructions.

    Im going to go over my code again tomorrow because ive already found some stupid mistakes in it so there might be more. 1 thing i can think of is that i dont allow 18ms between pulses. There is a gap but i think its more like 10ms. That should be fine though right?

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    The Master , If I were you I would seriously look at the power supply for the servos. If it is not STIFF ENOUGH because of lack of current availability, the closed loop circuitry inside could be trying to compensate for it. I would take a scope or at least a AC voltmeter and watch the +5 volts that power the servos. If you are seeing more than a hundred millivolts or so, the supply is WEAK... This is also probably the case when you say that the servos make a buzzing sound when they are at a stable position, assuming the input pulse width is stable... Just my thoughts...

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Heres the PSU i am using. http://www.rapidonline.com/Electrica...mode-PSU/79713. Even the smaller 2A one ive got provides a very clean power source. Do you think its worth adding a big capacitor just incase though?

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    If you think the power supply is not adequate test with one that you know is. In this case an automobile battery should do. Large and clean, power wise that is.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I think the power supply should be fine but i will try a large capacitor when i get home to see if that helps at all. I also have a PC PSU laying around that i can test with and ive run servos from that before so i know its clean enough.

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    The Master , You are missing the point... I said look at the +5 volts running the servos, not the main PSU... The servos are operated by +5 volts arn't they?

    Dave Purola,
    N8NTA

  7. #7
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    So even if the main PSU is very clean the power after the regulators might not be? Would that happen because the servos are drawing more power than the regulators are happy with?
    Last edited by The Master; - 3rd August 2010 at 16:01.

  8. #8
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=The Master;92102 1 thing i can think of is that i dont allow 18ms between pulses. There is a gap but i think its more like 10ms. That should be fine though right?[/QUOTE]

    That might be some of your twitching. They should have 20mS between start of pulse and next start of pulse.
    http://www.scalerobotics.com

  9. #9
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    Friction can contribute to servo heat. If the mechanism can't easily and smoothly move one servo step, then it can oscillate.

    For this type of app, I've used digital servos. They have several benefits... the first of which is no heat when they are not moving. They are easier on the PIC mcu program, too, because you can give them a single pulse and they'll remember the target--instead of a continual string of pulses.

  10. #10
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    The regulators are hot but they arnt incredibly hot. Like it said, ive got another circuit where the regulator is running even hotter without any problems.

    The servos im using are 3 X Hitec HS-645 MG and 1 X Hitec HS-5645 MG Digital.

    Ive tried unplugging all but one servo then connecting a capacitor to it. There is no change at all.

    There is almost no restriction at all in the mechanism. I can move it freely with my hand when the power is off. The servos only have to move the weight of the skull. (The mechanism)

    Ive just done a test that i should have tried ages ago. I unplugged my PIC and powered up the circuit. All of the servos jumped to a random position (as they always do with no signal) then they stopped. No twitching or buzzing. The servos and the regulators are all remaining very cool. Im going to do some more maths and see if i can make my program a bit better

  11. #11
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    On the 20ms pause. Ive read that it should be on for 1-2ms then off for about 18ms. How sensitive are servos to that gap? My understanding is that the length of time the pin goes high for is the most important. The pause in my program will vary depending on how long the pins are on for. That has been fine in the past with a similar type of servo

  12. #12
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    Sounds like a code issue. Have you looked at the output pulses on a scope? If the signal pulses vary at all, that can drain the batteries.

    The 18mS isn't critical with the digital servos, but the analog servos are all different; some could just power down, and some could cause more drain.

  13. #13
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ive taken a look at the signal with my scope. At first it was showing a 1.4ms pulse with a 6ms gap. I found out that i hadnt cleared the Timer3 interrupt flag. Ive updated my code and now im seeing a 1.4ms pulse with a 19.2ms gap but its now worse than it was before. Originally the servos were constantly buzzing but now they are visibly moving constantly.

    While ive been messing about with it ive been testing the digital servo on its own and it seems that it holds its position silently no matter how big or small the gap is. Its the 3 standard servos that are causing all the buzzing. I even plugged one of the standard servos into the socket for the digital servo just to be sure but i still had the problem

  14. #14
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Red face

    Quote Originally Posted by The Master View Post
    The regulators are hot but they arnt incredibly hot. Like it said, ive got another circuit where the regulator is running even hotter without any problems.

    The servos im using are 3 X Hitec HS-645 MG and 1 X Hitec HS-5645 MG Digital.
    Hi,

    Bad news ...

    The HS645 are rated 1 Amp each ... but their real problem is a very poor position holding caracteristics .
    This servo is well known for its lack of precision AND its Hysteresis ...

    That explains what you get as a behaviour.

    Only solution is to change them ...

    Try some old Futaba S9402 ( good discounts ... VERY good servos )

    AND try to forget about Hitech products ... you'll really save your $$$ !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  15. #15
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    All of these servos worked fine when i was using the Hitec servo tester. I would have thought the digital servo would be the first to complain if there were any problems but thats the only one working.

    The Futaba S9402 is £65.50. I need 3 of those so its a bit expensive. Ive been looking at some Hitec HS-5625MG digital servos. They are very slightly better than the analog ones im currently using but they are digital so i shouldnt have a problem with them. They are only £35.99 each which is still gonna be expensive but not as much.

    I would like to know what went wrong though. I cant believe that 3 perfectly good servos would suddenly mess up at the same time like this. They were holding their positions very well when i was first testing them. There was no buzzing and they wernt struggling to move the skull at all.

    By the way, i have completely removed one of the analog servos from the skull and powered it up. Its still twitching. I think its even worse than when its in the skull

  16. #16
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I just remembered that i had an old Sanwa SRM-102 servo laying around. I tried plugging that in and it holds its position very well. It is a little jumpy if i try to turn the arm but this servo has always been like that.

  17. #17
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    I cant believe that 3 perfectly good servos ...
    This is waaayyyy optimistic !!!

    the test has been made by very serious guys with a high level servo tester ...
    that wasn't MY experience but the ( very bad ) results of tests ...

    ALL Those results have been published as a program called "Servormances" ... only available in French, halas.
    Here you can get it ...
    http://www.teaser.fr/~osegouin/aeromode/servos.phtml

    You ALSO can ask P. Cesarrato a "kit" of his servo tester ... he sells it @ " friend price " ( no much more than the components price ...)
    I join some description of the used tester manual ...

    Add to that I have been dealing with R/C stuff for ... over 40 years. If I tell you to forget about Hitech products, It's ALSO because I personnaly have tested, repaired ... and thrown their products to the Wastebox !!!

    Want some copies of the ( constructive ...) mails I've sent to and received from their technical staff ???
    They even do agree their servos are " not so good " ... and , of course, always promise they will correct them !!!

    Talking price ...

    you can get much, much better prices ( ~ half what you tell !!! )... but may be NOT from your local reseller or any " robotics shop " !!!
    Also have a look to Futaba S3302 ...

    Alain
    Attached Images Attached Images
    Last edited by Acetronics2; - 4th August 2010 at 22:40.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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