Power optimization can extend the battery life | |
作者: 时间:2009-02-25 来源:52RD手机研发 | |
A key measurement in a portable media player (PMP) is the time duration that it can play multimedia content from a fully charged battery (Fig. 1). With the available board area decreasing considerably and feature set increasing rapidly, designers must implement systematic power optimization strategies in both hardware and software to maximize battery life. Saving 10 mA of current on a media player (with typical current consumption of 450 mA) while deriving power from 1800-mAh battery could increase run time by 6 min. The same figures for an audio only player (without hard disk and the full-function display replaced with a 225-mA graphic LCD) would be 22 min. The first step in power optimization is power characterization, which helps the designer implement the strategies in an effective, methodical way (Fig. 2). For example, the hard disk uses a mechanical motor. Hence, it consumes lot of power. The latest hard disks come with many power optimization options, including different modes in which the disk can be operated, each having its own power requirement (see the table).
A logical power saving scheme combines the reduction of disk accesses, reading in large chunks from adjacent regions at the maximum data rate, and putting the disk into low-power mode whenever it’s idle (see the table).
For PMP applications, assume a 4-Mbit/s data rate from the disk. The player parses the video file to get the coded frame and presentation data. If we ignore the latter, the coded video and audio frames are read from the file sequentially, decoded, and displayed. The 4-Mbit/s rate defines that in 1 second, about 500 kbytes must be processed, while the read bandwidth of a hard disk is more than 10 Mbytes/s. To implement a buffering scheme, designers must observe certain limitations. A typical disk would take an average of 2 seconds to wakeup from sleep mode. Also, the real-time video and audio output will be affected even if there’s a single buffer-miss. The data transfer must occur in a background thread with minimal processor intervention and not affecting the video playback. The user modes can change to fast-forward, rewind, and slow motion, and back to normal play. The buffering module must take all the modes into account and should switch off the disk only when it’s safe to do so. Twin buffer scheme Background read The trend-prediction scheme works without buffer-miss, but only if the data-trend access is predicted and data pre-buffering is done. By analyzing the file access rate and the seek direction, the buffering module finds out which mode the user is employing, as hard-disk sleep is done only in play and slow-motion modes. During a transition from fast forward to play, the buffering module must evaluate the adequacy of data in the buffers and decide when it’s safe to put the disk into sleep mode. The inputs for making this decision are again the file access rate and seek direction. This is a critical decision and if done incorrectly, might result in a buffer miss and hence, loss of audio-video sync. Assuming a 16-Mbyte buffer, we can calculate that it holds a data for 32(16 × 8 / 4) seconds for a 4-Mbit/s clip. In this time, the disk is active for just 4 seconds and in sleep mode for the remaining 28 seconds. So the average current used in 32 seconds is [(4 × 350) + 28 × 20] / 32, which is 61.25 mA. For the unbuffered case, the average current is more than 180 mA, which includes the 150-mA active idle current and 350-mA read current. This means that the buffering has reduced hard-disk power by more than 65%. The saving would increase with a larger buffer and with a reduced video bit rate. In the case of audio files, a play-list of many files can be buffered and played continuously for a longer time, resulting in a greater power saving (Fig. 3).
LCDs consume a significant amount of power. It’s advisable to keep the display on only when needed. Also, refreshing only the part of the screen that needs to be updated instead of the entire screen offers a further reduction, such as displaying a song’s remaining play time. In addition, the user can be given the ability to control the backlight intensity of the LCD to tradeoff brightness for extra playback time. LEDs should be used with caution in the design. They should default to "off" and only to "on" when a specific indication is given. A 330- or 470-Ω series resistance in the LED path gives maximum brightness but also drains out a current of 7 to 10 mA on a 3.3-V battery source. Here, the designer must tradeoff brightness for extra playback time. Processor and memory block Clock scaling refers to setting the system’s clock frequency to the minimum possible value without compromising performance. This would require dynamic changes in the core, memory, and peripheral frequencies. The system must be intelligent enough to change the clock settings depending on the codec chosen by the user. Selecting the optimal clock frequencies could save around 5% of the total power. The type of SDRAM chosen plays a key role in the power chart. Mobile SDRAMs are better suited for battery-based systems as they consume about 60% less power compared to conventional SDRAMs. SDRAM controllers allow designers to set the required drive strength. Hence, this should be set to the minimum while configuring the controller. SDRAM refresh period should be kept constant by reprogramming the refresh counter after each clock change. Modern Multimedia processors typically come with multiple peripherals like UART, USB, I2C, Video Encoder, and so on. The designer must take care to switch off the peripherals that aren’t in use. Switching off the clocks to the respective modules can accomplish this, saving about 5% of the total power. Some processors allow a range of supply voltages to be applied to their cores. For example, the data sheet would say core voltage could be between 1.2 and 1.3 V. It’s always advisable to stick to the lowest possible voltage specified. This reduces the switching losses and hence, reduce the total power consumed by the core without hampering its performance. Static power Terminations on the board must be provided only if the trace length is greater than 1/6th the electrical length. Parallel termination must be avoided if possible as it drains the power, even if the clock for which it’s provided isn’t in use. For example a 330,220-Ω parallel termination on a clock at 3.3 V would constantly drain out a 6-mA current. RC termination can be used in case of signals requiring a 50% duty cycle. Bus hold buffers should be avoided as they have high quiescent currents and require low pull-up resistances to support their inputs. For example, if a tact switch is connected to the buffer input, a 1-mA pull up is needed on a bus hold buffer (it otherwise would have been 0.1 mA). Otherwise, it won’t allow a zero on the input. Five such switches in the system would result in a 5-mA loss, equaling 1.5% of the total power (Fig. 4). Of the available choices, a buffer with the lowest quiescent current should be chosen.
Jack sensing Power-supply design About the authors
|
文章评论(0条评论)
登录后参与讨论