1
\$\begingroup\$

I am currently building a simulator (time-domain model) that includes a System-on-Chip, a constant voltage source and a series resistor.

Current solution: My initial intuition was to model the SoC's consumption as a constant-power-sink: I attribute each task I expect the SoC to execute a power value and an execution time.

Problem: As I calculate the voltage seen by the SoC I have to take into account the voltage drop across the series resistor. At the next time step, the current is already higher to compensate for the lower input voltage. This continues and especially with high series resistances quickly ends up at voltages close to 0 V and extremely high currents.

Is there a more reasonably way to model an SoC's power consumption?

\$\endgroup\$
7
  • 1
    \$\begingroup\$ Why constant power? \$\endgroup\$ Commented Jan 20, 2023 at 11:27
  • 1
    \$\begingroup\$ Most MCUs will have rather constant current over allowed operational voltage for a given task. \$\endgroup\$
    – winny
    Commented Jan 20, 2023 at 11:54
  • \$\begingroup\$ @winny: You are right; this is what I see in most data sheets. However, when I run some benchmarks on a ARM Cortex-M4-based SoC and measure power consumption while sweeping through the allowed operating voltage range (1.7V - 3.6V) I see that with lower voltage, the power consumption only changes marginally (<20%). With a constant current consumption I would expect half the power when reducing the voltage from 3.4V to 1.7V. That's why I thought that it behaves more like a constant-power-sink. \$\endgroup\$
    – MoTex_42
    Commented Jan 20, 2023 at 12:26
  • 1
    \$\begingroup\$ @MoTex_42 sounds like you have actually measured its I/V curve so why not use that actual curve instead of guessing what it kinda looks like? \$\endgroup\$ Commented Jan 20, 2023 at 12:30
  • \$\begingroup\$ Thanks for the advice. I could indeed do that but that would require me to characterize each task by an individual I/V curve instead of a single power/current value. But you are right, that would probably yield the most exact results. \$\endgroup\$
    – MoTex_42
    Commented Jan 20, 2023 at 12:33

0

Browse other questions tagged or ask your own question.