21.07.2013 Views

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9.1 OBJECTIVE<br />

9.2 PRE-LAB<br />

<strong>Lab</strong> 9. Power Management<br />

Learn <strong>to</strong> consider power consumption issues for embedded designs.<br />

9.2.1 Reference Material<br />

• PIC24FJ256GB110 Family Data Sheet (DS39897)<br />

• 16-Bit MCU and DSC Programmer’s Reference <strong>Manual</strong> (DS70157)<br />

• PIC24F Family Reference <strong>Manual</strong> – Section 6. Oscilla<strong>to</strong>r (DS39700)<br />

• PIC24F Family Reference <strong>Manual</strong> – Section 10. Power Saving Features<br />

(DS39698)<br />

• PIC24F Family Reference <strong>Manual</strong> – Section 14. Timers (DS39704)<br />

• AN1267 nanoWatt and nanoWatt XLP Technologies: An <strong>Introduction</strong> <strong>to</strong><br />

<strong>Microchip</strong>’s Low-Power Devices (DS01267)<br />

9.2.2 Power<br />

LABS<br />

Every electronic system requires power <strong>to</strong> run. For systems powered by batteries, it is<br />

important <strong>to</strong> minimize the amount of power required – this extends battery life or allows<br />

for the use of a smaller battery. As the number of electronic systems continues <strong>to</strong> grow,<br />

it is becoming more and more important <strong>to</strong> reduce the power consumption and the<br />

impact on our planet. The concepts presented in this lab are a first step <strong>to</strong> understanding<br />

this complex <strong>to</strong>pic.<br />

There are two components <strong>to</strong> the <strong>to</strong>tal power consumption of a system: static power<br />

consumption and dynamic power consumption.<br />

Static power is the current consumed when the main clock is disabled. In general, this<br />

includes supervisory circuitry as well as logic required <strong>to</strong> turn the main clock on due <strong>to</strong><br />

some external condition. This also includes the leakage currents of the device transis<strong>to</strong>rs<br />

themselves. In general, this is very low and fixed for a given microcontroller device.<br />

Dynamic power is the current consumed by the switching of digital logic. The higher the<br />

frequency, the more switches occur in a given amount of time and more power is consumed.<br />

Dynamic power tends <strong>to</strong> be much larger than static power for embedded systems<br />

and the design of the software can greatly influence this fac<strong>to</strong>r. Thus, this lab will<br />

focus on methods <strong>to</strong> reduce the dynamic power.<br />

9.2.3 Calculating Power<br />

The dynamic power of a circuit can be calculated with the following equation:<br />

PDYN = C•V2•F Where PDYN is the power consumed in Watts, C is the capacitance being switched per<br />

clock cycle in Farads, V is the amplitude of the voltage in Volts, and F is the frequency<br />

of the switching in Hz. This equation is for one switched node. The <strong>to</strong>tal dynamic power<br />

consumed by a circuit is simply the sum of the dynamic power consumed for each node<br />

in the circuit.<br />

2011 <strong>Microchip</strong> Technology Inc. DS51963A-page 63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!