Installation and Operation
© 2005 Microchip Technology Inc. DS51586A-page 9
2.3.2 Activating Application and Changing the LED Intensity
1. To activate the LEDs, press the push button momentary switch S1. The LEDs
turn on at full intensity level when the push button is pressed, changing intensity
when the push button is pressed again. There are 3 levels of 100%, 50% and
25% LED intensities (plus the “OFF” state). The input is fused for overcurrent
protection. The intensity of the LEDs are controlled via the SHDN input pin of
MCP1650. A pulse width modulated (PWM) signal is generated by the
PIC10F202 and routed to the SHDN pin of the MCP1650. The MCP1650 is
actually pulsed, and the duty cycle of the PWM waveform is varied depending on
the intensity required. The narrow pulses create a low intensity while wider
pulses create a high intensity.
2. The LEDs will be turned off, and the system will enter Sleep mode, when the
LEDs are at 25% intensity state and the push button is pressed. Subsequent
push button presses will cycle the LEDs as described in step1.
2.3.3 Evaluating the Application
The best way to evaluate the MCP1650 Multiple White LED Demo Board is to analyze
the circuit. Measure voltages and currents with a DVM and probe the board with an
oscilloscope.
The firmware program in the PIC10F202 can also be edited to modify the operation of
the application. For example, the subroutine written to generate the different pulse
widths can be changed to suit the needs of various applications with different
intensities.
Typical Example
Let’s consider a practical application for driving nine white LEDs with the MCP1650
using a three-cell Li-Ion input.
R
SENSE
is determined by the following equation:
2.3.4 Inductor Selection
Since a high boost ratio is needed, the boost regulator will operate in Discontinuous
Current mode. Therefore, the energy going into the inductor every switching cycle must
be greater than the energy needed to supply the load for that switching cycle. The con-
servative efficiency estimate of 80% was chosen to provide margin so that the boost
regulator will operate in Discontinuous Current mode.
Input voltage: 2.7V to 4.5V
Output voltage: 32.4V (9*V
F
)
Output current: 15 mA
Switching Frequency: 750 kHz
Duty Cycle: 80% for V
IN
< 3.8V
Duty Cycle: 56% for V
IN
> 3.8V
R
SENSE
V
FB
I
OUT
------------
=
P
OUT
V
OUT
I
OUT
×
=
P
OUT
32.4V 15mA
×
=
P
OUT
0.486 watts=
MCP1650 Multiple White LED Demo Board User’s Guide
DS51586A-page 10 © 2005 Microchip Technology Inc.
The equation for the energy flowing into the inductor is given below. The power in the inductor is
equal to the inductor energy times the switching frequency (F
SW
).
The peak inductor current is:
Using a standard inductor value of 4.7 µH, the power in the inductor is calculated.
There is a second operating point that needs to be addressed when V
IN is 3.8V and the
duty cycle is 56%.
For both operating points, the inductor power is close to the necessary maximum input
power, forcing the converter to operate in Continuous Current mode. Therefore, a
4.7 µH inductor is too large and the peak input current needs to be increased. A 3.3 µH
inductor is selected.
Now that the inductor energy is greater than the maximum required input energy, the
converter will operate in Discontinuous Current mode.
T
ON
=(1/F
SW
) * Duty Cycle
I
PK
(2.7V) = 0.612A
Energy (2.7V) = 0.880 µ-Joules
Power (2.7V) = 0.66W
T
ON
=(1/F
SW
) * Duty Cycle
I
PK
(3.8V) = 0.603A
Energy (3.8V) = 0.854 µ-Joules
Power (3.8V) = 0.640W
T
ON
=(1/F
SW
) * Duty Cycle
I
PK
(2.7V) = 0.872A
Energy (2.7V) = 1.256 µ-Joules
Power (2.8V) = 0.942W
I
PK
(3.8V) = 0.859A
Energy (3.8V) = 1.219 µ-Joules
Power (3.8V) = 0.914W
P
IN
P
OUT
Efficiency
------------------------
=
P
IN
0.486w
80%
-----------------
=
P
IN
0.608 watts=
Energy
1
2
---
LI
PK
2
××
=
Power Energy F
SW
×
=
I
PK
V
IN
L
--------
T
ON
×
=
Installation and Operation
© 2005 Microchip Technology Inc. DS51586A-page 11
When selecting the MOSFET, a low R
DSon
logic-level N-channel is recommended.
Since the input voltage ranges from 2.7V to 4.5V, the MOSFET must have a turn-on
voltage as low as 2.7V. Ideally, the MOSFET would have R
DSon
as low as possible and,
therefore, help increase the overall efficiency of the regulator. However, a lower R
DSon
typically results in higher gate charge, leading to slower transition times in the
MOSFET, thereby causing increased switching losses. The MOSFET’s drain-to-source
breakdown voltage must be rated to handle the boost output voltage plus margin. There
is a very limited selection for MOSFET's with a drain to source rating greater than 30V
with a gate-to-source voltage less than 5V. By using a 1:1 coupled inductor for the boost
converter, the MOSFET drain-to-source voltage rating is cut in half.
The boost diode requires very fast turn-on and turn-off characteristics because it
switches at the switching frequency of the converter. Schottky diodes are recom-
mended because they are capable of this switching characteristic and have a low
forward drop. As with the MOSFET, the Schottky diode must be rated to handle the
boost output voltage plus margin.
The input and output capacitor size depends on the respective voltages of the
converter. While low value parts are desired because of cost and size, they typically
result in higher ripple voltages. The capacitors should be chosen to provide an
appropriate ripple voltage for the intended application. Ceramic or low effective series
resistance (ESR) tantalum capacitors are appropriate for most applications.
2.3.5 Firmware
The PIC10F202 comes with preprogrammed firmware to operate the system as
described above. The firmware flow diagram is shown in Appendix C. “Demo Board
Firmware”.
There is an initialization routine at the beginning of the program. The program initially
checks for the key press and goes into Sleep mode if there is no key press. The device
will come out of Sleep mode on pin change. The OPTION register is configured to
wake-up on port pin change.
The GPIO port is configured to set GP0 (PWM to the MCP1650) as an output and GP3
(Push Button) as inputs. There are three different subroutines for the three different
intensities provided. Every time the key is pressed, the variable key buffer is incre-
mented to store the next value of the key and move to the respective subroutine in a
cyclic order.
The effect of key de-bounce is accomplished by providing a delay which checks for the
prerequisite time and recognizes only a valid key press. There is a key press check in
each of the subroutine which recognizes the key press and goes to the next subroutine
for a valid key press.
2.3.5.1 PROGRAMMING
Header J1 is provided for in circuit programming. This is an optional feature since the
demo board comes preprogrammed with firmware to operate the system. The
PIC10F202 can be reprogrammed with the Baseline Flash Microcontroller Programmer
(BFMP).

MCP1650DM-LED2

Mfr. #:
Manufacturer:
Microchip Technology
Description:
Power Management IC Development Tools MCP1650 Mult Wht LED Demo Brd
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet