Lowest power usage?
TL
Posts: 25
According to the Propeller manual, the lowest power consumption is:
500uA per MIP, where a MIP = Freq in Mhz/4 * number of active cogs.
Does this apply if I have only one active cog, and that cog is held by a waitcnt command? Has anyone actually measured the power consumption under such conditions?
-TL
500uA per MIP, where a MIP = Freq in Mhz/4 * number of active cogs.
Does this apply if I have only one active cog, and that cog is held by a waitcnt command? Has anyone actually measured the power consumption under such conditions?
-TL
Comments
It's true that a cog consumes about 500uA per MIPS, or 10mA at 80MHz (20 MIPS). When in a WAITCNT/WAITPEQ/WAITPNE instruction, current consumption drops to about·1/10th that. The hub takes about 3mA at 80MHz. I'm not 100% sure about these numbers, but they're in the ball park. We'll have the data out soon.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
I cobbled together some wires to measure the amperage going into the demo board, and I lost continuity between the ammeter and the board partway thru the download. Someware lockup. Bother. Hafta reboot.
I'm measuring the current into the demoboard as 15mA at RCSLOW with the propeller idling during a waitcnt().
I 'spose a lot of that is due to power supply losses and the other stuff on the board?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Whatever you've attached, it's not readable on my Mac, not even with Microsoft Word.
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Windows wins again.... must be those magic paperclips that somebody mentioned
PDF file attached of the mA comsumption
Ronald Nollet·· Australia
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
This is free and I found works well
Graham
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
aside: Ron, are you coming up from Oz to the ESC this year?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
I'm guessing, but a cog running a simple JMP loop doesn't access the hub while a Spin REPEAT loop is constantly accessing hub memory and waiting for access to its slot for access. If hub access idles the cog, this would make up for it by cutting cog current drain during the wait for hub access, but that may not happen and the cog clock (and other logic) may be running a normal power drain while it's waiting.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Mike, I see your reasoning. I read the graph wrong at first, thinking ASM current was lower than Spin, but it is the other way around. (edit, ASM current IS lower than Spin current). So, it goes to low power state while waiting for the COG? That is a lot of waiting, then, as the current seems to be a factor of more than two higher for the ASM loop. Does this depend on the exactly what the Spin REPEAT loop is doing?
I'd guess that the bottom graph (HUB only?) With COG in WAIT state, would apply to either Spin or ASM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Post Edited (Tracy Allen) : 3/28/2007 6:58:32 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
The chart is in MHz. The documentation says RCSLOW clock setting is ~20kHz.
The question is how low can you go? We have a low power application which we've proto'ed with a BS2pe that uses generous NAP and SLEEP commands.
I'm wondering if we can use a prop and the variable clock instead. Terminate all cogs except one, set the clock to RCSLOW, and then do a WAITCNT.
I got a "low power one-off" from Parallax. )
Also, you might be able to get more efficient regulators if you're willing to wire something up yourself.
Download the data sheet and look at the figure in section 8.1 on page 21. It is a log-log plot so you can see the current at lower frequencies. At 20 khz RCslow, it shows the current with only the HUB running and WAITxxx pending at around 4 microamps, and even with a Spin REPEAT loop it is only 12 microamps. Compare that to the BS2pe, which draws about 50 microamps while in a SLEEP state, but about 20 microamps of that is the quiessent current of the LT1121 regulator. So, you can see that the Propeller can indeed operate with low current.
When the BS2pe wakes up, it draws about 17 millamps and runs in turbo mode at 8 mhz. Let's compare that one the Prop running a single COG with Spin at clkfreq=32mhz. Roughly comparable computing power? But the Propeller is consuming a meager 4 milliamps at that power point. So in a way, the Prop has a 4:1 electrical power : computing power advantage. That is further enhanced if the Propeller can drop into its RCslow mode and if the other quiessent drains are minimized.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
The procedure for going into SLEEP is to enable RCslow in the code just before it will monitor for breakout conditions. To come out of SLEEP, first go into RCfast (which switches over almost instantly I think), and enable the xtal and pll mode desired. Stay in RCfast for about 10 milliseconds to allow the xtal+pll to stabilize, and then complete the switch over to the time-determinant xtal+pll mode. Of course, RCfast might be fast enough for some purposes where the time determinancy is not important. That's nice, so many options! For many purposes, a heartbeat pulse from a real time clock to an input pin with WAITPEQ could calibrate the RCslow operations.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.