JetsonHacks

Developing on NVIDIA® Jetson™ for AI on the Edge

NVIDIA Jetsons on Battery Power

There are several different ways to power your NVIDIA Jetson Developer Kit using a battery. Let’s go over some of the more popular. Looky here:

Background

After working on several projects recently that require Jetsons to use battery power, I want to share with you some of the lessons I learned.

Let’s divide the Jetson family into two camps. The first will be the Jetson Nano and Jetson Nano 2GB. Both of these Jetsons require a 5 Volt (5V) power source. The second group is the rest of the Jetsons, including the Jetson Xaviers, Jetson Tx1 and Jetson TX2. These Jetsons run in a wider range of input voltages, typically 9V to 19V.

As you know, you can think of a battery as electrochemical device which can provide electrical power. Batteries can consist of different chemical makeup, you are probably familiar with some of the common ones, such as alkaline (zinc manganese oxide, carbon), lead acid, nickel metal hydride, and lithium-ion polymer.

Here, we will focus on lithium-ion/polymer types of batteries because of their high power density to light weight. Also, they are rechargeable which make them convenient for long term use.

Note: The video is pretty extensive and covers the things listed here in more detail. Some things are more easily shown than written!

Packaging

We look at two different package styles for batteries here. A power bank is a popular style of battery people use for recharging their phones. Some power banks provide multiple voltages, but almost all provide 5V through a USB connection.

The NP-F style battery is in common use by photographers and videographers. The NP-F battery was originally invented by Sony to power their cameras. The battery uses 18650 lithium-ion cell batteries in pairs to provide a 7.4V nominal battery. The type of 18650s and the number of pairs of cells determine the capacity of the battery. Quality NP-F style batteries have built in battery management systems (BMS) to prevent over-discharge.

Some Project Parts you might need

Here’s a list of affiliate links to some items from the video, available on the JetsonHacks Amazon Storefront:

Jetson Nano and a Power Bank

You can power a Jetson Nano through the designated USB port. For the Jetson Nano 2GB, this is the USB-C port. For the Jetson Nano, this is the micro-B USB connector. Simply connect a USB cable between the power bank and the Jetson, and turn on the power bank. Some power banks have multiple USB outlets, which allow you to run more than one device at a time. This can be useful if you are using multiple devices.

Power Bank running a Jetson Nano and a Jetson Nano 2GB

Powering a Jetson using a NP-F Style Battery

As we note earlier, a NP-F style battery provides 7.4V nominal power. Nominal defines the class of battery. Batteries run in ranges during their use cycle , a fully charged NP-F battery is ~8.4V, a discharged battery is 6.6V. Note: You should not run an individual cell under 3V, as this may damage the cell so that it cannot recharge. A NP-F has two in series, so that means do not run it under 6V. The Jetsons other than the Nano run in a voltage range of 9-19V.

For our application, we use a SmallRig battery adapter plate which helps us in two areas. First, the plate has a built in boost converter which converts the 7.4V to 12V and outputs it to a jack. Note that the raw battery voltage is also available on a secondary jack.

Second, the plate provides an affordance for attaching the battery to our project. There are two 1/4″-20 threads (a standard in the camera world) which we can utilize. Also, the plate captures the battery and holds it securely. Here’s an example, the battery adapter plate and the battery are towards the rear of the vehicle, attached to the platform plate:

Example Project, NP-F battery on adapter plate attached to vehicle

The 12V output on the adapter plate is available on a 5.5mm outer diameter (OD), 2.5mm inner diameter (ID), center positive jack. Remember that the Jetson Nano barrel jack is 5.5mm OD, 2.1mm ID, center positive. The other Jetsons are 2.5mm ID. The video covers a couple of ways of making cables and how to make a simple power distribution block.

To power non-Nano Jetsons, create a cable to connect the adapter plate from the 12V output to the Jetson barrel jack. Plug in the battery, and you should be ready to go!

Buck/Boost Voltage Converter

Another useful device is a voltage converter. The converter takes an incoming voltage and converts it to a different output voltage. A boost convert (step-up converter) takes a lower voltage and converts it to a higher voltage. A buck convert (step-down converter) takes a higher voltage and converts it to a lower voltage. A Buck/Boost converter does both. Note that for efficiency there is expected to be at least a 1.5V difference between the input and the output voltages. Here we are using a buck converter to convert 7.4V to 5V.

This device takes the input from a battery, and converts it to a regulated voltage. This is useful when you have a voltage source outside of the range of acceptable voltages for the Jetson, or you need a more specific voltage like 5V for a Jetson Nano.

Powering a Jetson Nano from a Battery and Voltage Converter

As an example, we can take the 7.4V output from the NP-F battery, and convert it to 5V using the converter to power a Jetson Nano. Because the battery adapter plate that we are using has two outputs which we can use simultaneously, we can power both a Jetson Xavier NX and Jetson Nano:

Battery Run Time and Such

Battery manufacturers list the capacity of batteries in two ways: Amp Hours and Watt hours. You can use this information with the current draw of the Jetson and devices to determine the length of time the battery will last. This can be an extensive calculation, as the draw of the device(s) tends to be quite variable depending on the task.

In addition, there usually is some inefficiency in voltage conversion and such. You can do a quick back of the napkin calculation to get you in the ballpark of run time. However, to get more specific you will need to do testing. You might be surprised to find out that manufacturer claims may not match the observed results!

Conclusion

The methods above are just a few ways to power the Jetson with a battery. There are all sorts of clever solutions out there. Hopefully you find these tips useful.

Facebook
Twitter
LinkedIn
Reddit
Email
Print

23 Responses

  1. thanks for this info! I was looking for battery solutions for my TX1. How long do you think this battery pack solution would power a TX1 development board?

    1. You are welcome. Depends on the size of the battery you use. For the vehicle in the video, a NP-F 750 (the big one) runs a Jetson Xavier NX, a 3D lidar and ZED camera for 1.3 hours. Also, the peripherals that you attach to the TX1 will also need to be taken into account. Thanks for reading!

  2. Great info. I’ve been working at this problem for a while now. Far and away the easiest way to power the Xavier NX is using a USB PD (Power Delivery) adapter. For example, I have this one:

    https://amzn.to/3erTlvK

    Tiny little thing that integrates the USB PD trigger circuitry required to negotiate a 20v charge.

    Couple it with a simple USB C cable and a power bank capable of 20v such as:

    https://amzn.to/3rhI9Xv
    or
    https://amzn.to/3BfgF9G

    Haven’t tried either of those batteries, but any that can supply 20v (usually @ 3a, so 60w or more) will work. Careful, you want 20 VOLTS, NOT just 20 watts. 🙂 I have a 30,000 mAH pack and I stress tested the heck out of the Xavier NX (two active RealSense cameras, image processing, inference, etc…CPU & GPU pretty busy) and got 7+ hours of runtime. Not bad.

    1. Thank you for sharing! A couple of notes for people who read this. The Xavier NX working range is 9V to 19V, in one configuration the USB PD outputs 20V. This appears to work, but putting this note here just so people are aware.
      The second point is that the Xavier NX developer board can handle 5A of power. Most systems provide 3A of power over USB PD. I recall that the PD spec says 100W/5A, but in practice this seems to be rare.
      However, real world use is what counts! Thanks for sharing this with us.

  3. It ships with a 19v adapter and the docs said 9-20v at the time that I started this journey. The box does say 9-19v, though. Hmm. Nothing so lovely as consistency. 🙂

    I think it’s all downconverted to 5v by the carrier board before getting to the SOM. At least according to this: https://forums.developer.nvidia.com/t/power-supply-requirements/109365

    Anyway, yes PD maxes out at 3A without special consideration. 9v over PD would supply 27 watts. Enough for the 15w profile and a peripheral or two. But I’d definitely lean towards at least 12v.

    If 20v is a bit “edgy” for you, you can choose 12 or 15. Just search “usb pd trigger” on Amazon. Here’s a good looking listing: https://amzn.to/3evdQaT (in fact, I just ordered a 12v and a 15v to experiment with)

    As a bonus, finding a 12/15v capable battery bank is easier than 20v.

    Now, if you can figure out some way of communicating remaining battery life from the battery pack to the Jetson, I’ll REALLY be happy. 🙂

    1. Dusty over at Nvidia states in that post that the dev kit handles 20V too. Good enough for me!

      My understanding is that you can get 5A at 20V from USB C PD if you use an E-mark (Electrically Marked) cable which has a built in protocol chip. Just guessing, but you probably also need a battery that understands that too.

      Determining battery life is not straightforward in this scenario. It is very dependent on the battery being used and how, let’s say, “resourceful” you want to be. The best bet is to get a battery with a level indicator and make a good guess.

      Appreciate your comments on this subject.

  4. Is there any way in determining the battery percentage on the nano through the barrel jack? Or what would you recommend if my project requires push notifications when the battery needs to recharge?

    1. If the battery is a non-regulated, you can monitor through the onboard voltage monitors. However, most people use regulated batteries which provide a constant voltage.

      If you have access to the unregulated battery output, then you can use something like a potential divider and an ADC. I would use something like a INA260 which provides that functionality through I2C.

  5. Very nice info you have given here, and I’d like to get your input on a situation I just encountered. I want to put a Jetson Nano 2GB on a robot base I already have, that uses 12V AGM batteries. I bought a 25W buck converter from Digikey (SD-25A-5, MEAN WELL USA Inc., DC/DC CONVERTER 5V 25W) that certainly should be able to handle the current demands of the Nano.
    Set everything up to check it out before mounting on robot. Ran the Nano on a Sparkfun power supply and loaded software, etc. Then set up the buck converter to run from a 12V battery, tested it with 3, 3 Ohm 35W resistors in parallel and measured 5V output and 5A current from the buck converter.
    When I then connect the buck converter to the Jetson barrel input, the voltage drops to something like 3V and I measure the Jetson drawing 7A of current. I have not kept this up to see if the Jetson will start up, but the voltage remains low and the current remains high for several seconds.
    Testing with the Sparkfun power supply, the Jetson starts up and seems to work fine.

    Any idea what might be going on?

    1. I’m not quite sure what is wrong. The Jetson Nano 2GB does not have a barrel input, which leads me to believe that you are talking about a 4GB Jetson Nano. In order for the barrel jack to work on a 4GB Jetson Nano, you have to have the jumper installed. If you were able to run the Jetson from another power supply, then it’s probably ok.
      One thing to check is the size of plug for the barrel jack, if I remember correctly it is 2.1mm ID x 5.5 OD, center positive. People sometimes mix this up with 2.5mm ID which leads to unexpected results. The first thing to check is if you get the 5V at the barrel jack before connecting the Jetson. Next disconnect the Jetson from everything else and connect it to your battery. My initial guess would be a wiring issue of some sort.

  6. I found it: I jumped to a conclusion about the polarity markings on the Sparkfun supply and did not check it with a meter, and had the polarity reversed from my buck converter. The Jetson Dev Board seems to be somewhat protected against reverse polarity, though it presents as a short. Reversed the wires and the Jetson starts up fine, will check it out to see if I caused any damage. Thanks for serving as a sounding board as I reasoned this through.

  7. Hi, Thanks for such useful blog. I am planning to use 3S2P Li-on battery set(having overcharge, overdischarge, over-current, short circuit protection function) to supply power to Jetson Orin Nano Development kit by its DC Jack. I wanted to ask that is DC-DC voltage converter required or recommended to regualte voltage? Below is link of battery set.
    https://a.aliexpress.com/_ongMlIG

    Thanks. 🙂

    1. I cannot comment on that particular battery pack. A 3S battery should work, but you will need to make sure that the plug is center positive and the correct size. Good luck on your project.

Leave a Reply

Your email address will not be published. Required fields are marked *

Disclaimer

Some links here are affiliate links. If you purchase through these links I will receive a small commission at no additional cost to you. As an Amazon Associate, I earn from qualifying purchases.

Books, Ideas & Other Curiosities