Guide To Designing Low Power Handhelds 125
randomErr writes "iAppliance had a nifty article about designing handhelds. As the state-of-the-art in low-power CPUs races forward, the CPU becomes one of the most critical components in the design of a handheld. New CPUs such as Intel's XScale, Alchemy Semiconductor's Au1000, and Transmeta's Crusoe provide the ability to scale clock frequency and voltage dynamically. As power consumption varies linearly with clock speed and as the square of core voltage, you'll want to have hardware hooks to be able to adjust both clock speed and voltage as necessary, based on device performance."
But when can I have a.... (Score:2, Interesting)
Re:But when can I have a.... (Score:2, Funny)
Actually you would probably want something like this....
1) Buy 1 suitably active cat or suitably small dog.
2) Attach appropiate self-charging generator to faithful pet's collar
3) Find a way to get the generated power into your PC without using any wires.
4) Load Quake
5) Get a another hyper-active pet to run your nearby beer fridge
6) Enjoy FPS, with a cold beer and low power bills,
Re:But when can I have a.... (Score:2)
Re: (Score:3, Interesting)
Re:But when can I have a.... (Score:4, Interesting)
Maybe even some antennae that can absorb all the abundant radio/microwave radiation that cell towers, wi-Fi, bluetooth, high-power transmission lines, the sun, etc. etc. are constantly pumping out? Tesla's wireless power dreams finally realized!
I think that vastly increased use of such passive reclamation systems is about the only way that tomorrows electronic devices can manage to simultaneously get smaller AND significantly more powerful.
Re:But when can I have a.... (Score:2, Insightful)
I like tesla too, and I don't mean that "alien supernatural" stuff you see on the web. Look his patents and you'll find a wealth of RF work on his part. However, something you need to remember about his idea of "portable energy" is that teh signal strength is inversly related to the square of the distance. You're talking about piddiling energy. It'd cost more in energy to MAKE the collector than it would ever get in its life.
I igure this battery life argment will go on ad absurdum. My idea is to use a decent low power chip WITH 2 redundant power cells (9 volt?). If 1 dies, the other one takes over. You would be able to "hot swap" batteries. Just go into a store and buy 1. Or ytou could use LiIon batteries. They're a bit more reliable for correct voltage. But when they die.....
Re:But when can I have a.... (Score:2)
I think the near future will be fuel cells instead of batteries. Fuel-cell powered cell phones are already in development; the problem for mass-production is finding cheap enough materials, if I understand correctly.
In the far future, even absurdly powerful devices will draw very little power. Display and RF (or modulated-light) communication would be the main power drains. You could recharge these adequately by having induction coils scattered about like coffee holders (or coasters), so that your palmtop (or equivalent) would recharge whenever you set it down.
Ambient RF and environmental heat and motion have little enough capturable power to not be worth the bother. If your device is low enough power to benefit from this, a Li battery will last for weeks and a fuel cell for months.
Re:But when can I have a.... (Score:1)
I chose "interesting" (however the particular posting may have been marked insightful) but after hitting moderate, the post's score was decremented.
Simon
PS: Who do you report these sort of bugs to?
Re:But when can I have a.... (Score:1)
Jouster
Re:But when can I have a.... (Score:1)
Re:But when can I have a.... (Score:2, Insightful)
It will be about the same time as when your handheld can run for a year off an lithium battery the size of a dime.
Show me the backlight on one of those "self-powered" watches. Oh? They can't even power a backlight? It will be a while...
Get rid of those damn inverters (Score:1)
Re:Get rid of those damn inverters (Score:2)
Unless you are using an external AC/DC inverter, there usually isn't one in an embedded application. Anything with an LCD the size of a PDA uses a frontlight display. Laptops use inverters to power the CCFL because their screens are simply to large for an effective frontlight to work.
Re:Get rid of those damn inverters (Score:1)
Re:Get rid of those damn inverters (Score:2)
I think the term DC-DC inverter is misleading. Anything that does DC-DC conversion is a regulator. Linear regulators consume power like there is no tomorrow. They also produce a sizable amount of heat (imagine that.)
Re:Get rid of those damn inverters (Score:1)
>I think the term DC-DC inverter is misleading
ok.
Rechargable packs (Score:1, Insightful)
Re:Rechargable packs (Score:2, Informative)
Re:Rechargable packs (Score:1)
Now if I can just convince myself that I really _need_ one of those palm m515's. Mmm... technolust.
MoTec
Re:Rechargable packs (Score:5, Informative)
- It's cheaper. Making the user buy AAA cells is cheaper than an expensive built-in rechargable. Be angry if you want, but the same shoppers that gripe are the ones that will pick the AAA model because it's $10 cheaper.
- Charger required. more $$$, bigger packaging, more travelling weight, country-specific voltage, UL Listing, the works.
- Alkalines last longer (per charge) than rechargables. On a device may go weeks without seeing a charger, this counts.
- Rechargable cells die. What do you do with a PalmV that no longer charges well? LiIon cells only last a year or two before they start to degrade quickly.
I'm not saying that these are valid reasons to require disposable batteries, but these are factors that manufacturers look at in deciding which way to go.
Re:Rechargable packs (Score:2, Informative)
Re:Rechargable packs (Score:1)
You buy another pair of rechargable AAAs. LiIon may only last a year, but NiMH AAAs last by the recharge (around 1000). How long do you think that would last you?
I believe what the previous poster was referring to is the non-removability of the Palm V battery. The Handera 330 on the other hand, can use either AAAs or an optional rechargable battery pack.
Re:Rechargable packs (Score:1)
Oh, and about the Handera 330... (Score:1)
The Obvious Answer (Score:2)
Virg
Re:The Obvious Answer (Score:1)
As an aside, I don't like the battery packs many mobile devices come with either. They are quite often specific to one type or a limited number of devices. Long live interoperability! Long live standards!
---
Self Test for Paranoia:
You know you have it when you can't think of anything that's
your own fault.
Well.. (Score:2)
I mean, if voltage is doubled, you end up using 4x the power becaue:
P=EI
I=ER
-------
P=E^2R
R is constant.. so...
P is linearly related to E^2
Anyone lay it out for clock speed? I forget. It's not as simple...
Re:Well.. (Score:2)
And that explains the clock rate.
THanks.
Clock speed? (Score:1)
Re:Clock speed? (Score:1)
Yes, but isn't that dependent on a static clock speed? I thought that the clock speed was determined, then applications with timing issues adjusted accordingly.
Re:Clock speed? (Score:2)
Thats why asynchronous processors are possible.
Re:Clock speed? (Score:1)
Re:Clock speed? (Score:1)
there are some fairly recent games that still have some processor dependant functions... warcraft2 (yes 2, t.w.o.) had processor depend map scrolling... go ahead load it up on your 2Ghz machine and watch that screen scroll!!!! the rest of the game is realtime though.
Re:Clock speed? (Score:2)
Alchemy Semiconductor (Score:5, Informative)
Re:Alchemy Semiconductor (Score:2)
CPU speed is not the biggest factor for me... (Score:3, Insightful)
Re:CPU speed is not the biggest factor for me... (Score:2, Interesting)
I have to agree. While Graffiti is nice, I remember the Newton 2000 (2100? can't remember now) I carried about 4 years ago as part of an R&D project on the campus where I worked then. The thing read my cursive writing - and that's a major feat. Even though I'm good at Graffiti, I still have to focus too much on what my Visor thinks I've written to concentrate on what I need to write next. This inconsistency keeps me from using my Visor to take notes in class.
I'm wondering now what Apple plans to do with the Ink [apple.com] technology they're planning on building into OS X 10.2. While handwriting technology may be cool for a desktop computer, it would be a major coup for a handheld.
As for battery life, I generally replace my batteries every six weeks or so. I really don't consider this too frequent.
Re:CPU speed is not the biggest factor for me... (Score:2)
I still have the original Newton MP. The only PDA that was big enough for my hands! :)
Re:CPU speed is not the biggest factor for me... (Score:3, Interesting)
Re:CPU speed is not the biggest factor for me... (Score:2)
The problem with speech recognition is that it has to be audible. So far, I am about to slap every Tom, Dick and Mary walking down NYC streets talking on Cell Phones through the little "hands-free" headphone mics. I can't imagine when self important people start walking down the street scheduling appointments and dictating memos on a PDA. When the Cell Phone headphone mic (looks like a walkman headphone) came out at first, I thought that some mental hospital had a clearance sale on schizophrenics with all the people wandering around apparently talking to themselves. Really freaked me out for a bit until I realize that this was a "technological advance".
Re:CPU speed is not the biggest factor for me... (Score:2)
Screen real estate (Score:4, Insightful)
Re:Screen real estate (Score:1)
Imagine having no displays at all, just sound and video overlayed directly into neural interface chips!
This might be a reality 15-30 years down the road...
Re:Screen real estate (Score:2)
Don't forget to make it DRM enabled. If you're walking down the street and see something copyrighted, a payment transaction should be automatically generated.
Re:More efficient code - not faster processors (Score:2, Insightful)
1) tell all their programmers to spend lots of time optimizing their code-- probably making it faster but harder to debug and maintain
OR
2) wait for AMD and Intel to cook up a new batch of microprocessors
If you guessed #1, you just lost. Guess what? Assembly langauge programming was faster, but it died out because (software) optimization stopped being a priority. Already C is starting to look archaic (except maybe for systems-level programming).
The reality is, software in the future will be buried under more and more layers of abstraction, just because it's easier that way. Easy to use, commercialized high level languages like Java are the future.
P.S. Please no flames about compilers vs. human assembly language programmers. Most of the binaries you run are probably compiled for a 386 anyway, if you use linux.
Re:More efficient code - not faster processors (Score:2)
Re:More efficient code - not faster processors (Score:1)
I interpreted the original poster's point to have been "hand-optimizing code is cost-effective, let's see more of it," and set about trying to refute that. If I had thought he had been referring to algorithmic improvements, I would have completely agreed with him.
My argument was that hand optimization is actually bad in most cases. There's lots of good reasons to keep programmers innocent of hardware and OS details. Portability amd maintainability come to mind. Another thing to remember is that hand optimization actually makes coding complex algorithms more difficult.
I don't think programmers should fear the coming of these new ideas. But they should realize that the days of sitting around, trying to squeeze a few bytes out of the inner loops, are over. In most cases, their time would be better spent on making the code more reliable, or finding better algorithms to do what they want.
And don't even get me started about code reuse...
To the point where... (Score:1)
I was designing a low-power DSP application, and the CPU consumed like 24 mW at 100 mHZ. But, when I added any peripherals to it the power consumption shot up an order of magnitude. The moral of the story is that people should stop worrying so much about CPU power consumption and take a good look at trying to bring up all the things that go with a CPU to the same level.
Something that I've been wanting to do. (Score:2)
Re:Something that I've been wanting to do. (Score:1)
Re:Something that I've been wanting to do. (Score:2)
Re:Something that I've been wanting to do. (Score:1)
Re:Something that I've been wanting to do. (Score:2)
terapin mine [thinkgeek.com]
bet you could hook it up to a pda and just keep it in your pocket, too. or add a 802.11b-type PCMCIA card to it and access it wireless from your palm to your pocket.
Cooling? (Score:2, Insightful)
Re:Cooling? (Score:1)
Low power - Asynchronous (Score:4, Informative)
You might have seen it already but this [man.ac.uk] is me powering an Amulet2 off a mouse wheel. They are very robust.
Re:Low power - Asynchronous (Score:1)
but don't most handhelds have little things called calendars, with little events, which can have alarms. thus, the handheld has to have a little loop running (at least once per minute) to check "are there any events scheduled to have an alarm fired at this time". this is why my Palm has to have its batteries replaced every few weeks regardless of whether i turn the damned thing on or not.
-rp
Re:Low power - Asynchronous (Score:2)
The second one should be turned off while the processor is not in use (i.e. while you are thinking of the next key to press).
This doesnt happen in all processors and is costly.
The calendar clock is there anyway to wake the processor up every sec to check if you have to do something.
Even worse is when the processor sits there ticking and looking at the clock waiting for a specific time.
Re:Low power - Asynchronous (Score:1)
Re:Low power - Asynchronous (Score:2)
True, but non-clocked processors are a pain to design. Sure they have great power consumption and speed characteristics but without a clock, a lot more time/money must be thrown into R&D to prevent the circuit from getting out of synch. (This is what clock cycles are for.) Are you willing to wait longer and pay more for such a device? (Now that I think about it, the answer from many slashdotters would be 'yes' but from the general public 'no')
Re:Low power - Asynchronous (Score:4, Informative)
My method requires no skills and is a simple push button conversion and on a sample design (MIPS R3000 clone [man.ac.uk]) gave 30% higher speed.
It simply takes an EDIF of your synchronous design and creates an asynchronous EDIF.
Re:Low power - Asynchronous (Score:1)
Re:Low power - Asynchronous (Score:1)
> [man.ac.uk] is me powering an Amulet2 off a mouse
> wheel.
Was I the only person who was expecting a scroll-wheel mouse attached to the processor?
Reconfiurable Computers (Score:1)
How would this combine with asynchronous computing?
Re:Reconfiurable Computers (Score:2)
Re:Low power - Asynchronous (Score:2)
On the non-technical front, Imagine how hard it would be to market a chip that performs differently at different temperatures and that doesn't have a frequency to list on the box?
Tell me about it. I keep getting involved with people saying stuff like "How does it tell the time?" or "Thats stupid because you dont know when the result is back in the register bank!" and trying to avoid insulting them because you want to convince the menagerial scum that maybe there might possibely be another way is very difficult.
Seems to me (Score:5, Interesting)
However, once you start deciding to run higher end applications, give the machines net connects, etc. everything gets more complicated. Full color, integrated (or even unintegrated) 802.11b, sound and so on all drain batteries at an increased rate. My keyboard for my palmtop drains when it's plugged in, which is, obviously, why it's not plugged in all the time.
Battery life and functionality are both the keys. Is there a potential way to implement a self charging feature? Maybe harness the kinetic energy of movement to assist in charging the device? Most people with handhelds carry them everywhere. It wouldn't work well with high drain / low charge devices, like the Ipaq, Jornada, etc. which have charges of under 10 hours (at best) but maybe a system like this could achieve a few days or a week in a low drain device like a Palm m100.
I have no idea. Just a decidedly random thought that I had. Later.
Re:Seems to me (Score:1)
As for charging, why not hook up one of those units that the wearable computer guys use? You could charge your PDA as you walk from your cubicle to the meeting, and back again! The perfect technology for the drones!
If only there was some way to convert white noise (drones talking) into a viable power source...
Re:Seems to me (Score:2)
A PDA, on the other hand, most often involves looking at it in order to use it for anything. This implies holding it steady in your hand, or otherwise not shaking it around. See where I'm going with this?
What it all boils down to is that for people who actually *use* their PDAs a lot, this wouldn't work, simply because it's being used more than it's being charged. And you can't realistically use the PDA while simultaneously swinging it back and forth i norder to charge it. But for those who buy the PDA, and instead of actually *using* it, stuff it in their pocket/beckpack/briefcase/whatever all day, this would probably work.
Re:Seems to me (Score:2)
I know I'm not the absolute most coordinated person in the world, but if I'm walking around somewhere, I generally don't have my palmtop out. I had the image of the Palm being charged while moving back and forth inside a pocket. I know it doesn't move as much as a watch (BTW, the standard self-winding and kinetic watches are what made me think of this whole idea) but what I'm thinking of is the amount and force of the movement.
Sure, the watch may move 2 feet back and forth compared to the 3-6 inches a Palm would move in a pocket, but when you consider the weight of a palm, 6-8 oz., it might just take in some of a charge.
Also, consider people who use their palms and carry them in purses/bags/briefcases. They move a lot, relatively speaking.
I think that, for some people, it would work fairly well. The biggest issue would be cost and size. I know that since they have the devices in watches they aren't that large, but I don't know how that would scale up. I also don't have any idea how much they would cost to add in, or even what the potential gain would be.
Would a 25% gain in battery life, which is just a guesstimate, be worth it to anyone here if you have to pay 10-20% more, but could count on an extra few hours life for an Ipaq, or having to buy or charge batteries a week later for lower end Palms? I certainly wouldn't mind a few extra hours of life on mine, but I don't know if it would be worth $20-100, based on individual machines.
Later.
Keyboard Alternatives (Score:1)
The day i can get around half-well with voice commands on a PDA, and not have to worry about weilding a wand or typing on a keyboard that will give me carpel-tunnel.
My friend Rob has a PDA that can do somethings like say the time but there's not much more it can do yet.
Re:Keyboard Alternatives (Score:2, Insightful)
I think a quiet (less dirturbance to the environment) input method is required. Voice is just not the one.
Re:Keyboard Alternatives (Score:1)
Heat prevention for silent PCs (Score:3, Insightful)
To gain a silent PC we would only need a daemon which constantly checks the CPU-temperature and slows down the system (starting or only from processes with lower priority) to prevent heat and noise.
Not to mention that this would even increase battery-power if only less important jobs are slowed down and thus fan activation is decreased to a minimum.
This really sounds like a neat feature, not complicated to implement- or is there already a project out there dealing with this?
Clockspeed and battery life (Score:2, Interesting)
Re:Clockspeed and battery life (Score:1)
The trick is usually to put the CPU in standby mode while the PLL stabilises to the new frequency, after which it can be started up again. One problem is that the stabilisation time is relatively long - tens of milliseconds - so the CPU speed can't be changed during any time-sensitive operations. Another problem is that any code which relies on the CPU speed for time calculations will break (although code like that is, IMO, broken in the first place).
In summary, it can probably be done but it's not trivial and might have unexpected consequences.
FastCPU (Score:4, Interesting)
The other cool thing about it is that I can underclock things like notepad or "to-do list" so they use less battery power while running.
Re:FastCPU (Score:3, Interesting)
It does allow you to specify clock speeds for individual applications (for instance, from what I've heard of the architecture, you do not want to clock up IR applications... something about how the processor actually is used for the IR timings???)
I've used it, and it does work, but expect significantly reduced battery life. Nowadays, I just use it with some of the extra options turned on (if your memory is good in the unit, there is a no-wait checkbox that speeds up memory accesses) etc....
Dynamic speculation control (Score:2)
By controling the speculation you can decrease power without hitting your performance as much as lowering the clock rate would. One of the members of my group is working on this with positive results.
Strange analogy (Score:2, Funny)
This is the first time i've ever seen an analogy more complex than the original statement.
A Truism (Score:1)
Isn't this a basic truism for all computer design? After all, no amount of support circuit wizardry is going make an old 4004 run any modern OS at acceptable performance levels...
Comment removed (Score:3, Insightful)
Sez you. (Score:1)
So while you may just want all of the functions of a IIxe, there are people (and this is borne out by the fact that Compaq can still sell iPaqs) who want something more from their PDAs.
Think about what you say first.
Re: (Score:2)
Three examples: HWR, XML, and Python (Score:2)
Very good article, additional comment on clocking (Score:1)
I would like to make a point about clocking. Sleep mode involves turning off the clock (unlike Idle mode, where the clock continues to run). When the clock is turned back on it will take a certain amount of time - usually measured in milliseconds - for the clock to stabilize. This period of time will not matter if you are responding to the on/off switch, but means you can't service a high speed device out of Sleep mode.
Chip power consumption (Score:1)
Kyocera's best PDA (Score:1)
If only it had a bit more RAM. I snagged some off of an ethernet card; it exceeds the power draw expected a bit, but it works. If it had a bit more, it could probably run UZI, the Unix that ran on Z80s, with a little work.