Asked — Edited

Specific Recommendation For Power Adapter

Hello, I made the leap after a fair amount of research and bought an ezbv4 last night. My initial application is static so I deferred buying a battery..unless I missed it I did not see a wired power adapter in the store. I have read some of the power tutorial.. I did get the power base also.

I am looking for a recommendation on finding a power supply.

I expect to eventually run 18 micro servos and possibly up to five brushed motors. Three of these are larger and draw 1.8a stalled.. I never expect to have all the servos running at once.. I plan to have the. Brushed motors running through escs so their power can be drawn from another source. If you follow.

I want to make sure I have something soon.. So to start I could use a dc wall wart say 12 volt 2amp with 2.1 mm barrel?

Can someone throw out some links to recommended sources? I am inclined to go to one of the mote prominent online robot shops. Does that make sense?


ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

#1  

The digital ports on the EZ-B V4 are not regulated. Unless your servos are 12 volt servos, or you are willing to run these from a different power source or through an UBEC or some other regulator, you probably dont want to use the 12 volt power supply. I will add more in a bit. busy at work. i just dont want you to blow up yours servos.

PRO
Synthiam
#2  

Hi! Welcome to the forum:)

First, when you say "not all servos are r running at once". What does that mean? To clarify, are you saying that you will Release the servos? Or they won't be "moving" at once? Because how a servo works is not like a regular motor. When a servo is "holding position", that is a stall torque + holding weight. A servo, even when not moving, is actually using a great deal of current holding position. This is of course when holding weight. A servo in position that is not holding weight, won't be using much current because the motor isn't running to hold the weight.

That's the difference between a servo and a motor. Forgive me if you actually meant that the servo will be released and not receiving a PWM signal to hold position. Many people are lost when it comes to servos. Here's a tutorial on how a servo works (the learn section is your friend): https://synthiam.com/Tutorials/Lesson/48?courseId=1

As for the power supply, 2 amps won't be enough for much - maybe 2 servos. Unless the power supply is a switching supply, because most are transformers which are made for transistor circuits. There is a wack of information on this forum about power supplies to use - and user tutorials about them. Now, the biggest challenge you'll run into is assuming a "wallwort" can provide current for anything mechanical, even if it has a kabillion amp rating.

This is because transformers, again, are generally designed for transistor circuits - and the load of a mechanical device (Such as a motor or servo motor) will affect the whole circuit. It's inherit to how a transformer works - this is why switching power supplies have been invented (and due to lower power consumption/heat)

Here's Steve's tutorial: https://synthiam.com/Tutorials/UserTutorials/163/1

Here's techno's tutorial: https://synthiam.com/Tutorials/UserTutorials/170/1

There may be some others, look here: https://synthiam.com/Tutorials/UserTutorials/

Also note. as dave cochran just mentioned - the EZ-B ports aren't regulated. This means power in is power out. You will find out more by reading the EZ-B v4 datasheet, it's in the learn section as well. Here is a direct link to the ez-b v4 course: https://synthiam.com/Tutorials/Course/5

#3  

@kennard42 A 12V 2amp power supply will be woefully inadequate for what you want to do... You need to start looking in the range of 12V 20amp (probably higher) power supplies...

I have a Meanwell 5V 60amp power supply that is barely able to power my inMoov. On occasion I still get browns out causing the ezb to reboot....

PRO
Synthiam
#5  

@Richard, you need to throw some super capacitors on the inmoov like we have done. it's great and never get a brownout!

#6  

@DJ.... Yeah I know.... Jeremie already told me to to it while I was visiting you guys at ez robot back in May... Been meaning to, but been lazy about it...:)

#7  

The biggest thing is that you need a 5-7.4v power source depending on the voltage of your servos, as the ez-b is unregulated, so what goes in comes out. Any sensors would then need to be regulated or powered from a different source of it can't take that voltage. Your power source needs to be able to supply the stall torque of each motor/servo motor combined, plus enough for sensors and 100mAh or so for the ez-b. So with that math, about 30A but that's close, and almost no power supply can output what they say. I would get a power supply that can output close to 40A easily.

#8  

Lots of great info. I think I am getting it and will study those links. I am a noob to all this. Obviously. Much of my reading had been on arduino and when they showed all these servos running they didn't mention power much.

So, I only have a couple servos to play with and a servo tester. Specs on the servos are hard to come by. Can't find how much the 'inrush' draw might be let along operating draw. These and the ones I have looked at seem to be 3-6v, so based on that and comments here and more reading I see I really want a 5v or 6v supply MAX?

Here's one servo I was looking at: http://www.hobbyking.com/hobbyking/store/_22927__HXT900_Micro_Servo_1_6kg_0_12sec_9g_US_Warehouse.html

and I think I may end up needing a second supply then for the brushed motors I want to run with the ESCs.

Here is the ESC: http://www.hobbyking.com/hobbyking/store/__9090__Turnigy_20A_BRUSHED_ESC.html

Looking at this 5V:

http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&productId=123394&catalogId=10001&CID=MERCH

It's half the price of the EZB. :(

A lot of these say 'single' output but it looks like they have seven screw terminals. The picture is kindof small but it looks like two V+ and V- but can't make out the others. Note says picture may not be exact. Datasheet does not clarify that aspect.

#9  

If you use 5v, the servos won't perform to their best. I would suggest getting as close to their max rating as possible to get the best performance. That being said, 5v is much more common amongst any sensor or servo company. so for a trade of less power, you get more compatibility without the need for regulators.

United Kingdom
#10  

@Kennard42

Here are the terminals pin assignments for the mean well supply in your last link from their datasheet...

1.) A/C input live 2.) A/C input Neutral 3.) Input Ground/Earth 4.) DC output Ground 5.) DC output Ground 6.) DC output Positive .7) DC output Positive

User-inserted image

Servo inrush is difficault to measure as it happens so quickly which is why you won't see it very often in spec/datasheets. As has been mentioned, it's probably best to go to the higher end of the scale for the servo power specs. If one is rated for maximum 6v input, grab your self a 6v supply.

I use two similar micro servos (in your first link) which I had laying around, in my current robot project, but rated at 5v to 7.4v Max using a 7.2v battery and they work great at that voltage. Using less than 7.2v with the ones I use and the servos begin to jitter slightly and have trouble moving or holding anything near the maximum specified stall torque.

#11  

I seem to have a conundrum here.

I am not having much luck finding a power supply at 6v.

I was looking hard at the meanwell line which seems very extensive yet and it seems they have 5v, 7,5v, 12v and many more higher, but not seeing 6V! But it sounds like my servos may jitter at 5v and at 7.5v I could fry them.

So... do I have to get a higher output supply and then get something like this?

A step-down voltage regulator: https://www.pololu.com/product/2852

Or perhaps this step-up/down voltage regulator: https://www.pololu.com/product/2575

United Kingdom
#12  

@Kennard42.

I only mention servo jitter at 6v because that's what I experienced on a 7.4v micro servo of the same brand some time ago. Chances are that a 5v supply will be okay with your 5-6v servos. Most servos like that will work okay at 5v, where giving it the maximum 6v will make it a little stronger. You could use the regulators/drop-downs you linked to, but it would have to be one per servo.

PRO
USA
#13  

@dj, where do you place the capacitors? I have two 1/5 scale servos for ALANs neck that always brown out the ezb on a mean well 20 amp power supply and moved up to a 40 amp with a bit better performance , but would like to try the capacitors. That way I can stick with a smaller power supply.

PRO
Canada
#14  

Will, you will need some super caps that are rated over 3.3V.

I ended up using two 1Farad 2.5V Aerogel caps in *series to boost the voltage rating to 5V.

User-inserted image

Then you can place the caps on the GND & 3.3V pins next to the analog pins.

Be very careful you get the polarity correct or the caps could explode:(

User-inserted image

PRO
USA
#15  

Thanks very much!

PRO
Canada
#16  

No prob!

oops I made a mistake those caps are in series, edited post.

United Kingdom
#18  

@Jeremie

Wouldn't it make more sense to put the smoothing Cap's across the supply to the Servo's, as it's the servos that are causing the current spikes! I know you will have to have a higher voltage rating for the Cap's.

Also the rule of thumb is to have the voltage rating of the smoothing caps at least 30% over the supply voltage, your using.

Chris.

#19  

@cem The ezb4 browns out because (in my case with my inMoov) the 5v 60 amp meanwell's voltage drops below 4.5 when all the servos start to move... What jereimie has done was use the two 2,5v 1 farad caps to keep just the ezb's voltage above 4.5v so it doesn't brown out. Anyway, it works great. I seen it first hand when I was at ez robot earlier this year,,, DJ was running his inMoov with a 5v 20amp power supply with Jeremie's supercap mod and there were no brownouts...

United Kingdom
#20  

@Richard, I know this, and think your missing my point? Jereimie suggests putting the Cap's across the power for the digital ports 3.3v, as shown in the photo, and not the main power supply to the Servo's and EZB.

It may work OK the way he suggests, BUT what I was suggesting was to put it across the main power source, obliviously you need to be mind full of the voltage rating of the Cap's to use.

Unless I missing something here? but I do know what I'm talking about, I have been working in the Electronics design industry for over 40 years, and have a degree in Electronic design and engineering, and voltage smoothing is pretty basic stuff!

Chris.

PRO
Canada
#21  

Yep Chris is correct common practice is to use smoothing "tank" caps on the input side which in most cases does the trick, but not in ours unfortunately.

Here's are the reasons:

  1. Servos have a extremely high in rush current demand. In order to smooth out their voltage drop (on the input side) requires a proportionally high amount of capacitance. I literally used every high farad capacitor in my collection (30 or so) placed in parallel (capacitance adds in parallel) to try to smooth out the input voltage and it barely made any positive results. These findings were discouraging because I didn't want to have to chain together a massive bank of caps to rectify the issue.

  2. Voltage rating versus capacitance - capacitor voltage rating needs to be matched or exceed (better practice) the voltage being applied. In the case of using a 7.5V supply you would need at least a 7.5V rated cap. But here's the catch: the higher the voltage rating on a cap the larger in physical size and the more expensive it will be. To use low voltage super caps on the voltage input we would have to place many in series to get up to the voltage rating we need. Here's the next catch: when capacitors are added as the voltage rating increases the capacitance decreases as the farads are being divided, so you have to start paralleling caps to increase the capacitance again. You can see how this could quickly become a ridiculously large bank of caps.

  3. Cost - to acquire large capacitance values these days Super Caps are the answer but to create a large bank of Super caps is very pricey.

  4. Size - a large bank of super caps also takes up space which is usually a commodity in Robots.

All this being said I found it far simpler, smaller, and more economical to place Super Caps on the regulated output side of our SWPS to account for dips on the input voltage side. In Rush voltage dips only happen for fractions of a second so as long as the Supercaps can hold up the 3.3V for the time needed it all works out.:)

PRO
Canada
#22  

Maybe I should throw this info into a tutorial with osilliscopes screenshots lol, seems like a good candidate for one.

#23  

Even easier than adding caps why not just bypass the EZB and power the servos directly from the PS (if you have the room and soldering or connector skills). After I stopped using my EZB as a power conduit I've never had power brownout. Either way will work but I guess but I feel the less components in a well designed circuit is better. I feel the real trick is to have a quality PS or battery able to deliver enough amps and wire large enough to transfer them. I'm no educated electrical engineer but I think the voltage sags causing EZB brownouts happen because you're pulling too many amps through the EZB too quickly. Good Power supplies or proper batteries are better equipped and designed to deliver this kind of power draw. So why suck the life out of your EZB. Bypass power around the EZB to other power hungry devices and feed the EZB it's own dedicated power supply.

Anyway, that's my working theory in my robot. I've proven this in my build by using both techniques. I'm not saying caps are the wrong way to go. I'm just offering another option. Too me though caps seem like placing a bandage on a wound to keep the bleeding from happening. ;)

@Jeremie, if you're still doing tests perhaps you could try my method to confirm my findings? Really load the PS down and battle test it by bypassing the EZB to see when the PS browns out vers running supply power to servos through the EZB using caps in the ADC pins?

PRO
Canada
#24  

Hey @Dave,

Thanks for chiming in, you do bring up some valid points! Having proper gauge wire and a good quality power supply are very important in the quest to eliminate brownout conditions. Although, I would contended that it's easier to add a couple caps to the 3.3V than rewiring your entire project for external power, but that might just be my preference:).

What we are really taking about here is the limitations of switching power supplies/supply and demand. If the power supply cannot supply enough current to meet the demands of the application it will drop the voltage to compensate (and cause a brownout) this is the nature of switching power supplies (SWPS). In the majority of the brownout cases the EZ-B's power traces are not to blame, it's is highly likely that it is a case of a power supply that cannot meet the inrush current demands of the motors (DC or servos). How do I know this? Well I can run the same amount of current through the EZ-B with a high Ahr LiPo or Lead acid and it will work without an issue. I have also seen cases where no 2 power supplies are the same (quality matters) 20A doesn't always mean 20A. Meanwell is a brand that I've had great experiences with, their rating is trustworthy.

The only caveat to all this is what the real current (inrush and constant) is for each project. The EZ-B isn't a magic machine it does have a theoretical maximum amount of inrush and constant current it can handle its just hard to nail down. Instaneuos inrush current is very hard to measure and with constant current we are dealing with thermal properties and resistance. That being said, using ezrobot servos I have not found a situation where I cannot power an robot (even with 16 servos) through the EZ-B with a SWPS.

The key for a lot of people is that they want to use a lower current rated supply than is needed due to expense. Adding super caps to the 3.3V line allows you to do this. The real fix is a higher current SWPS (but yeah they are expensive).

#25  

@cem... I did not miss the point... Jeremie's solution is more efficient at keeping "logic voltage " alive.... And that's all you need to do to keep the ezb from browning out and resetting... The servos could care less how low the voltage goes, but the ezb does...... It's simple, less expensive and elegant.... Your method is the equivalent of using a sledge hammer to kill a mosquito...sure it will work, but a little overkill don't you think?

#26  

@Jeremie, I can't argue with anything you wrote. This is a great discussion about the different options and methods one can use to get around different issues that always come up with power distribution and load. Each build is different and people have different resources , needs and methods. If a person has the ability to buy a properly sized switching power supply at the start of a build and has the room to install and properly wire it, then good for them. No money, availability or space for a monster power plant? Then it's great that adding caps will prop up the EZB when needed. There's nothing wrong with using a sledgehammer to kill a mosquito if that blood sucking bug is as big as a cow or is really pissing you off. Kinda feels good when you kill one like that anyway.:)

United Kingdom
#27  

@Jeremie

Thanks for the info! I purchased 2x 1.5F 5v supercap's which has internal balancing circuity. Put them in series to get 10v rating, I used them on my Inmoov with EZB controller 'INPUT' voltage side ( 7.4v ), works a treat and stops intermittent brownouts.

Also these supercap's wasn't expensive, at £4 ( $6 ) each.

Cheers, Chris.

#28  

@jeremie, do these caps have to be placed on ADC7 or can it be on any of the ADC ports thanks.

PRO
Canada
#29  

Any port will do. 3.3V and GND is shared among all the ADC power pins.