Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new battery management system #306

Open
gokulkchenchani opened this issue Sep 19, 2023 · 7 comments
Open

Implement new battery management system #306

gokulkchenchani opened this issue Sep 19, 2023 · 7 comments

Comments

@gokulkchenchani
Copy link
Contributor

  • We need to implement a new battery management system in YouBot to use hot-swap of battery.
@gokulkchenchani gokulkchenchani added this to the ROS 2 milestone Sep 19, 2023
@gokulkchenchani gokulkchenchani changed the title Implement New Battery Management System Implement new battery management system Sep 19, 2023
@harleylara harleylara self-assigned this Sep 29, 2023
@harleylara
Copy link

harleylara commented Sep 30, 2023

To be able to hot-swap batteries we need to define some parameters, assuming 50 W of power consumption under high workload for the NUC (nominal 30W, reference):

  • max hot-swap time window: how long should the system remain on? with this parameter we can determine the capacity needed for the backup battery to keep the NUC and Gripper powered up.

Connection scenarios

Parallel connection between the main battery and backup battery

  • Pros:
    • Easy to implement, it is just matter of connecting both batteries in parallel.
  • Cons:
    • Voltage balancing time, it take time for both batteries to reach the same voltage.
    • The backup battery will never charge completely due the discharging of the main battery -unless both are charging but in this case the robot is not operational-, if the backup battery is not getting full charging cycles the life time of the battery gets reduced.

Both (main and backup) are completely independent

  • Pros:
    • No balancing time.
    • Independent charging cycles to maximize battery life time.
  • Cons:
    • More difficult to implement. In this case we need a "watchdog" monitoring under voltage conditions that switch between main and backup.
    • It is now necessary to monitor and charge two batteries, main and backup.

Alternative solution

Alternative solution for "hot-swapping". Based on the youBot manual section 2.1 "[...] power plug (labeled as 24V IN) can be used to power the KUKA youBot and recharge the battery (at the same time)." what if at the time to swap the main battery we just plug in the power supply intro the port 24V IN (to keep the system on) and then replace the battery and finally remove the power cable?

  1. Plug in the power supply to 24V IN
  2. Swap batteries
  3. Unplug the power supply
  4. Done

@harleylara
Copy link

harleylara commented Oct 2, 2023

After a conversation with @vamsikalagaturu and @Akhilan-xd:

Rationale

The main idea of a new battery manage system is to be able to carry batteries on international flights, due to airline limitations it is not possible to travel with the current battery (Derby Cycle Li-on 25.2V 625Wh), so the idea is to use multiple batteries equivalent to the current capacity.

Airlines conditions

You are allowed to carry portable electronic devices (such as watches, cameras, phones, laptops…) that
contain lithium metal or ion cells or batteries for your personal use under the following conditions:

  • They should be carried in your carry-on luggage, although they may be in your checked baggage if needed as long as you take measures to prevent unintentional activation.
  • The battery must not exceed a Watt-hour (Wh) rating of 100 Wh or 2 grams of lithium content (the first limit is for rechargeable lithium-ion batteries and the second for lithium metal batteries, which are usually not rechargeable). To calculate Watt-hours, just multiply the battery voltage by the Amp hours (Ah), as the Wh rating is not marked on them.
  • If the Wh is higher than 100 but not higher than 160, you will need an approval from the operator to carry the item. It is not allowed to transport any item which battery exceeds 160 Wh.

List of conditions EASA: More practical information – Lithium batteries

For batteries exceeding 100 Wh but max. 160 Wh

  • Maximum of two batteries permitted in carry-on baggage.

For batteries less than 100 Wh:

  • It depends on the airline but it is allowed to carry more than TWO of this capacity. For example Airfrance allows up to 20 batteries less then 100 Wh.

Airlines batteries information (as reference):

Regulations

@harleylara
Copy link

harleylara commented Oct 2, 2023

Battery Requirements

  • Ability to be transported on international flights (check this comment)
  • Comply with current battery characteristics
  • Nominal autonomy time: 40 min

Current Battery Information

  • Battery type: Li-ion
  • Nominal voltage: 25.2 V
  • Power: 625 Wh
  • Weight: 3 Kg

More details about the current battery in section 9 Technical Details - Original User Guide | Pedelec Impulse Evo

@harleylara
Copy link

Power Considerations

Arm:

  • Voltage: 24V DC
  • Drive train power limitable to : 80 W (value from wiki)
  • Max limitable current: 3.34 A

NUC:

  • Voltage: 12-19V DC
  • Max. Power: 90W

Gripper:

  • Voltage: 12.6V DC
  • Max. Power: 30W

Measurements

Idle (mobile base not moving)

  • Voltage: 24.4 V
  • Current: 3A

Mobile base running (max speed):

  • Voltage: 24.4V
  • Current: 3.8A

Base and arm moving:

  • Voltage: 24.4V
  • Current: 4.2A
  • ℹ️ Nominal Power: 100W

@harleylara
Copy link

After a fruitful experience at the RoboCup German Open 2024 in which we won not only the first place but also gained experience, we were able to collaborate and talk with Christoph Steup from robOTTO and ask them about their cool hot swap battery system here are some insights:

  • They use two 18V 4Ah Li-ion Bosch batteries for power tools
  • A simple diode for protection of reverse current between batteries
  • Two DC-DC converters (unspecified power)
    • Step up to 24V
    • Step down to 12V

Hardware Options

@Akhilan-xd if you can pin me in Slack or WhatsApp we can check about this.

@Akhilan-xd
Copy link

@harleylara Sure, Harley we can start working on this. I will also search about the battery type and costs. So, that we can further proceed on the battery hot swapping for youbot.

@harleylara
Copy link

Current Power Distribution

The following diagram represents the power distribution and the different voltage levels used in the robot.

image

Proposed Power Distribution

The proposed distribution system allows battery replacement without rebooting the system, and even allows switching to an external power supply (for testing in lab) without rebooting.

image

Proposed Hardware

New components:

Some Notes

In order to reduce costs with the DC-DC converter the RSD-300D-24 was proposed, the main disadvantage is that it is relatively bulky 40x96.5x216 mm but the footprint fits inside the robot. In case we want to reduce weight or space you could opt for more compact alternatives such as the TracoPower TEP 200WIR , the main problem is that the price increases by a factor of 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants