Notifications
Clear all

Trying to figure out what kind of DC Power Source I will need.

97 Posts
7 Users
16 Reactions
4,730 Views
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  

Hello:

I am trying to figure out what kind of DC Power Source I will need.

I am thinking of getting the following: A 12V DC Rechargeable Lithium-ion Battery Portable Battery Pack 3000mAh w/ Charger Switch.

But I am worried this is not enough Voltage or Amps. Please let me know what you think.

Thanks - Bill

(I was asked about my skill level and I would say I have about average skill's and understanding. Hope this helps)

My ROBOT 42 Project:

I will be running the following -

QTY ITEM

7 - Nema 17 Stepper Motor's 17HS08-1004S Short Body

     12V to 24VDC – 4 wire Bipolar 0.1A

2 - Nema 8 Stepper Motor's 8HS11-0204S

     12V to 24VDC – 4 wire Bipolar 0.2A

2 - Mini Stepper Motor's with full metal gearbox 10mm

     5V to 6V - 4 wire 2-Phase 0.3A

2 - MG995 Servo's

     4.8V to 6V - 3 wire - Max Current Draw: 1.2A @ 6 VDC

1 - Arduino MEGA 2560 R3

6 - TB6612 I2C Stepper Motor PCA9685 Servo Driver Shield's V2 For Arduino

NOTE: TB6612 MOSFET driver: with 1.2A per channel and 3A peak current capability. It also has much lower voltage drops across the motor so you get more torque out of your batteries, and there are built-in flyback diodes as well.

4 – LM2596 DC to DC Buck Converter's

      ( To convert 12V to 6V)

Note: The Arduino MEGA 2560 R3 will be run on it's own separate DC Rechargeable Lithium-ion Battery

Note: Only 4 of the Nema 17 Stepper Motors will run at the same time (4 Wheels)

 

 

 

 

 

 


   
Quote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1112
 

Now that's a lot of motors!  Makes me wonder if the "42" in the name refers to the number of degrees of freedom this thing will have, originally I assumed it was in reference to the Hitchhiker's Guide to the Galaxy!

What you need to do is essentially figure out how much current you could draw under a worst-case scenario. Remember that motors consume a lot more current under load, you need to check out the "stall current" to get this value.

When I look up the NEMA17 motors you specified, I get the current draw at 1 amp each, not 0.1 amp.  You say only four will run at once, already that is 4 amperes. Add in the other motors (and calculate for the different voltages used) and it looks like your "ROBOT 42" will be eating about 7 amps if everything is activated. Of course, it's not likely that all the motors will be on at once, but again there is that "worst case scenario" you need to plan for.

The battery you specified would last about 30 minutes, drawing that current. 

Personally, I would suggest using LiPo batteries, or perhaps build an 18650 battery power bank.  I did a video on using LiPo's that can help you calculate the correct size.

Good luck, and I'd love to see a picture of this multi-motor beast!

😎

Bill

 

 

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
Inst-Tech reacted
ReplyQuote
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  
Robot42

This is Robot 42 and Yes it is a reference to the Hitchhiker's Guide to the Galaxy. I was trying to post this when the forum when down. I hope I was not the cause. - Bill


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@greendragon Simplistically, measure how much current your bot uses, then multiply that by the number of hours you want it to run before needing a recharge.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1112
 

@greendragon No, you were not the cause - I took the forum down to make a few updates.

That's an impressive looking robot, looks like it's built using Actobotics parts?  Perhaps you can explain what all those motors do.

😎

Bill

 

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  

Posted by: @dronebot-workshop

That's an impressive looking robot, looks like it's built using Actobotics parts?  Perhaps you can explain what all those motors do.

1. Robot 42 is built out of 1950 to 1960's Erector parts. Before anyone gets any ideas of just buying up old erector parts, and trying to build your own - don't. There are roughly 36 Plus custom hand made parts that do not exist. I love working with metal, and spent over a year building and designing it. I have finally gotten to the electronic stage.

2. What do all those motors do? Each foot has 2 motors connected to a wheel. There is one motor in the head to move it right, or left. 2 Motors in the shoulders to move the arms up or down. Each elbow has a motor. Each wrist has a motor, and each hand has a servo for griping.

I'm old, and I come from a time when robots looked like walking tin cans (lol). So I decided to build a old school robot. If I had money I would have built a full scale model. This version is about 3 feet tall. Imagine if this was full scale where would I store it in my tiny house?

please note: Robot 42 is not a battle bot! It is a real robot (My opinion only). When designing it I set out a few parameters for myself  - No plastic or as little as possible metal only, Take my time and finish the body, buy and install the motors and then work on the electronics. I don't know how many times I started a project when I was young and because of jumping ahead I never finished it. This time I am taking my time, and if it takes a few years so be it (better then watching reruns).

Bill

 

 

 


   
ReplyQuote
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  

Hello:

I have done a ton of research on batteries and I think of going with A - 12V DC Rechargeable Lithium-ion Battery Portable Battery Pack 9800mAh w/ Charger Switch.

If I am correct this battery would give me about 90 mins of power. I would like double that, but the cost is the cost...

I know the Admin likes LiPo batteries, but in my opinion they seem like a big pain in the ass. You have to keep them balanced, and charged up or uncharged and check that all the cell's are good.(and it will not last any longer time then the battery I am looking at buying)

Feel free to correct me if I'm wrong on this.

I am looking for something I can plug into a charger and not worry if it's going to explode or have to do a bunch of checks on. I was just going to add a simple led charge indicator on the robot 42's chest.

Bill


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@greendragon LiIon are more forgiving, if you can find a size that works for you then go ahead. Keep in mind though that the popular 18650 batteries from places like AliExpress, Amazon, eBay all contain fakes. A battery capacity is a function of the mass of the chemicals. It is a violation of the laws of physics that a same size i.e. 18650 can be both 1800mAh and 5000mAh. The 5000 is a fake. nThey range from 1800 to 3600, but I don;t know how and assume 2000 as a design midpoint.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@davee)
Member
Joined: 4 years ago
Posts: 1871
 

Hi @greendragon,

   I haven't seen a total current demand estimate, but simplistically, if a 9.8 AHr battery will be completely drained in 1.5 hours, then current demand would need to be over 6 A.

-------------

Similarly, you haven't specified an actual battery/charger unit, but my first Google hit for the phrase "12V Rechargeable Lithium-ion Battery Portable Battery Pack 9800mAh w/ Charger Switch" went to:

www.amazon.co.uk/9800mAh-Rechargeable-Portable-Li-ion-Battery/dp/B09YHJ8S7G

which in the small print says:

Output voltage: 12.6-10.8V DC
Output current:1-2.4A

which is a long way from 6 A (or more, assuming there may be periods of 'above average' current demand)

------------------

I am only looking at the limited data from your post, so this may be completely misleading, but my first impression is that this needs looking at much more carefully.

-----------

BTW, estimating power demand for stepper motors can be somewhat confusing, as discussed in another thread on the forum. If possible, I recommend you try to do some measurements of current drain before committing significant amounts of money on batteries. It is possible, but by no means certain, that the current demand is less than you might expect. As the chips you are using are 'simple' H-bridges, the current demand will be significantly determined by the software. 3D printers often use slightly 'smarter' devices, which include built-in current regulation, to drive their stepper motors. The software of your system might be able to achieve a similar result, but I am not in a position to judge, so I recommend some measurements.

Also, the well-known marketplaces have offers of cells with claims of higher capacity than they can actually achieve ... I have no idea if that applies to the device I referenced above, or whichever one you found, but I would suggest the principle of 'caveat emptor - let the buyer beware' is a good starting point when choosing batteries of this type. Li-ion technology can be very useful, but it can also turn lethal, especially if misused.

Best wishes, Dave


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@davee @greendragon Correct. If his demand is 6A, he is going to need something much beefier. I do know the RC batteries can easily do that, but they are LiPo and require fire bags, stone slabs and expensive chargers.

OR, switch to LiFePO4 battery, they are safe but lower energy density. If he want 6A for 2Hrs, then a 12aH battery can discharge safely at 1/2C or 6A for 2 hours.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@greendragon Have a look at this, it is safe, and will charge at 0.5C so it most likely will also discharge ate 0.5C, but CHECK. It is probably a lot bigger than you expected. If so, then are you sure LiPo is not wanted? I will look for  LiPo candidate and add a link to a follow up post for your consideration. NOTE this is a Canadian Amazon link, change it to your country for local pricing. Wt is 1.83 Kg, and dimensions

https://amz.run/7TXf

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  

Hello: Thanks for all the help. I knew this would be the hard part for me.

After taking in all the suggestions I am thinking of this one:

Kastar 2000 Cycles 12V 6AH rechargeable LiFePo4 Lithium Iron Phosphate Battery

Link: https://www.ebay.com/itm/254832396651

Note: Robot 42 Battery Compartment Size is 5" long x 2 1/2" wide x 3" to 5" Tall

Specifications
Nominal Voltage: 12.8V
Nominal Capacity: 6Ah 0.2C
Energy: 76.8Wh
Internal Resistance: 70≤mΩ
Cycle Life: >2000 cycles at 0.2C; End of life 70% capacity.
Months of Self Discharge: ≤3.5% per month at 25℃
Charge Voltage: 14.6±0.2V
Charger Current: 1.2A
Max. Charge Current: 3A
Discharge Current: 1.2A
Max. Continuous Current: 6A
Max. Pulse Current: 20A(<3S)
Discharge Cut-off Voltage: 10.0V
Charge Temperature: 0 to 45℃ (32 to 113℉) at 60±25% relative humidity
Discharge Temperature: -20 to 60℃ (-4 to 140℉) at 60±25% relative humidity
Storage Temperature: 0 to 45℃ (32 to 113℉) at 60±25% relative humidity
Water Dust Resistance: IP55
Cell & Method: IFR32700 N60, 4S1P
Case Material: ABS
Dimension (L/W/H/TH): 90*70*110*107 mm / 3.54*2.75*4.33*4.21 inch
Weight: Approx. 0.75 kg / 1.65 lbs
Terminal Type: F2
 
So what do you think about this battery?
Bill

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@greendragon That battery is woefully inadequate; just read the specs.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@greendragon)
Member
Joined: 2 years ago
Posts: 27
Topic starter  

@zander 

Yea just caught that myself! I guess it time to take a rest.

Bill


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7728
 

@greendragon Are you up for some DIY or is cost not a big deal? Otherwise, the battery I posted has the specs to support a 6A draw BUT that is max. I do not know what would happen if you drew max for say 30 minutes or more. Not sure about size, but that can't be changed. Each chemistry has a certain energy density so then it's how to package that volume of chemicals. The more dangerous LiPo has higher energy density so can be packaged very small, the most safe chemistry is LiFePO4 but is a bigger package. Certain Vape batteries will have the discharge rate you want but the market is flooded with fakes so what you get can be a crapshoot plus they are expensive.

That eBay battery seems fake to me, the $ and specs don't add up.

You said you did extensive research so I don;t need to spell out the specs and understand what a cycle life to 70% of 150 cycles means. This battery may handle your 6A peak, but it is right at the limit, maybe go for a slightly bigger pack, maybe 4S and use a buck converter to convert the extra volts to extra amps (with some small losses)

https://amz.run/7TYx

I didn't look around too much for a deal, but this battery should work better for your power hungry robot. https://amz.run/7TZ5

Both those batteries have discharge rates of 50C so that means over 200AMPS, well over your 6A. BUT the cycle life is likely 300 to 500 to reach 80%.

My 12.8V 100AH LiFePO4 are guaranteed for 8yrs with 100% replacement and to 10 yrs with some depreciation. That is 3,000 to 5,000 cycles or 1 complete 0% to 100% to 0% SOC in 24 hrs for over 8 yrs. and then the battery still retains 80% of its peak power. They cost about $1,000USD each when new 4 yrs ago, now about $800.

I would learn to manage the risk of LiPo and go that route with a big RC battery like I posted. 

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Page 1 / 7