OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[solved] BrownOut issues on V2-Board

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
robert.r



Joined: 24 Apr 2012
Posts: 3

PostPosted: Tue Apr 24, 2012 8:51 pm    Post subject: [solved] BrownOut issues on V2-Board Reply with quote

Dear community,

for some time i'm making experiments with an Servo, but not getting any stable result.

I am using a Futaba-Servo with PCB replaced to OpenServo V2, bought from watterott (sorry, but I can't type link on my first post).

The Servo is powered by a 12V and 3A PSU and connected to an OSIF. Since there is an 5V powerlane in OpenServo V2 PCB the AVR is powered by USB from OSIF, if connected. Otherwise the AVR is getting about 4.3V from 12V lane through integrated voltageregulator.

So now the Problem i can't understand:

When the motor is powered up or suddenly changing it's direction i see a spike on the 5V lane, breaking down to about 2V (seen on an old analogue oscilloscope) causing a brown out.
Of course powering up a motor leads to a spike on 12V lane; and i could understand, that the voltageregulator wouldn't supply 5V to the AVR if it's input voltage falls below ~6V. But even when the 5V lane is powered by the USB from OSIF there is a breakdown in Voltage on this lane.

How does that breakdown on 12V lane cause the same effect on the 5V lane? The only connections in between are

    the common ground,
    the (diode protected) voltageregulator and
    the gate-capacity within the H-Bridge.


A big capacitor (100uF) at 5V lane didn't solve that problem.

Has anyone an explaination for that behavior?

Thanks in advance


Last edited by robert.r on Fri Apr 27, 2012 10:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Cliff



Joined: 23 Jan 2007
Posts: 150
Location: Saratoga, CA

PostPosted: Thu Apr 26, 2012 10:54 am    Post subject: Reply with quote

Hi robert.r,

Try checking your common ground for excessive IR drop: Scope ground at common point of power supply and OSIF and probe ground on the OSv2, during motor current spike.

Small and/or long ground wire and/or poor connector contacts could be the cause.

Cliff
Back to top
View user's profile Send private message
robert.r



Joined: 24 Apr 2012
Posts: 3

PostPosted: Thu Apr 26, 2012 9:00 pm    Post subject: Reply with quote

Hi Cliff,

thank you for your reply. I've done some measurements.

During motorspike I noticed a voltagedrop of about 0.2V between OSIF and servoboard on common groundline. This doesn't look critical for me. My multimeter shows me a resistance of about 0.5Ohm for this connection.

For experiments i removed the protection diode between 12V-5V regulator and 5V lane, leaving them unconnected. So now the only connections between 12V and 5V are the gates of the MOSFETs.

But still, on full-acceleration or inversion the voltage on 5V lane drops down to 4.7V (on my slow multimeter), causing brown-out.

I just can't get it, why a drop on 12V lane causes a drop on the 5V lane - even now, when they are independent except of common ground.
Back to top
View user's profile Send private message
robert.r



Joined: 24 Apr 2012
Posts: 3

PostPosted: Fri Apr 27, 2012 10:58 am    Post subject: Solved Reply with quote

Problem solved:

I soldered a 47uF Tantalum capacitor directly across the Vcc and GND Pins of the microcontroller. (This was a hint from a experienced fellow.)

From now on there are no more brown-outs Very Happy Very Happy
Back to top
View user's profile Send private message
BasicFox



Joined: 15 Mar 2009
Posts: 59
Location: Belgium

PostPosted: Fri Apr 27, 2012 2:20 pm    Post subject: Reply with quote

a capacitor across the motor leads is also an extra protection.
See the construction tutorial of Jared:
http://www.openservo.com/ConstructionTutorial_MG995#head-06085380728a53ad1be7c8266fc889ffdfc743a5
_________________
Do try this at home!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group