Microchip Technology MCP1630 NiMH User Manual

Page 1
MCP1630 NiMH
Battery Charger Demo Board
User’s Guide
© 2006 Microchip Technology Inc. DS51505B
Page 2
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.
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, Accuron, dsPIC, K
EELOQ, microID, MPLAB, PIC, PICmicro,
PICSTART, PRO MATE, PowerSmart, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB, SEEVAL, SmartSensor 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, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active Thermistor, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, 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.
© 2006, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona, Gresham, Oregon and Mountain View, California. The Company’s quality system processes and procedures are for its PICmicro 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.
®
8-bit MCUs, KEELOQ
®
code hopping devices, Serial
DS51505B-page ii © 2006 Microchip Technology Inc.
Page 3
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. Product Overview ....................................................................................... 5
1.1 Introduction ..................................................................................................... 5
1.2 What is the MCP1630 NiMH Battery Charger Demo Board? ......................... 6
1.3 What the MCP1630 NiMH Battery Charger Demo Board Kit Includes ........... 6
Chapter 2. Installation and Operation ......................................................................... 7
2.1 Introduction ..................................................................................................... 7
2.2 Features ......................................................................................................... 7
2.3 Getting Started ............................................................................................... 8
Appendix A. Schematic and Layouts ........................................................................ 11
A.1 Introduction .................................................................................................. 11
A.2 Board Schematic - Page 1 ......................................................................... 12
A.3 Board Schematic - Page 2 ......................................................................... 13
A.4 Board - Top Layer ...................................................................................... 14
A.5 Board - Bottom Layer ................................................................................. 15
A.6 Board - Mid-Layer 1 ................................................................................... 16
A.7 Board - Mid-Layer 2 ................................................................................... 17
Appendix B. Bill Of Materials (BOM) ......................................................................... 19
Appendix C. Evaluation Board Firmware .................................................................. 21
C.1 Device Firmware .......................................................................................... 21
Worldwide Sales and Service .................................................................................... 24
© 2006 Microchip Technology Inc. DS51505B-page iii
Page 4
MCP1630 NiMH Battery Charger Demo Board User’s Guide
NOTES:
DS51505B-page iv © 2006 Microchip Technology Inc.
Page 5
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
Preface
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 Select the Help menu, and then Topics to open a list of available on-line help files.
®
IDE on-line help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the MCP1630 NiMH Battery Charger Demo Board. 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 MCP1630 NiMH Battery Charger Demo Board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP1630
NiMH Battery Charger Demo Board.
Chapter 2. “Installation and Operation” – This chapter includes instructions on
how to get started, as well as a description of the MCP1630 NiMH Battery Charger Demo Board.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams for the MCP1630 NiMH Battery Charger Demo Board.
Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the
MCP1630 NiMH Battery Charger Demo Board.
Appendix C. “Evaluation Board Firmware” – Provides information about the
application firmware and where the source code can be found.
© 2006 Microchip Technology Inc. DS51505B-page 1
Page 6
MCP1630 NiMH Battery Charger Demo Board User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB
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
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options] errorlevel {0|1}
var_name...] void main (void)
{ ... }
®
IDE User’s Guide
RECOMMENDED READING
This user's guide describes how to use the MCP1630 NiMH Battery Charger Demo Board. The following Microchip documents are available and recommended as supplemental reference resources.
MCP1630 Data Sheet, “High-Speed, Microcontroller-Adaptable, Pulse Width Modulator” (DS21896)
This data sheet provides detailed information regarding the MCP1630 product family.
DS51505B-page 2 © 2006 Microchip Technology Inc.
Page 7
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
• Development Systems Information Line
Customers should contact their distributor, representative or field application engineer 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
Preface
DOCUMENT REVISION HISTORY
Revision B (March 2006)
• Updated Bill of Materials (BOM) to show RoHS-compliant part numbers.
Revision A (September 2004)
• Initial Release of this Document.
© 2006 Microchip Technology Inc. DS51505B-page 3
Page 8
MCP1630 NiMH Battery Charger Demo Board User’s Guide
NOTES:
DS51505B-page 4 © 2006 Microchip Technology Inc.
Page 9

Chapter 1. Product Overview

1.1 INTRODUCTION

The MCP1630 NiMH Battery Charger Demo Board is used to evaluate the Microchip MCP1630 used in a SEPIC power-converter application. The evaluation board is a complete stand-alone 4-cell NiMH battery charger that utilizes an 8V to 15V input capable of charging 4 NiMH batteries in series.
MCP1630 NiMH Battery Charger and Fuel Gauge Application Diagram
+8V to +15V Input Voltage
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
C
C
SEPIC Converter
+V
BATT
4 NiMH Cells
Linear
Regulator
+V
BATT
+5V Bias
MCP1700
I2C™ Interface To System
3.0V
SOT-23
MCP1630
V
IN
COMP
V
FB
OSC IN
V
GND
REF
+5V Bias
PIC16LF818
PWM OUT
V
DD
I/O
A/D
C
EXT
CS
I
SW
Cout
I
BATT
3V
0V
V
DD
+
V
DD
+
IN
1:1
N-Channel MOSFET
+
A/D
1/2 MCP6042
A/D
1/2 MCP6042
TC1047A

FIGURE 1-1: NiMH Charger Block Diagram.

© 2006 Microchip Technology Inc. DS51505B-page 5
Page 10
MCP1630 NiMH Battery Charger Demo Board User’s Guide

1.2 WHAT IS THE MCP1630 NIMH BATTERY CHARGER DEMO BOARD?

The MCP1630 NiMH Battery Charger Demo Board is a complete stand-alone constant current battery charger and simple fuel gauge for four NiMH series batteries. This board utilizes Microchip’s MCP1630 (high-speed PIC MCP1700T (LDO Regulator SOT-23), MCP6042T (Op Amp MSOP-8), PIC16LF818 (MCU Flash SSOP-20), TC54 (Voltage Detector SOT-23A) and TC1047A (Temp-Volt Converter SOT-23B). The input voltage range for the demo board is 8V to 15V. The output is capable of charging four NiMH batteries with up to 1.6V per cell at a fast charge rate of 500 mA contant current.
Input terminals are provided to apply an intput voltage to the charger. Output terminals are also provided as a way to connect the external NiMH batteries or a simulated battery load.
1.3 WHAT THE MCP1630 NIMH BATTERY CHARGER DEMO BOARD KIT
INCLUDES
This MCP1630 NiMH Battery Charger Demo Board Kit includes:
• The MCP1630 NiMH Battery Charger Demo Board
• MCP1630 NiMH Battery Charger Demo Board User’s Guide (DS51505)
• MCP1630 Data Sheet, “High-Speed, Microcontroller-Adaptable, Pulse Width Modulator” (DS21896)
®
MCU PWM MSOP-8),
DS51505B-page 6 © 2006 Microchip Technology Inc.
Page 11

Chapter 2. Installation and Operation

2.1 INTRODUCTION

The MCP1630 NiMH Battery Charger Demo Board demonstrates Microchip’s MCP1630 high-speed Pulse Width Modulator (PWM) used in a smart battery charger application. The MCP1630 is a high-speed, microcontroller-adaptable PWM that, when used in conjunction with a microcontroller, will control the power system duty cycle to provide output voltage or current regulation. The PIC16LF818 microcontroller can be used to regulate output voltage or current, switching frequency and maximum duty cycle. The MCP1630 generates pulse-by-pulse duty cycle, provides fast overcurrent protection and utilizes variable external inputs. External signals include the input oscillator and the reference voltage. The power train signals include the current sense and the feedback voltage; the output signal is a square-wave pulse. The power train used for the MCP1630 NiMH Battery Charger Demo Board is a Single-Ended Primary Inductive Converter (SEPIC).

2.2 FEATURES

MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
The MCP1630 NiMH Battery Charger Demo Board has the following features:
• Programmed charge currents:
- Fast Charge = 500 mA
- Trickle Charge = 50 mA
- Top-Off Charge = 25 mA
• Overvoltage protection (battery removed)
• Overcharge protection to prevent the battery from becoming dangerously overcharged
• Overdischarge protection to prevent the battery from being damaged
• Overcurrent protection in the event of a shorted battery
• Battery reversal protection
• Input short circuit protection
• Fast charge termination if the battery or ambient temperature is too high
• Soft-start capability by holding the reference voltage low during power-up
• The MCP1630 NiMH Battery Charger Demo Board terminates charge by detect­ing a predefined change in voltage with respect to time, a specified temperature or specified elapsed time
• A simple fuel gauge that has a dual MCP6042 amplifier, a 1-channel sense voltage and a 1-channel sense current
• The MCP1630 NiMH Battery Charger Demo Board has the flexibility to optimize the charging algorithm for new battery technology and add proprietary features by coding the microcontroller
• Ability to adapt to environmental effects, such as ambient temperature
• Uses a very low standby current of 29 μA
© 2006 Microchip Technology Inc. DS51505B-page 7
Page 12
MCP1630 NiMH Battery Charger Demo Board User’s Guide

2.3 GETTING STARTED

The MCP1630 NiMH Battery Charger Demo Board is fully assembled and tested for charging four 1,000 mA/hour NiMH batteries in series from 3.2V to 6V in accordance with the recommended charge profile for NiMH batteries. This board requires the use of an external input voltage source (+8V to +15V) and external load (battery or simu­lated battery load). It is recommended that four NiMH cells connected in series to act as a load or the recommended simulated load be used.
2.3.1 Power Input and Output Connections
2.3.1.1 POWERING THE MCP1630 NiMH BATTERY CHARGER DEMO BOARD.
1. Apply the input voltage to the surface mount test points provided. The input voltage source should be limited to the 0V to +15V range. For normal operation, the input voltage should be between +8V and +15V. However, the input voltage must not exceed +15V maximum. The source current necessary to regulate the output voltage to 6.4V at 500 mA should be a minimum of approximately 800 mA.
2. Connect the positive side of the input source (+) to test point TP2. Connect the negative (or return side) (–) of the input source to the GND test point TP3. TP2 is located just above TP3 in the upper-left corner of the board.
2.3.1.2 APPLYING THE LOAD TO THE MCP1630 NiMH BATTERY CHARGER
DEMO BOARD.
1. To apply a load to the MCP1630 NiMH Battery Charger Demo Board, the positive side of the load (+) should be connected to test point TP1. The negative side of the load (–) should be connected to test point TP4. Care should be taken when using electronic or ground-referenced loads, and never connect TP4 to ground. The battery current sense is referenced in the return leg, so connecting TP4 to ground will short out the current sense. The typical charge current is 50 mA while the battery is in the Trickle Charge mode or the battery voltage is below 0.8V/cell. The current is typically 500 mA when the battery is in the Fast Charge mode and typically 25 mA when the battery is in the Top-off Charge mode. The charge current is automatically regulated by the MCP1630.
2. The code will prevent the board from entering the 500 mA Fast Charge mode if the battery terminal voltage is less than 3.2V (0.8V / Cell). During power up, the board will always trickle charge first, so using a purely resistive load will not work for trickle and fast charge currents. The best way to evaluate the charger is to use four series NiMH batteries or the recommended simulated battery load.
TP1
+
Charger
+
1,000 μF
10V Al
10Ω
5 Watt
+
4V Lab Supply
TP4

FIGURE 2-1: Simulated Battery Load.

DS51505B-page 8 © 2006 Microchip Technology Inc.
Page 13
2.3.1.3 STATUS LEDS
Installation and Operation
The MCP1630 NiMH Battery Charger Demo Board has two LEDs. D
is a red LED that
1
is used to indicate when input power is available. When the +12V input is connected, D
will be illuminated. The other LED (D9) has two LEDs built into a SOT-23 package.
1
These can be off, red, green or both on (amber). To conserve energy, D
is never
9
illuminated when there is no input power. If both LEDs are off, that is an indication there is no power supplied to the board input.
Under normal power-up conditions, the charger will begin with a 50 mA trickle charge. The microcontroller will then check the status of the batteries to ensure that they are present, their temperature is within range and the series voltage is within specified charging limits. For visual LED charge status, a dual-color SOT-23 LED is used (D
-D
Status Indication Normal Charge Modes:
9
Normal Charge Mode
Board Status
Initial Trickle Charge (50 mA) ON (Solid) OFF
Fast Charge (500 mA) ON (Solid) ON (Solid)
Final Trickle Charge (50 mA) OFF ON (Solid)
Top Off Charge (25 mA) OFF ON (Solid)
Charge Complete (0 mA) OFF ON (Blinking, 1 sec)
Initial Trickle Charge (50 mA) ON (Solid) OFF
Status Indication for Fault Modes:
-D
9
Fault Mode Board Status Red LED Green LED
Overvoltage Initial (Restart Initiated)
Overvoltage (Persistent, Latched-off after 9 attempts)
Overcurrent ON Blinking OFF
Red LED Green LED
ON (Blinking) OFF
ON (Blinking Faster) OFF
).
9
With no input connected and 4 NiMH batteries used as a load, the MCP1630 NiMH Battery Charger Demo Board will consume approximately 29 μA from the battery.
A temperature sensor is provided for charge termination. The sensor (U2) is located on the back of the printed circuit board. To utilize this feature, batteries should be in physical contact with the temperature sensor.
Programming:
- J1 can be used as a Flash programming port to modify the code for proto­type applications. The pinout of J1 matches the required pinout for the MPLAB
© 2006 Microchip Technology Inc. DS51505B-page 9
®
ICD 2 programmer.
Page 14
MCP1630 NiMH Battery Charger Demo Board User’s Guide
NOTES:
DS51505B-page 10 © 2006 Microchip Technology Inc.
Page 15

Appendix A. Schematic and Layouts

A.1 INTRODUCTION

This appendix contains the schematics and layouts for the MCP1630 NiMH Battery Charger Demo Board. The diagrams included in this appendix include:
• Board Schematic
• Board - Top Layer
• Board - Bottom Layer
• Board - Mid-Layer 1
• Board - Mid-Layer 2
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
© 2006 Microchip Technology Inc. DS51505B-page 11
Page 16
MCP1630 NiMH Battery Charger Demo Board User’s Guide
A.2 BOARD SCHEMATIC - PAGE 1
(BACK)
(BACK)
DS51505B-page 12 © 2006 Microchip Technology Inc.
Page 17
A.3 BOARD SCHEMATIC - PAGE 2
D
S
G
Schematic and Layouts
(BACK)
(BACK)
(BACK)
1
3
2
(BACK)
(BACK)
(BACK)
(BACK)
© 2006 Microchip Technology Inc. DS51505B-page 13
Page 18
MCP1630 NiMH Battery Charger Demo Board User’s Guide
A.4 BOARD - TOP LAYER
TOP LAYER
DS51505B-page 14 © 2006 Microchip Technology Inc.
Page 19
A.5 BOARD - BOTTOM LAYER
Schematic and Layouts
© 2006 Microchip Technology Inc. DS51505B-page 15
Page 20
MCP1630 NiMH Battery Charger Demo Board User’s Guide
A.6 BOARD - MID-LAYER 1
DS51505B-page 16 © 2006 Microchip Technology Inc.
Page 21
A.7 BOARD - MID-LAYER 2
Schematic and Layouts
MID2
© 2006 Microchip Technology Inc. DS51505B-page 17
Page 22
MCP1630 NiMH Battery Charger Demo Board User’s Guide
NOTES:
DS51505B-page 18 © 2006 Microchip Technology Inc.
Page 23
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE

Appendix B. Bill Of Materials (BOM)

TABLE B-1: BILL OF MATERIALS (BOM)
Qty Reference Description Manufacturer Part Number
6 C1, C2, C4,
C10, C13, C22
8 C3, C5, C6,
C7, C14, C15, C17, C24
2 C8, C9 CAP CERAMIC 4.7UF 16V X5R 0805 Panasonic® - ECG ECJ-2FB1C475K
1 C11 CAP CERAMIC 470PF 50V NP0 0603 Panasonic - ECG ECJ-1VC1H471J
3 C12, C19, C20 CAP CER 1.0UF 10V 10% X5R 0603 Murata Electronics
2 C16,C21 CAP CERAMIC 22PF 50V NP0 0603 Kemet Electronics C0603C220J5GACTU
1 C18 CAP 10000PF 50V CERAMIC X7R 0603 Kemet Electronics C0603C103K5RACTU
1 C23 CAP CERAMIC 1UF 25V X5R 0805 Panasonic - ECG ECJ-2FB1E105K
1 D1 LED 660NM SUPER RED DIFF 0603SMD Lumex
1 D4 DIODE SWITCH 75V 200MW SOT-323 Diodes Inc. BAS16W-7
1 D5 DIODE SCHOTTKY 25V 1.0A MINI-2P Panasonic - SSG MA2YD2300L
2D6, D8 “Do Not Populate” SOT-323
1 D7 DIODE SWITCH DUAL CC 50V SOT-23 ON Semiconductor
1 D9 LED DUAL RED/GREEN CLEAR SOT-23 Lumex Opto/
1 J1 CONN MOD JACK 6-6 R/A PCB 50AU AMP
1 J2 CONN HEADER VERT 3POS .100 TIN AMP/Tyco Electronics 640454-3
1 J3 CONN HEADER VERT 2POS .100 TIN AMP/Tyco Electronics 640454-2
1 Q1 HEX/MOS N-CH 20V 4.2A SOT-23 International Rectifier IRLML2502TR
1 Q3 MOSFET N-CH 30V 1.7A 3-SSOT Fairchild
2 R1, R2 RES 200 OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2000V
9 R3, R5, R6
R7, R8, R9 R10, R11, R12
1 R4 RES 2.49K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2491V
5 R13, R14, R29,
R30, R37
1 R15 RES 20K OHM 1/16W .1% 0603 SMD Panasonic - ECG ERA-3YEB203V
1 R16 RES ZERO OHM 1/10W 5% 0603 SMD Panasonic - ECG ERJ-3GEY0R00V
2 R17, R34 RES 301K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF3013V
3 R18, R35, R36 RES 30.1K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF3012V
3 R19, R20, R27 RES 1.00K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF1001V
1 R21 RES .39 OHM 1/4W 1% 1206 SMD Panasonic - ECG ERJ-8RQFR39V
“Do Not Populate” DNP0603
CAP .10UF 10V CERAMIC X7R 0603 Kemet® Electronics C0603C104K8RACTU
®
GRM188R61A105KA61
North America
®
Opto/
Components Inc.
Components Inc.
®
/Tyco®
Electronics
Semiconductor
RES 47.5K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF4752V
“Do Not Populate” 0603 - -
®
D
SML-LX0603SRW-TR
®
BAV74LT1
SML-LX15IGC-RP-TR
5520470-3
NDS355AN
© 2006 Microchip Technology Inc. DS51505B-page 19
Page 24
MCP1630 NiMH Battery Charger Demo Board User’s Guide
TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED)
Qty Reference Description Manufacturer Part Number
1 R22 RES .15 OHM 1/8W 5% 0805 SMD Panasonic - ECG ERJ-6RSJR15V
1 R23 RES 4.3K OHM 1/16W .5% 0603 SMD Susumu Co Ltd RR0816P-432-D
1 R24 RES 243K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2433V
1 R25 RES 150K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF1503V
1 R26 RES 16.0K OHM 1/16W .5% 0603 SMD Susumu Co Ltd RR0816P-163-D
1 R28 RES 10.0K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF1002V
1 R31 RES 107K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF1073V
2 R32, R33 RES 61.9K OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF6192V
1 R38 RES 249 OHM 1/16W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2490V
3 S1, S2, S3 SWITCH TACT 6MM 260GF SMT E-Switch, Inc. TL3301NF260QG
1 T1 8th-PAK SMT Dual Inductor BH Electronics
4 TP1, TP2, TP3,
TP4
1 U1 IC MCU FLASH 1KX14 EEPROM
1 U2 IC TEMP-VOLT CONV PREC SOT-23B Microchip Technology,
1 U3 High-Speed PIC PWM MSOP8 Microchip Technology,
1 U4 IC OPAMP 1UA 1.4V DUAL R-R 8MSOP Microchip Technology,
1 U5 IC VREG MINI 5V 50MA SOT-23 Zetex Inc. ZMR500FTA
1 U6 IC COMPARATOR R-R OUT SC-70-5 National
1 U7 IC LDO REG 250MA 3.0V SOT-23 Microchip Technology,
1 U8 IC VOLT DETECTOR 2.9V SOT23A Microchip Technology,
PC TEST POINT COMPACT SMT Keystone Electronics®5016
Microchip Technology,
20-SSOP
Inc.
Inc.
Inc.
Inc.
Semiconductor
Inc.
Inc.
®
®
L11-1016
PIC16LF818-I/SS
TC1047AVNBTR
MCP1630-E/MS
MCP6042T-I/MS
LMV7219M7
MCP1700T-3002E/TT
TC54VC2902ECB713
DS51505B-page 20 © 2006 Microchip Technology Inc.
Page 25

Appendix C. Evaluation Board Firmware

C.1 DEVICE FIRMWARE

For the latest version of the MCP1630 NiMH Battery Charger Demo Board User’s Guide firmware, visit the Microchip web site at www.microchip.com.
Power-Up
Initialize:
Ports, Clocks, A/D,
PWM, IIC, and
Interrupts
Is Input
Present?
Trickle Charge:
Turn-on RED LED,
Start PWM, Soft-start
C/20 Rate
MCP1630 NiMH BATTERY CHARGER
DEMO BOARD USER’S GUIDE
Yes
Yes
No
Is Battery
> 3.2V ?
No
Sleep Mode
No Yes
Is Input
Present?
No
Fast Charge:
Turn-on GREEN
LED, C/2 Rate
No
Is Input
Present?
Yes
Is Battery
> 3.2V ?
Yes Yes
In Over-
voltage?
No
Is Input
Present?
Yes
In Over-
voltage?
No No
Full
Charge?
Yes
No
Yes
Yes
No
Timer
Expired?
No
Timer
Expired?
Yes
Hiccup Restart:
Stop PWM
Persistent?
Yes
No
BA D EC

FIGURE C-1: Firmware Flowcharge - Page 1.

© 2006 Microchip Technology Inc. DS51505B-page 21
Page 26
Evaluation Board Firmware
A B
Top-off Charge:
Turn-off RED LED,
C/20 Rate Followed
BSy C/40 Rate
No
Is Input
Present?
In Over-
voltage?
Recharge?
Timer
Expired?
Charge Complete:
Flash GREEN LED,
C/40 Rate
Yes
No
No
Yes
C ED
Yes
Yes
Yes
No
Fault:
Flash RED LED
Is Input
Present?
No
No
Is Input
Present?
Yes
Recharge?
No
Timer
Expired?
Yes
Yes
No

FIGURE C-2: Firmware Flowchart - Page 2.

© 2006 Microchip Technology Inc. DS51505B-page 22
Page 27
NOTES:
Evaluation Board Firmware
© 2006 Microchip Technology Inc. DS51505B-page 23
Page 28

WORLDWIDE SALES AND SERVICE

AMERICAS
Corporate Office
2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.com
Atlanta
Alpharetta, GA Tel: 770-640-0034 Fax: 770-640-0307
Boston
Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088
Chicago
Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075
Dallas
Addison, TX Tel: 972-818-7423 Fax: 972-818-2924
Detroit
Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260
Kokomo
Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387
Los Angeles
Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608
San Jose
Mountain View, CA Tel: 650-215-1444 Fax: 650-961-0286
Toronto
Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFIC
Australia - Sydney
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8528-2100 Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8676-6200 Fax: 86-28-8676-6599
China - Fuzhou
Tel: 86-591-8750-3506 Fax: 86-591-8750-3521
China - Hong Kong SAR
Tel: 852-2401-1200 Fax: 852-2401-3431
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 - Shunde
Tel: 86-757-2839-5507 Fax: 86-757-2839-5571
China - Wuhan
Tel: 86-27-5980-5300 Fax: 86-27-5980-5118
China - Xian
Tel: 86-29-8833-7250 Fax: 86-29-8833-7256
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-4182-8400 Fax: 91-80-4182-8422
India - New Delhi
Tel: 91-11-5160-8631 Fax: 91-11-5160-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 - Gumi
Tel: 82-54-473-4301 Fax: 82-54-473-4302
Korea - Seoul
Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934
Malaysia - Penang
Tel: 60-4-646-8870 Fax: 60-4-646-5086
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-572-9526 Fax: 886-3-572-6459
Taiwan - Kaohsiung
Tel: 886-7-536-4818 Fax: 886-7-536-4803
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-399 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
02/16/06
DS51505B-page 24 © 2006 Microchip Technology Inc.
Page 29
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Microchip: MCP1630DM-NMC1
Loading...