Week #6 — The Method to Test

Sachin C -

Hello! Now that my AI model is close to completion, I have to turn an eye to how I plan on measuring the energy consumption of each microcontroller. I don’t want to use a bulky operating system on the microcontroller itself to ensure its internal energy consumption remains relatively low.

To get accurate data, I will be using a combination of hardware and software tools to measure the power draw of each microcontroller under different workloads.

  1. Using a Voltage and Current Meter
    • A power analyzer will be connected to each microcontroller to measure its voltage (V) and current (A) while running my AI model.
    • Power consumption is calculated using the formula:
      Power (W) = Voltage (V) × Current (A)
  2. Power Draw Over Time
    • By connecting my meter to a computer, I can track power usage in real-time and see how it fluctuates under different loads.
    • This will help identify which parts of the AI model require the most energy.
  3. Idle vs. Active States
    • I will measure power usage when the microcontroller is idle versus when it is actively running AI computations.
    • This will show how much additional power AI inference requires.
  4. Power Estimation
    • Some microcontrollers have built-in tools for power monitoring.
      • ESP32 Power Management API can estimate energy usage in different power modes.
      • Raspberry Pi power monitoring tools allow real-time tracking of CPU and GPU energy consumption.

 

I am super excited to get right into it, so this next week will likely be focused on getting together my hardware and beginning to setup each controller with the model.

Thank you for reading, and I’ll see you next week!

More Posts

Comments:

All viewpoints are welcome but profane, threatening, disrespectful, or harassing comments will not be tolerated and are subject to moderation up to, and including, full deletion.

    shreyash_p
    Hi Sachin! Your plan to measure energy consumption looks really solid. I’m curious—are you considering comparing your measured power usage with the microcontrollers’ built-in power management APIs for cross-validation? It’d be fascinating to see how real-time measurements stack up against the built-in estimates. Good luck getting all the hardware set up this week!
    camille_bennett
    Hi Sachin, sounds like a great plan. Do you have any pictures of your set-up? I'd love to see what you are working with.
    sachin_c
    Hi Shreyash, Thanks for reading this week's post! Unfortunately, none of the microcontrollers have built-in power management APIs.
    sachin_c
    Hi Ms. Bennett! I promise that as soon as I begin setting up the power supplies for each controller, I'll upload a picture for you to see. Thank you for checking in!

Leave a Reply

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