element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog IP Post 7: The Raspberry Pi Power Analysis featuring the Tektronix Scope
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ipv1
  • Date Created: 22 Aug 2014 6:31 AM Date Created
  • Views 323 views
  • Likes 0 likes
  • Comments 22 comments
  • forget_me_not
  • forget_what
  • tektronix
  • internet_of_things
  • raspberrypi
Related
Recommended

IP Post 7: The Raspberry Pi Power Analysis featuring the Tektronix Scope

ipv1
ipv1
22 Aug 2014

Introduction

I am waiting for my stuff to get delivered which are basically parts and parts. One of features of my design is that the raspberry pi center piece is portable, ie it can be moved from one location of the house to the other. For this I needed to add a battery backup which was shown in my previous posts. In my recent experiments, I found that the Raspberry Pi was rebooting unexpectedly. It turns out that one of the connectors was defective. Still this left me with the question that if I am using a battery, how long will my system stay afloat without power? Hence I setup a little experiment to measure the power consumed by the Raspberry Pi and the results were quite unexpected.

 

The Math

The power consumed by any device is given by

P = V x I

where P is power in watts, V is the voltage across the device in Volts and I is the Current in Amperes. Now we are supposed to use adaptors with outputs at 5V. Practically this drops as we add a load and the deviation from the set value is called regulation but we will get to that some other time. Now as a device is connected, a current will also flow which is proportional to the power consumed IF the voltage remains constant. We assume that the voltage is almost constant and hence we just need to monitor the current flowing into the Raspberry Pi. The more the current, the more the power consumed.

 

Regulator types short note

The Raspberry Pi B has a linear voltage regulator which is not so efficient because it regulates voltage by converting excess power into heat. The newer Raspberry Pi B+ has a switching regulator which does it's job by switching the current ON and OFF at a very fast rate. Hence the Raspberry Pi B+ should consume less power than the Raspberry Pi B under similar conditions.

 

The Experiment Setup

For this experiment, I am using two methods of measuring the current.

1. The Multimeter method-  You can measure current using an Ammeter by connecting it in Series in the circuit. This means just cut the wire and add the meter in the circuit. The diagram below is the simplest representation for the same. In using a multimeter, we can set it to measure current. Be careful while making the connections and the settings. In my setup I selected the 10Amp range as seen in the video below.

2. Using an Oscilloscope: Instead of using an Ammeter, we can connect a small resistance called a current sense resistor. Ohms law says that the voltage drop across a resistor is proportional to the current flowing through it. Here I added 10 1Ohm resistors in parallel so as to get a 0.1Ohm resistance in series. Now I could have use 10Ohms instead which translates to 1Ohm but that would mean that for a 1Amp current, I have 1 volt drop. From 5V if I drop 1V across the resistor then the Raspberry Pi will not work right at (5V-1V) 4V. Here for a current of 1Amp, we should get a drop of 0.1V or 100mV. I then connect an oscilloscope probes across the resistance and set it to 5 Seconds per division.

 

The Video

 

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

 

The video above is me running the experiment and the results.

 

Results

 

As the Pi Boots up the oscilloscope plot is as follows:

 

 

When I run the stress command as

stress --cpu 8 --io 4 --vm 2 --hdd 4 --timeout 30s --verbose --vm-bytes 128M

 

 

When shutdown the screen is:

 

 

Conclusion

The Raspberry Pi consumes around 150mA when shutdown and 380mA when operating. The wifi modules takes around 60mA and the Enocean Pi around 30-40mA.

Anonymous

Top Comments

  • ipv1
    ipv1 over 7 years ago in reply to mcb1 +1

    Thanks for watching sir. The voltage does drop on standard supplies from 5V to around 4.8V but for my setup I was using a digitally regulated voltage source which I built myself. The voltage does not droop…

Parents
  • ipv1
    ipv1 over 7 years ago

    Does anybody watch the video?

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 7 years ago in reply to ipv1

    I did not watch the video. It's 15 minutes long, and I'm watching Futurama.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • ipv1
    ipv1 over 7 years ago in reply to michaelwylie

    LOL. Thats definitely more entertaining.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 7 years ago in reply to ipv1

    I will eventually watch it.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 7 years ago in reply to ipv1

    And even more interesting, you answered all the questions I had with figures and text, so I had no motivation to click play.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • ipv1
    ipv1 over 7 years ago in reply to michaelwylie

    In the video I have also done the multimeter version of the experiment. That way you get the readings without the Scope as well.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Comment
  • ipv1
    ipv1 over 7 years ago in reply to michaelwylie

    In the video I have also done the multimeter version of the experiment. That way you get the readings without the Scope as well.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
No Data
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube