2010-2011 Microchip Technology Inc. DS51922B
MCP1640
Single Quadruple-A Battery
Boost Converter
Reference Design
DS51922B-page 2 2010-2011 Microchip Technology Inc.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, chipKIT,
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,
MPLINK, mTouch, Omniscient Code Generation, PICC,
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,
rfLAB, Select Mode, Total Endurance, TSHARC,
UniWinDriver, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2010-2011, Microchip Technology Incorporated, Printed in
the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-618-1
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 3
Table of Contents
Preface ........................................................................................................................... 5
Introduction............................................................................................................ 5
Document Layout .................................................................................................. 5
Conventions Used in this Guide ............................................................................ 6
Recommended Reading........................................................................................ 7
The Microchip Web Site ........................................................................................ 7
Customer Support ................................................................................................. 7
Document Revision History ................................................................................... 7
Chapter 1. Product Overview
1.1 Introduction ..................................................................................................... 9
1.2 MCP1640 Short Overview .............................................................................. 9
1.3 What Is the MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design? ................................................................................. 10
1.4 MCP1640 Single Quadruple-A Battery Boost Converter Reference
Design Kit Contents ................................................................................ 10
Chapter 2. Installation and Operation
2.1 Introduction ................................................................................................... 11
2.2 Getting Started ............................................................................................. 13
Appendix A. Schematic and Layouts
A.1 Introduction .................................................................................................. 17
A.2 Board – Schematic ....................................................................................... 18
A.3 Board – Top Silk And Pads .......................................................................... 19
A.4 Board – Top Trace And Pads ...................................................................... 19
A.5 Board – Bottom Silk Layer ........................................................................... 19
A.6 Board – Bottom Trace, Pads And Silk ......................................................... 19
Appendix B. Bill of Materials
Appendix C. MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Firmware
C.1 Device Firmware .......................................................................................... 23
Worldwide Sales and Service .................................................................................... 27
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 4 2010-2011 Microchip Technology Inc.
NOTES:
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 5
Preface
INTRODUCTION
This chapter contains general information that will be useful to know before using the
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design. Items
discussed in this chapter include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Web Site
Customer Support
Document Revision History
DOCUMENT LAYOUT
This document describes how to use the MCP1640 Single Quadruple-A Battery Boost
Converter Reference Design as a development tool to emulate and debug firmware on
a target board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP1640
Single Quadruple-A Battery Boost Converter Reference Design.
Chapter 2. “Installation and Operation” – Includes instructions on how to get
started with MCP1640 Single Quadruple-A Battery Boost Converter Reference
Design and a description of the user’s guide.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams for the MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design.
Appendix B. “Bill of Materials” – Lists the parts used to build the MCP1640
Single Quadruple-A Battery Boost Converter Reference Design.
Appendix C. “MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Firmware” – Lists the board firmware flowchart.
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB® IDE on-line help.
Select the Help menu, and then Topics to open a list of available online help files.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 6 2010-2011 Microchip Technology Inc.
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB® IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog
A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
“Save project before build”
Underlined, italic text with
right angle bracket
A menu path File>Save
Bold characters A dialog button Click OK
A tab Click the Power tab
N‘Rnnnn A number in verilog format,
where N is the total number of
digits, R is the radix and n is a
digit.
4‘b0010, 2‘hF1
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be
any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file
[options]
Curly brackets and pipe
character: { | }
Choice of mutually exclusive
arguments; an OR selection
errorlevel {0|1}
Ellipses... Replaces repeated text var_name [,
var_name...]
Represents code supplied by
user
void main (void)
{ ...
}
Preface
2010-2011 Microchip Technology Inc. DS51922B-page 7
RECOMMENDED READING
This user’s guide describes how to use MCP1640 Single Quadruple-A Battery Boost
Converter Reference Design. Other useful documents are listed below. The following
Microchip documents are available and recommended as supplemental reference
resources.
MCP1640 Data Sheet – “0.65V Start-up Synchronous Boost Regulator with
True Output Disconnect or Input/Output Bypass Option” (DS22234)
AN1311 – “Single Cell Input Boost Converter Design” (DS01311)
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
Distributor or Representative
Local Sales Office
Field Application Engineer (FAE)
Technical Support
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com.
DOCUMENT REVISION HISTORY
Revision B (August 2011)
Added Figures 2-4 and 2-5 in Section Chapter 2. “Installation and Operation”,
(Section 2.2.2).
Corrected board schematic in Appendix A. “Schematic and Layouts”.
Revision A (October 2010)
Initial Release of this Document.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 8 2010-2011 Microchip Technology Inc.
NOTES:
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 9
Chapter 1. Product Overview
1.1 INTRODUCTION
This chapter provides an overview of the MCP1640 Single Quadruple-A Battery Boost
Converter Reference Design and covers the following topics:
MCP1640 Short Overview
What Is the MCP1640 Single Quadruple-A Battery Boost Converter Reference
Design?
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design Kit
Contents
1.2 MCP1640 SHORT OVERVIEW
The MCP1640 device is a compact, high-efficiency, fixed frequency, step-up DC-DC
converter. It provides an easy-to-use power supply solution, with a minimum number of
external components for applications powered by one-cell, two-cell, or three-cell
alkaline, NiCd, NiMH, one-cell Li-Ion or Li-Polymer batteries.
The MCP1640 device automatically selects the best operating mode for efficiency,
PWM (Pulse-Width Modulation) or PFM (Pulse Frequency Modulation). It has a low
quiescent current (19 µA typically), a wide input voltage range (0.35 to 5.5V) and a low
start-up voltage (0.65V at 1 mA load current). The MCP1640 device consumes less
than 1 µA in Shutdown mode.
Microchip Technology Inc. provides the MCP1640 device in four variants, which help
engineers to meet different system requirements. The devices and their available
options are presented in Table 1-1.
TABLE 1-1: PART NUMBER SELECTION
The MCP1640 is available in a SOT23-6 and 8-LD DFN (2x3 mm) packages. For
additional information on the MCP1640 device, refer to the MCP1640/B/C/D Data
Sheet.
Part Number PWM/PFM
Mode
PWM
Mode
True Output
Disconnect
Shutdown
Option
Input to Output
Bypass
Shutdown
Option
MCP1640 X X
MCP1640B X X
MCP1640C X X
MCP1640D X X
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 10 2010-2011 Microchip Technology Inc.
FIGURE 1-1: Typical MCP1640 Single Cell Input Boost Converter.
1.3 WHAT IS THE MCP1640 SINGLE QUADRUPLE-A BATTERY BOOST
CONVERTER REFERENCE DESIGN?
The MCP1640 Single Quadruple-A Battery Boost Converter Reference Design is
designed to demonstrate the MCP1640 features in a microcontroller application that
optimizes the battery lifetime. The MCP1640 Single Quadruple-A Battery Boost
Converter Reference Design was developed to help engineers reduce product design
cycle time.
At 1.5V input and 3.3V output, the board is capable of 130 mA load current.
The EN signal is used to enable and disable the MCP1640 device. When enabled, the
MCP1640 will regulate the output voltage. When disabled, the MCP1640 disconnects
the path from the input to output for True Output Disconnect Shutdown option. The
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design uses this
feature to reduce no load Standby current. During Standby, the enable signal has a low
frequency, with less than 1% positive duty cycle. This board demonstrates that this
solution increases the battery life.
1.4 MCP1640 SINGLE QUADRUPLE-A BATTERY BOOST CONVERTER
REFERENCE DESIGN KIT CONTENTS
This MCP1640 Single Quadruple-A Battery Boost Converter Reference Design kit
includes:
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design,
102-00318
Important Information Sheet
VIN
EN
GND
VFB
SW
VIN
1.5V
VOUT
3.3V @ 100 mA
COUT
10 µF
CIN
4.7 µF
L1
4.7 µH
VOUT
+
-
536 K
309 K
Alkaline
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 11
Chapter 2. Installation and Operation
2.1 INTRODUCTION
2.1.1 MCP1640 Features
The MCP1640 device has been developed to increase battery life. The MCP1640 is
capable of regulating the output voltage over a wide range (2.0V to 5.5V), and typically
delivers over 100 mA load current at 3.3V output, when supplied from a single 1.5V
cell.
The key features of the MCP1640 that help optimize the battery life include:
Up to 96% efficiency
PFM switching mode for light loads
Low input start-up voltage, typically 0.65V at 1 mA load current
Low shutdown voltage (continuously operating down to 0.35V input under light
load condition)
True Output Disconnect Shutdown option, preventing leakage current from input
to output (less than 1 µA is consumed from the battery in this mode)
19 µA typically quiescent current
For applications powered by alkaline cells that consume few milliamperes, the
MCP1640 device can operate to the minimum input voltage necessary to completely
drain the battery.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 12 2010-2011 Microchip Technology Inc.
2.1.2 MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Features
The MCP1640 Single Quadruple-A Battery Boost Converter Reference Design is
developed to demonstrate how the MCP1640 device with True Output Disconnect
Shutdown option is working attached to a microcontroller application. The board
demonstrates how to optimize battery life using the MCP1640 and an 8-bit low-cost
PIC® microcontroller, to reduce the No Load Input Current for applications that operate
in Standby mode for a longer period of time.
FIGURE 2-1: MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Block Diagram.
The MCP1640 Single Quadruple-A Battery Boost Converter Reference Design has the
following features:
Input voltage: one AAAA Alkaline battery
Output voltage: 3.3V
Output current: < 130 mA
Up to 75% efficiency
Standby battery current: 14.5 µA @ 1.5V input
Start-up voltage: 0.65V at VIN = 1.2V, VOUT = 3.3V and IOUT = 1 mA, resistive
load
Automatic PFM/PWM operation
PWM Switching Frequency = 500 kHz
ON/OFF switch button, with approximately 25 seconds ON
LED status indication (Output ON and Low Battery)
•Energizer
® Battery Holder with reverse battery protection
MCP1640
12
S1
LED
Status
ON/OFF
I/O
I/O
I/O
V
DD
A/D
Single Quadruple-A Battery Input
V
IN
V
OUT
EN Load
Load Switch
P-MOS
I/O
PIC12F617
Installation and Operation
2010-2011 Microchip Technology Inc. DS51922B-page 13
2.2 GETTING STARTED
The MCP1640 Single Quadruple-A Battery Boost Converter Reference Design is fully
assembled and tested to evaluate and demonstrate the MCP1640 products.
2.2.1 Power Input and Output Connection
2.2.1.1 POWERING THE MCP1640 SINGLE QUADRUPLE-A BATTERY BOOST
CONVERTER REFERENCE DESIGN
The MCP1640 Single Quadruple-A Battery Boost Converter Reference Design is
equipped with an innovative Energizer Battery Holder, which protects against the
reverse insertion of the AAAA alkaline battery. If the battery is inserted correctly, the
board will start in Standby mode. To switch the output ON, press the button S1 for 2
seconds. The output is active for approximately 25 seconds. Pressing the button during
this period will turn OFF the output.
Extra connectors are placed on the top side of the board:
TP1 and TP5 for positive (VIN)
TP2 and TP4 for negative (GND)
These two connectors help engineers power the board from an external power supply.
In this case, the maximum input voltage should not exceed the 3.3V output
(VIN <V
OUT). The output voltage will not remain regulated for input voltages that are
greater than or equal to the output voltage.
The output connector is called “OUT”, and is referenced to GND. The maximum output
current is 130 mA when the board is powered by a quadruple-A alkaline battery, which
has a typical capacity of 600 mAh.
2.2.1.2 BOARD TESTING
To test the board, follow the next steps:
1. Insert the quadruple-A battery in its holder, paying attention to respect the
polarity.
2. Connect a voltmeter and a 47/0.5W resistor, between “OUT” and “–”
connectors, as shown in Figure 2-2.
3. Press and hold the push button for approximately 2 seconds. The LED should be
lit.
4. The LED will be ON for approximately 25 seconds. During this period, verify the
presence of 3.3V at “OUT”.
5. Press and hold the push button for 2 seconds to verify that power turns ON and
OFF.
The resistor R9 is not populated. The component pads are provided for experimental
use. The header J3 is also not populated. It can be used to re-program the
microcontroller.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 14 2010-2011 Microchip Technology Inc.
FIGURE 2-2: MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Setup Circuit.
2.2.2 How the MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design is working?
The board is powered from a quadruple-A battery which has 600 mAh typical capacity.
If the battery is inserted in the holder, the application will start running in Standby mode.
In this mode, the PIC12F617 works in Sleep Mode most of the time, consuming a few
µA from the battery. The MCP1640 consumes 0.75 µA typically in Shutdown mode.
When the MCP1640 is in Normal operating mode, the No Load Input Current is approx-
imately 70 µA at 1.5V input. To reduce the average input current of the board, the
MCP1640’s EN input is pulsed at a slow rate. Figure 2-3 shows that this current is
reduced up to 80%.
FIGURE 2-3: The Average Current Consumed from the Battery
in Standby Mode.
Voltmeter
AAAA Battery
+_
S1: Switch ON/OFF
3.3V OUT
47R/0.5W
3.3V OUT
10
15
20
25
30
0.8 1 1.2 1.4 1.6
Input Voltage (V)
Standby No Load Input
Current (µA)
Installation and Operation
2010-2011 Microchip Technology Inc. DS51922B-page 15
Periodically, the microcontroller will come out from Sleep mode for a short period of
time to search if its power supply (VDD), which comes from the MCP1640 VOUT pin,
reaches 2.3V threshold. This is accomplished by the internal analog comparator of the
microcontroller.
This compares a fraction of VOUT (from R4) with the 0.6V internal voltage reference.
To avoid losing power on the passive components and reduce the complexity of the
schematic, the application also uses the feedback network (R2-R3-R4) of the
MCP1640 as the input to the PIC MCU comparator.
The PIC12F617 microcontroller works down to 2.0V VDD. If a 2.3V threshold is
detected, the GP2 pin of the microcontroller will set the EN pin of the MCP1640 high
for a short time, to pump up the output capacitor to a 3.3V regulated voltage. After
that, EN is pulled down again and the MCP1640 enters into the True Output
Disconnect Shutdown option. VOUT is sustained by the output capacitor (C2) for
approximately 2 seconds until it reaches the 2.3V threshold.
FIGURE 2-4: Waveforms while MCP1640 is Shutdown (OUT is off).
Generally, the EN drive signal frequency depends on the MCP1640 devices’ output
capacitor value and the PIC12F617 MCUs Sleep current. The typical time to charge
the output capacitor to 3.3V is 750 ns, with a load less than 10 µA.
The EN signal is inverted using the transistor Q1 to ensure the start of the application
when a battery is inserted.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 16 2010-2011 Microchip Technology Inc.
By pressing the button S1, the GP1 microcontroller port switches the P-MOS
transistor ON (Q2), powering the load. The load is supplied for a fixed period of time
(approximately 25 seconds), unless the button is pressed.
FIGURE 2-5: Waveforms when Reference Board is Turned ON by pressing S1
Button.
The PIC12F617 measures the battery voltage when the switch load (Q2) is ON. If the
battery voltage is lower than 0.8V, the LED (D1) will flash. Battery voltage is measured
using the R7-C4 filter and the A/D channel present on pin 3 (GP4) of the
microcontroller.
2.2.3 Programming the PIC12F617 Microcontroller
For board evaluation, Microchip provides a firmware package, downloadable from
Microchip’s web site. The board is factory programmed for an active 10 seconds output,
after the button S1 is pressed. The green LED on the board flashes when a low battery
condition (less than 0.8V input) is detected, but the board will operate at the lowest
input voltage possible. All parameters may be changed in firmware to the desired value,
according to the output/input capability. The source code is rich in comments and helps
the user to define the board.
The HI-TECH C® compiler is used to compile the source code and create the hex files
for downloading to the reference board. The HI-TECH compiler is available for down-
load on Microchip’s web site. The compiler is not included with the evaluation board kit.
Header J3 can be used for in-system circuit programming. J3 is not populated on the
board. A five-pin header connector may be soldered in J3’s place. A PICkit™ 3
programmer may be connected to J3 to program the evaluation board.
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 17
Appendix A. Schematic and Layouts
A.1 INTRODUCTION
This appendix contains the following schematics and layouts for the MCP1640 Single
Quadruple-A Battery Boost Converter Reference Design:
Board – Schematic
Board – Top Silk And Pads
Board – Top Trace And Pads
Board – Bottom Silk Layer
Board – Bottom Trace, Pads And Silk
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 18 2010-2011 Microchip Technology Inc.
A.2 BOARD – SCHEMATIC
PIC12F617-MSOP8
MCP1640
Energizer AAAA Holder
BATT1
ICD2 INTERFACE
dnp
J3
OUT
GND
TP4
TP3
R8 100k
Q2
2
3
R2
1M3
R3
240k
4u7L1
U1
R1
1M
Q1C1
1
1
1
3
2
1
10uF
TP1
TP5
1
1
1
2
TP2
1
GND
21
1
1
VIN
1
6
5
4
1
2
3FB
VOUT
VINSW
GND
EN 1
1
1
2
3
4
5
U2
8
7
6
5
1
2
3
4
R7
1k
D1
R5
220K
1
3
S1
2
4
C3 C4 R6
330
1u 1u
R9
dnp
R4
510k
VDD VSS
GP0
GP1
GP2
GP5/OSC1
GP4/OSC2
GP3/MCLR
VPP 1
2
3
4
5
VOUT
PGD
PGC
PGD
C2
10uF
VOUT
PGC
/EN
PGD
VOUT
VBATT
VPP
VOUT
/EN
VBATT
Schematic and Layouts
2010-2011 Microchip Technology Inc. DS51922B-page 19
A.3 BOARD – TOP SILK AND PADS
A.4 BOARD – TOP TRACE AND PADS
A.5 BOARD – BOTTOM SILK LAYER
A.6 BOARD – BOTTOM TRACE, PADS AND SILK
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 20 2010-2011 Microchip Technology Inc.
NOTES:
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 21
Appendix B. Bill of Materials
TABLE B-1: BILL OF MATERIALS (BOM)
Qty Reference Description Manufacturer Part Number
1 AAAA
Battery
AAAA/E96 Alkaline Battery Energizer®E96BP-2
1 BATT1 AAAA Battery Holder Energizer -
2 C1, C2 CAP CER 10 µF 6.3V X7R 10% 0805 Taiyo Yuden®JMK212B7106KG-T
2 C3, C4 CAP CER 1.0 µF 10V X7R 0805 Taiyo Yuden LMK212B7105KG-T
1 D1 LED CHIPLED 570 nm GREEN 0603 SMD OSRAM Opto Semi-
conductors Inc
LG Q971-KN-1-0-20-R18
0 J3 DO NOT POPULATE
CONN HEADER 5POS .100 VERT TIN
Molex® Electronics 22-03-2051
1 L1 INDUCTOR POWER 4.7 µH Coilcraft EPL3015-472MLB
(XFL3012-472ME)
1 PCB RoHS Compliant Bare PCB,
MCP1640 Single Quadruple-A Battery
Boost Converter Reference Design
104-00318
1 Q1 MOSFET N-CH 60V 280 mA SOT-23 Fairchild
Semiconductor®
NDS7002A
1 Q2 MOSFET P-CH 20V 1A SSOT3 Fairchild
Semiconductor
NDS332P
1 R1 RES 1M OHM 1/10W 5% 0603 SMD Stackpole Electronics
Inc
RMCF0603JT1M00
1 R2 RESISTOR 1.30M OHM 1/10W 1% 0603 Panasonic® – ECG ERJ-3EKF1304V
1 R3 RES 240k OHM 1/10W .1% 0603 SMD Panasonic – ECG ERA-3AEB244V
1 R4 RES 510k OHM 1/10W 1% 0603 SMD Yageo RC0603FR-07510KL
1 R5 RES 220k OHM 1/10W 5% 0603 SMD Panasonic – ECG ERJ-3GEYJ224V
1 R6 RES 330 OHM 1/10W 5% 0603 SMD Stackpole Electronics,
Inc.
RMCF0603JT330R
1 R7 RES 1k OHM 1/10W 5% 0603 SMD Stackpole Electronics,
Inc.
RMCF0603JT1K00
1 R8 RES 100k OHM 1/10W 5% 0603 SMD Stackpole Electronics,
Inc.
RMCF0603JT100K
0 R9 DO NOT POPULATE
RES 1M OHM 1/10W 5% 0603 SMD
Stackpole Electronics,
Inc.
RMCF0603JT1M00
5 TP1 – TP5 PC TEST POINT TIN SMD Harwin S1751-46R
1 S1 SWITCH TACT 6 mm 260GF SMT E-Switch, Inc TL3301NF260QG
1 U1 MCP1640 Synchronous Boost Converter -
SOT23-6
Microchip
Technology Inc.
MCP1640T-I/CHY
1 U2 PIC12F617 IC MCU 8BIT 3.5KB FLASH
8MSOP
Microchip
Technology Inc.
PIC12F617T-I/MS
Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The
released BOM used in manufacturing uses all RoHS-compliant components.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 22 2010-2011 Microchip Technology Inc.
NOTES:
MCP1640 SINGLE QUADRUPLE-A
BATTERY BOOST CONVERTER
REFERENCE DESIGN
2010-2011 Microchip Technology Inc. DS51922B-page 23
Appendix C. MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design Firmware
C.1 DEVICE FIRMWARE
This chapter presents the MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design firmware flowchart.
For the latest copy of the MCP1640 Single Quadruple-A Battery Boost Converter
Reference Design firmware, visit our web site at www.microchip.com.
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 24 2010-2011 Microchip Technology Inc.
FIGURE C-1: Firmware Flowchart.
START
Initialize: Processor, Parameters
(BATT_Low = 0.8V), WDT,
Comparator, A/D
SLEEP ()
WDT?
LED=ON
&
Timer>0 ?
Decrement Timer
(10s)
Blink?
LED flashes
MCP1640 = OFF
Q2 = OFF
No Yes
No
LED State?
No
Yes
No
ADC Setup
Measure V_BATT
V_BATT<0.8V?
Blink
Comparator Enabled
VOUT<2.3V?
MCP1640 = ON
Delay 2 ms
MCP1640 = OFF
A
No No
Yes
Yes
B
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
2010-2011 Microchip Technology Inc. DS51922B-page 25
FIGURE C-2: Firmware Flowchart (Continuation).
A
Button S1?
LED State?
Yes
Yes
LED = OFF
Q2 = OFF
No LED = ON
MCP1640 = ON
Q2 = ON
Decrement Timer (10s)
B
No
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
DS51922B-page 26 2010-2011 Microchip Technology Inc.
NOTES:
2010-2011 Microchip Technology Inc. DS51922B-page 27
MCP1640 Single Quadruple-A Battery Boost Converter Reference Design
NOTES:
DS51922B-page 28 2010-2011 Microchip Technology Inc.
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://www.microchip.com/
support
Web Address:
www.microchip.com
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
ASIA/PACIFIC
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon
Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8569-7000
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
China - Chongqing
Tel: 86-23-8980-9588
Fax: 86-23-8980-9500
China - Hangzhou
Tel: 86-571-2819-3187
Fax: 86-571-2819-3189
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4123
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-5778-366
Fax: 886-3-5770-955
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-330-9305
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
EUROPE
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
Worldwide Sales and Service
08/02/11